diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-29 06:42:31 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-29 06:42:31 +0000 |
commit | eeb1250755631311fde1c9c77a14c23e2b8dbc73 (patch) | |
tree | 96fb74aaefca16431f1fb6ad3c3ffb97ed225148 /gcc | |
parent | f2fffff3b77359770f197d29ccbeb5bce04e1cb2 (diff) | |
download | gcc-eeb1250755631311fde1c9c77a14c23e2b8dbc73.tar.gz |
* profile.c (brnahc_prob): Pass correct value to output_location,
even when USE_MAPPED_LOCATION. Fixes bug from 09-11.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88271 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/profile.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b803fa8596..d335cf41b3e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/profile.c b/gcc/profile.c index 2bad285e1d9..ff85544e595 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -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); |