diff options
author | 2006-10-19 06:00:52 +0000 | |
---|---|---|
committer | 2006-10-19 06:00:52 +0000 | |
commit | 9361b758788a57b835c0e68ad4be44c7dcb6031f (patch) | |
tree | 62cfdb45241eb3e5e9c592347c0c20882063b248 /4.1.1 | |
parent | disable ice-hack for WIN32 (diff) | |
download | gcc-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 '4.1.1')
-rw-r--r-- | 4.1.1/gentoo/01_all_gcc4-ice-hack.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/4.1.1/gentoo/01_all_gcc4-ice-hack.patch b/4.1.1/gentoo/01_all_gcc4-ice-hack.patch index 253d33a..5a8b090 100644 --- a/4.1.1/gentoo/01_all_gcc4-ice-hack.patch +++ b/4.1.1/gentoo/01_all_gcc4-ice-hack.patch @@ -43,7 +43,7 @@ free ((void *) string); } -@@ -2897,6 +2900,16 @@ See %s for instructions.", +@@ -2897,6 +2900,17 @@ 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 + && i == 0 + && (p = strrchr (commands[0].argv[0], DIR_SEPARATOR)) + && ! strncmp (p + 1, "cc1", 3)) |