summaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-20 19:45:36 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-20 19:45:36 +0000
commit2508fdc33743c8d605ee567495772a9bd44d6637 (patch)
tree7ccfa0379a3a0d2a4e7803089ea3f13593b309bc /gcc/print-rtl.c
parent2c59c6d34132b3edd0ed7aa4ced9e71952f94681 (diff)
downloadgcc-2508fdc33743c8d605ee567495772a9bd44d6637.tar.gz
top level:
* diagnostic.c: Eliminate implicit int. * except.c, gcc.c: Add static prototypes. * final.c (final_end_function): Mark file arg ATTRIBUTE_UNUSED. * gensupport.c (process_rtx): Use XVEC to initialize vector slot of 'split'. * print-rtl.c: If DEBUG_REGISTER_NAMES, define static debug_reg_names instead of static reg_names. If not, define global reg_names. * regclass.c: Don't define global reg_names unless DEBUG_REGISTER_NAMES is defined. * reload1.c (order_regs_for_reload): Remove unused variable. * varasm.c: Include output.h after defaults.h. Define eh_frame_section as function of no args, not of unspecified args. * gcc.c: Constify argbuf; arguments to store_arg, process_command, main; elements of struct command and struct switchstr; local variables in execute, process_command, main. cp: * except.c: Add static prototypes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34054 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index 544e5440856..e52a41065bb 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -39,9 +39,10 @@ Boston, MA 02111-1307, USA. */
/* Array containing all of the register names */
#ifdef DEBUG_REGISTER_NAMES
-static const char * const reg_names[] = DEBUG_REGISTER_NAMES;
+static const char * const debug_reg_names[] = DEBUG_REGISTER_NAMES;
+#define reg_names debug_reg_names
#else
-static const char * const reg_names[] = REGISTER_NAMES;
+const char * const reg_names[] = REGISTER_NAMES;
#endif
static FILE *outfile;