This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Xtensa] fix g++.dg/cpp/_Pragma1 test
- From: Bob Wilson <bwilson at tensilica dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 17 Nov 2006 14:50:00 -0800
- Subject: [Xtensa] fix g++.dg/cpp/_Pragma1 test
This patch fixes the g++.dg/cpp/_Pragma1 test for the xtensa-elf target. I
doubt if anyone cares about this pragma for the xtensa-elf target, but it seems
just as easy as xfailing the test. Committed on mainline.
2006-11-17 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/elf.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
Index: config/xtensa/elf.h
===================================================================
--- config/xtensa/elf.h (revision 118945)
+++ config/xtensa/elf.h (working copy)
@@ -1,6 +1,6 @@
/* Xtensa/Elf configuration.
Derived from the configuration for GCC for Intel i386 running Linux.
- Copyright (C) 2001,2003 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2003, 2006 Free Software Foundation, Inc.
This file is part of GCC.
@@ -100,3 +100,4 @@
} \
while (0)
+#define HANDLE_PRAGMA_PACK_PUSH_POP 1