2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-25 01:11:10 +08:00

profile.c (brnahc_prob): Pass correct value to output_location, even when USE_MAPPED_LOCATION.

* profile.c (brnahc_prob):  Pass correct value to output_location,
	even when USE_MAPPED_LOCATION.  Fixes bug from 09-11.

From-SVN: r88271
This commit is contained in:
Per Bothner 2004-09-28 23:42:31 -07:00 committed by Per Bothner
parent 550f100c57
commit 50fd1c970f
2 changed files with 6 additions and 1 deletions

@ -1,3 +1,8 @@
2004-09-28 Per Bothner <per@bothner.com>
* profile.c (brnahc_prob): Pass correct value to output_location,
even when USE_MAPPED_LOCATION. Fixes bug from 09-11.
2004-09-28 Richard Henderson <rth@redhat.com>
PR 15089

@ -1004,7 +1004,7 @@ branch_prob (void)
{
expanded_location s;
NOTE_EXPANDED_LOCATION (s, insn);
output_location (s.file, NOTE_LINE_NUMBER (insn), &offset, bb);
output_location (s.file, s.line, &offset, bb);
}
}
insn = NEXT_INSN (insn);