Committed: Don't test for #cpu(mmix) or #machine(mmix) in gcc.dg/cpp/assert4.c (PR target/18334)

Hans-Peter Nilsson hp@bitrange.com
Sun Nov 28 21:34:00 GMT 2004


There are no MMIX assertions and I'm not adding any: I see, find
and hear of no reason or use for them besides Solaris headers.
FWIW, I'm also opposed to adding them in any generic manner.
(Note the unrelated typo which I thought was uncovering some
kind of cpp bug.)

	PR target/18334
	* gcc.dg/cpp/assert4.c: Remove mmix assertion tests.

Index: assert4.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/cpp/assert4.c,v
retrieving revision 1.7
diff -p -c -r1.7 assert4.c
*** assert4.c	9 Aug 2004 22:01:05 -0000	1.7
--- assert4.c	28 Nov 2004 20:21:10 -0000
***************
*** 311,324 ****
  # error
  #endif

- #if defined __mmix__
- # if !#cpu(mmix) || !#machine(mmix)
- #  error
- # endif
- #elif #cpu(mmix) || #machine(mcore)
- # error
- #endif
-
  #if defined __mn10300__
  # if !#cpu(mn10300) || !#machine(mn10300)
  #  error
--- 311,316 ----

brgds, H-P



More information about the Gcc-patches mailing list