This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Test failure fix for IA64 HP-UX, does it count as a regression?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]