aboutsummaryrefslogtreecommitdiff
path: root/3.3.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.3.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.3.6')
-rw-r--r--3.3.6/gentoo/02_all_gcc33-ice-hack.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/3.3.6/gentoo/02_all_gcc33-ice-hack.patch b/3.3.6/gentoo/02_all_gcc33-ice-hack.patch
index a9c1afd..c48d168 100644
--- a/3.3.6/gentoo/02_all_gcc33-ice-hack.patch
+++ b/3.3.6/gentoo/02_all_gcc33-ice-hack.patch
@@ -33,7 +33,7 @@
free ((PTR) string);
}
-@@ -2750,6 +2754,17 @@ See %s for instructions.",
+@@ -2750,6 +2754,18 @@ See %s for instructions.",
else if (WIFEXITED (status)
&& WEXITSTATUS (status) >= MIN_FATAL_STATUS)
{
@@ -41,7 +41,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))