This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] RFA MIPS pr 14198


I am getting a testsuite failure on gcc.dg/cpp/assert4.c when configured for mipsel-linux as the target.

As described at: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14198

The patch is quite simple and seems (almost) risk free.

I am currently running the testsuite for regressions.

OK to install on both 3.4.0 and Mainline if it passes with no new failures?

David Daney
2004-02-18  David Daney <ddaney@avtrex.com>

	PR preprocessor/14198
	* config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Add
	builtin_assert ("machine=mips")
	
Index: gcc/config/mips/linux.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/linux.h,v
retrieving revision 1.75.4.1
diff -3 -c -p -r1.75.4.1 linux.h
*** gcc/config/mips/linux.h	31 Jan 2004 06:18:30 -0000	1.75.4.1
--- gcc/config/mips/linux.h	18 Feb 2004 19:16:25 -0000
*************** Boston, MA 02111-1307, USA.  */
*** 58,63 ****
--- 58,64 ----
  	LINUX_TARGET_OS_CPP_BUILTINS();				\
  	builtin_define ("__PIC__");				\
  	builtin_define ("__pic__");				\
+         builtin_assert ("machine=mips");			\
  	/* The GNU C++ standard library requires this.  */	\
  	if (c_dialect_cxx ())					\
  	  builtin_define ("_GNU_SOURCE");			\

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]