This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Committed, cris.h: define HANDLE_PRAGMA_PACK_PUSH_POP 1
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 19 Mar 2007 00:52:36 +0100
- Subject: Committed, cris.h: define HANDLE_PRAGMA_PACK_PUSH_POP 1
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