diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-02-21 23:27:01 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-02-21 23:27:01 +0000 |
commit | 47ee9bcb614d58ea60d228bb11563d7df4d279ec (patch) | |
tree | ab68a041c8b2cd79695b0babfdcf3e374beeb39a /gcc/defaults.h | |
parent | 24c3bf687d847ec0fadeae8157e01eb09453d94d (diff) | |
download | gcc-47ee9bcb614d58ea60d228bb11563d7df4d279ec.zip gcc-47ee9bcb614d58ea60d228bb11563d7df4d279ec.tar.gz gcc-47ee9bcb614d58ea60d228bb11563d7df4d279ec.tar.bz2 |
defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
* defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
* flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
(life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
* haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
* integrate.c (compare_blocks, find_block): Likewise.
* rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
* rtl.h (set_file_and_line_for_stmt): Constify a char*.
* stmt.c (stmt_status, set_file_and_line_for_stmt,
expand_asm_operands): Likewise.
From-SVN: r32094
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r-- | gcc/defaults.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h index 0018bc1..e421e12 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -66,11 +66,11 @@ do { ASM_OUTPUT_LABEL(FILE,LABEL_ALTERNATE_NAME (INSN)); } while (0) #define ASM_OUTPUT_ASCII(MYFILE, MYSTRING, MYLENGTH) \ do { \ FILE *_hide_asm_out_file = (MYFILE); \ - unsigned char *_hide_p = (unsigned char *) (MYSTRING); \ + const unsigned char *_hide_p = (const unsigned char *) (MYSTRING); \ int _hide_thissize = (MYLENGTH); \ { \ FILE *asm_out_file = _hide_asm_out_file; \ - unsigned char *p = _hide_p; \ + const unsigned char *p = _hide_p; \ int thissize = _hide_thissize; \ int i; \ fprintf (asm_out_file, "\t.ascii \""); \ |