]> gcc.gnu.org Git - gcc.git/commitdiff
profile.c (brnahc_prob): Pass correct value to output_location, even when USE_MAPPED_...
authorPer Bothner <per@bothner.com>
Wed, 29 Sep 2004 06:42:31 +0000 (23:42 -0700)
committerPer Bothner <bothner@gcc.gnu.org>
Wed, 29 Sep 2004 06:42:31 +0000 (23:42 -0700)
* profile.c (brnahc_prob):  Pass correct value to output_location,
even when USE_MAPPED_LOCATION.  Fixes bug from 09-11.

From-SVN: r88271

gcc/ChangeLog
gcc/profile.c

index 8b803fa8596c2fe642c7c5f404e092af11da5b68..d335cf41b3ec715a947dbe2a0e00ff87d541927f 100644 (file)
@@ -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
index 2bad285e1d96ce1b8947022b35b27cc7a811fea9..ff85544e595d5845827b3e97ece809250911e5dd 100644 (file)
@@ -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);
This page took 0.072916 seconds and 5 git commands to generate.