Committed, cris.h: define HANDLE_PRAGMA_PACK_PUSH_POP 1

Hans-Peter Nilsson
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.

	* 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
+/* No specific purpose other than warningless compatibility.  */
  * Local variables:
  * eval: (c-set-style "gnu")

brgds, H-P

More information about the Gcc-patches mailing list