aboutsummaryrefslogtreecommitdiff
path: root/3.4.6
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-10-19 06:00:52 +0000
committerMike Frysinger <vapier@gentoo.org>2006-10-19 06:00:52 +0000
commit9361b758788a57b835c0e68ad4be44c7dcb6031f (patch)
tree62cfdb45241eb3e5e9c592347c0c20882063b248 /3.4.6
parentdisable ice-hack for WIN32 (diff)
downloadgcc-patches-9361b758788a57b835c0e68ad4be44c7dcb6031f.tar.gz
gcc-patches-9361b758788a57b835c0e68ad4be44c7dcb6031f.tar.bz2
gcc-patches-9361b758788a57b835c0e68ad4be44c7dcb6031f.zip
add an env hack to prevent running of retry_ice code
Diffstat (limited to '3.4.6')
-rw-r--r--3.4.6/gentoo/02_all_gcc34-ice-hack.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/3.4.6/gentoo/02_all_gcc34-ice-hack.patch b/3.4.6/gentoo/02_all_gcc34-ice-hack.patch
index 0bf6a53..be7c795 100644
--- a/3.4.6/gentoo/02_all_gcc34-ice-hack.patch
+++ b/3.4.6/gentoo/02_all_gcc34-ice-hack.patch
@@ -43,7 +43,7 @@
free ((void *) string);
}
-@@ -2831,6 +2834,17 @@ See %s for instructions.",
+@@ -2831,6 +2834,18 @@ See %s for instructions.",
else if (WIFEXITED (status)
&& WEXITSTATUS (status) >= MIN_FATAL_STATUS)
{
@@ -51,7 +51,8 @@
+ /* For ICEs in cc1, cc1obj, cc1plus see if it is
+ reproducible or not. */
+ char *p;
-+ if (WEXITSTATUS (status) == ICE_EXIT_CODE
++ if (getenv("GCC_RETRY_ICE") == NULL
++ && WEXITSTATUS (status) == ICE_EXIT_CODE
+ && j == 0
+ && (p = strrchr (commands[j].argv[0], DIR_SEPARATOR))
+ && ! strncmp (p + 1, "cc1", 3))