This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Test failure fix for IA64 HP-UX, does it count as a regression?
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 13 Sep 2006 11:18:13 -0700 (PDT)
- Subject: Test failure fix for IA64 HP-UX, does it count as a regression?
- Reply-to: sje at cup dot hp dot com
When PR 27748 was fixed some new tests were added, including
g++.dg/cpp/_Pragma1.C and gcc.dg/cpp/_Pragma6.c. These tests fail on
IA64 HP-UX because that platform does not define
HANDLE_PRAGMA_PACK_PUSH_POP. There does not seem to be any reason why
IA64 HP-UX does not define HANDLE_PRAGMA_PACK_PUSH_POP so this patch
fixes the failures by defining HANDLE_PRAGMA_PACK_PUSH_POP.
It has been tested with no regressions, my question is, does this count
as a regression fix that can be checked in?
Steve Ellcey
sje@cup.hp.com
2006-09-13 Steve Ellcey <sje@cup.hp.com>
* config/ia64/hpux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Add define.
Index: hpux.h
===================================================================
--- hpux.h (revision 116914)
+++ hpux.h (working copy)
@@ -219,3 +219,6 @@ do { \
#undef NO_PROFILE_COUNTERS
#define NO_PROFILE_COUNTERS 0
+
+#undef HANDLE_PRAGMA_PACK_PUSH_POP
+#define HANDLE_PRAGMA_PACK_PUSH_POP