From 9dda4cc8996f28d5abc0c092de8b74883b9a85e6 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sun, 21 Apr 2002 05:04:01 +0000 Subject: [PATCH] rs6000.c (output_profile_hook): Do not increment labelno. * config/rs6000/rs6000.c (output_profile_hook): Do not increment labelno. From-SVN: r52565 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.c | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index db26e25224a..db431d1c6df 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-04-21 David Edelsohn + + * config/rs6000/rs6000.c (output_profile_hook): Do not increment + labelno. + 2002-04-20 Joseph S. Myers * doc/invoke.texi: Remove Chill references. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index bb16748cbe3..ea2cebdba11 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -9033,7 +9033,7 @@ rs6000_output_function_prologue (file, size) if (! HAVE_prologue) { start_sequence (); - + /* A NOTE_INSN_DELETED is supposed to be at the start and end of the "toplevel" insn chain. */ emit_note (0, NOTE_INSN_DELETED); @@ -9050,7 +9050,7 @@ rs6000_output_function_prologue (file, size) addr += 4; } } - + if (TARGET_DEBUG_STACK) debug_rtx_list (get_insns (), 100); final (get_insns (), file, FALSE, FALSE); @@ -10456,8 +10456,6 @@ output_profile_hook (labelno) const char *label_name; rtx fun; - labelno += 1; - ASM_GENERATE_INTERNAL_LABEL (buf, "LP", labelno); STRIP_NAME_ENCODING (label_name, ggc_strdup (buf)); fun = gen_rtx_SYMBOL_REF (Pmode, label_name); -- 2.30.2