]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/30182 (FAIL: gcc.dg/pr28796-2.c (test for excess errors))
authorSteve Ellcey <sje@cup.hp.com>
Fri, 26 Jan 2007 18:16:29 +0000 (18:16 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Fri, 26 Jan 2007 18:16:29 +0000 (18:16 +0000)
PR other/30182
* config/pa/pa.h (TARGET_HPUX_11): New.
* config/pa/pa-hpux11.h (TARGET_HPUX_11): New.
* config/pa/pa.c (pa_init_builtins): Use TARGET_HPUX_11.

From-SVN: r121211

gcc/ChangeLog
gcc/config/pa/pa-hpux11.h
gcc/config/pa/pa.c
gcc/config/pa/pa.h

index 18a38ed916783e5b371f21c4864c8dc0b6aafb7c..9248b0c508ac0afd3f000268118cdba92c58637b 100644 (file)
@@ -1,3 +1,10 @@
+2007-01-26  Steve Ellcey  <sje@cup.hp.com>
+
+       PR other/30182
+       * config/pa/pa.h (TARGET_HPUX_11): New.
+       * config/pa/pa-hpux11.h (TARGET_HPUX_11): New.
+       * config/pa/pa.c (pa_init_builtins): Use TARGET_HPUX_11.
+
 2007-01-26  Daniel Berlin  <dberlin@dberlin.org>
        Richard Guenther  <rguenther@suse.de>
 
index 624a7c7334ff9336b7247a0aeb0c6f7285352945..e51d489793609efe94fa4054289cb11d5e8a8865 100644 (file)
@@ -191,3 +191,6 @@ Boston, MA 02110-1301, USA.  */
    with secondary definition (weak) symbols.  */
 #undef TARGET_SOM_SDEF
 #define TARGET_SOM_SDEF 1
+
+#undef TARGET_HPUX_11
+#define TARGET_HPUX_11 1
index 85c2c1fa28db6eb185b9b64d850fb35942029abc..b63239808f7a9b07ccdfe555f3bdb5e62324fac4 100644 (file)
@@ -512,7 +512,7 @@ pa_init_builtins (void)
   implicit_built_in_decls[(int) BUILT_IN_FPUTC_UNLOCKED]
     = implicit_built_in_decls[(int) BUILT_IN_PUTC_UNLOCKED];
 #endif
-#if TARGET_HPUX
+#if TARGET_HPUX_11
   if (built_in_decls [BUILT_IN_FINITE])
     set_user_assembler_name (built_in_decls [BUILT_IN_FINITE], "_Isfinite");
   if (built_in_decls [BUILT_IN_FINITEF])
index 09a3d93675d6be9366b109f48ad35d972828b2d2..853de9871fda7fa7ac73446d78c7f44975f3fcdd 100644 (file)
@@ -84,6 +84,11 @@ extern int flag_pa_unix;
 #define TARGET_HPUX_10_10 0
 #endif
 
+/* HP-UX 11.* features (11.00, 11.11, 11.23, etc.)  */
+#ifndef TARGET_HPUX_11
+#define TARGET_HPUX_11 0
+#endif
+
 /* HP-UX 11i multibyte and UNIX 98 extensions.  */
 #ifndef TARGET_HPUX_11_11
 #define TARGET_HPUX_11_11 0