Committed, cris.h: define HANDLE_PRAGMA_PACK_PUSH_POP 1

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Mon Mar 19 04:04:00 GMT 2007


I've seen:
Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/cpp/cpp.exp ...
FAIL: gcc.dg/cpp/_Pragma6.c (test for excess errors)

for too long.  I could've skipped the test for cris-*-* like
others have done, but the better change seemed to be to actually
support the tested pragma, which amounts to no more than this
define (with HANDLE_SYSV_PRAGMA already 1 from elfos.h).
No regressions for cris-axis-elf.

gcc:
	* config/cris/cris.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define to 1.

Index: cris.h
===================================================================
--- cris.h	(revision 123028)
+++ cris.h	(working copy)
@@ -1414,6 +1414,9 @@ enum cris_pic_symbol_type
 
 #define NO_IMPLICIT_EXTERN_C
 
+/* No specific purpose other than warningless compatibility.  */
+#define HANDLE_PRAGMA_PACK_PUSH_POP 1
+
 /*
  * Local variables:
  * eval: (c-set-style "gnu")

brgds, H-P



More information about the Gcc-patches mailing list