This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Backport patch to 3.4 branch
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 7 Nov 2005 13:50:57 -0800 (PST)
- Subject: Backport patch to 3.4 branch
- Reply-to: sje at cup dot hp dot com
The 3.4 branch will currently not bootstrap on IA64 HP-UX if you have the
HP-UX patch PHSS_33351 installed. A fixincludes patch that was made
before 4.0 went out (http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00985.html)
fixes this problem. I would like to backport it to the 3.4 branch.
I have tested the patch with 3.4 on IA64 HP-UX and was able to bootstrap
after installing the patch.
Is the 3.4 branch open for patches? Is it OK to install this patch on
the 3.4 branch?
Steve Ellcey
sje@cup.hp.com
------- Original Patch -------------
2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
* inclhack.def (sco_math): Bypass on __GNUG__.
(sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
* fixincl.x: Regenerate.
diff -rupN fixincludes.orig/inclhack.def fixincludes/inclhack.def
--- fixincludes.orig/inclhack.def 2004-11-09 23:12:37.000000000 +0000
+++ fixincludes/inclhack.def 2004-11-11 21:56:46.000000000 +0000
@@ -2431,6 +2431,7 @@ fix = {
files = ods_30_compat/math.h;
files = oldstyle/math.h;
select = "inline double abs";
+ bypass = "__GNUG__";
sed = "/#define.*__fp_class(a) \\\\/i\\\n"
"#ifndef __GNUC__\n";
sed =
@@ -3519,6 +3520,7 @@ fix = {
fix = {
hackname = sysz_stdlib_for_sun;
files = stdlib.h;
+ bypass = "_CLASSIC_ANSI_TYPES";
select = "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
c_fix = format;