patch to fix mips.h debug mask conflict

Chris G. Demetriou cgd@netbsd.org
Tue Apr 4 12:40:00 GMT 2000


After discussion on gcc-bugs with Gavin Romig-Koch, i'm submitting
this patch to gcc

in config/mips/mips.h, MASK_DEBUG_C conflicts with
MASK_UNINIT_CONST_IN_RODATA.  Gavin thinks the right solution for now
is to just zero all of the debug masks.

I don't currently have a copyright assignment on file, but this is a
truly trivial change, so i hope that's not a problem.  8-)


2000-04-04  Chris Demetriou  <cgd@netbsd.org>

	* config/mips/mips.h (MASK_DEBUG_A, MASK_DEBUG_B,
	MASK_DEBUG_C): Zero the remaining non-zero debugging masks.

--- config/mips/mips.h.ORIG	Wed Mar 29 05:10:43 2000
+++ config/mips/mips.h	Tue Apr  4 12:29:37 2000
@@ -217,9 +217,9 @@ extern void		sbss_section PARAMS ((void)
 
 					/* Debug switches, not documented */
 #define MASK_DEBUG	0		/* Eliminate version # in .s file */
-#define MASK_DEBUG_A	0x40000000	/* don't allow <label>($reg) addrs */
-#define MASK_DEBUG_B	0x20000000	/* GO_IF_LEGITIMATE_ADDRESS debug */
-#define MASK_DEBUG_C	0x10000000	/* don't expand seq, etc. */
+#define MASK_DEBUG_A	0		/* don't allow <label>($reg) addrs */
+#define MASK_DEBUG_B	0		/* GO_IF_LEGITIMATE_ADDRESS debug */
+#define MASK_DEBUG_C	0		/* don't expand seq, etc. */
 #define MASK_DEBUG_D	0		/* don't do define_split's */
 #define MASK_DEBUG_E	0		/* function_arg debug */
 #define MASK_DEBUG_F	0

-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.


More information about the Gcc-patches mailing list