diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/pa/pa.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a121af0..9c03b7a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca> + + * pa.c: Move output.h include after tree.h include. + (pa_asm_output_mi_thunk): Constify identifier lab. + 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com> * config/ns32k/ns32k.h: Define named constants for the diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 449c278..e493d6f 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -28,10 +28,10 @@ Boston, MA 02111-1307, USA. */ #include "real.h" #include "insn-config.h" #include "conditions.h" -#include "output.h" #include "insn-attr.h" #include "flags.h" #include "tree.h" +#include "output.h" #include "except.h" #include "expr.h" #include "optabs.h" @@ -6509,7 +6509,7 @@ pa_asm_output_mi_thunk (file, thunk_fndecl, delta, function) const char *target_name = XSTR (XEXP (DECL_RTL (function), 0), 0); static unsigned int current_thunk_number; char label[16]; - char *lab; + const char *lab; ASM_GENERATE_INTERNAL_LABEL (label, "LTHN", current_thunk_number); lab = (*targetm.strip_name_encoding) (label); target_name = (*targetm.strip_name_encoding) (target_name); |
