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]

Add assertion for xstormy16 cpu type.


Hi Geoff,

  May I apply the patch below please ?  It adds an assertion for the
  xstormy16 cpu type to the TARGET_CPU_CPP_BUILTINS for the xstormy16
  target.  This fixes an unexpected failure of the
  gcc.dg/cpp/assert4.c test.

Cheers
  Nick
  

gcc/ChangeLog
2004-11-09  Nick Clifton  <nickc@redhat.com>

	* config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Add
	assertion of cpu.

Index: gcc/config/stormy16/stormy16.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/stormy16/stormy16.h,v
retrieving revision 1.92
diff -c -3 -p -r1.92 stormy16.h
*** gcc/config/stormy16/stormy16.h	17 Aug 2004 22:51:28 -0000	1.92
--- gcc/config/stormy16/stormy16.h	9 Nov 2004 16:02:53 -0000
*************** Boston, MA 02111-1307, USA.  */
*** 58,63 ****
--- 58,64 ----
  #define TARGET_CPU_CPP_BUILTINS() do {	\
    builtin_define_std ("xstormy16");	\
    builtin_assert ("machine=xstormy16");	\
+   builtin_assert ("cpu=xstormy16");     \
  } while (0)
  
  /* This declaration should be present.  */
  


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