From: Ian Lance Taylor Date: Thu, 5 Dec 2013 16:39:53 +0000 (+0000) Subject: Revert this change; no longer required. X-Git-Tag: releases/gcc-4.9.0~2262 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=601a5921eb0b56c647b3fa7136d11172495c0cb0;p=thirdparty%2Fgcc.git Revert this change; no longer required. 2013-11-06 Ian Lance Taylor * go-lang.c (go_langhook_post_options): If -fisolate-erroneous-paths was turned on by an optimization option, turn it off. From-SVN: r205711 --- diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog index a7dafac8e746..ea995dc1646f 100644 --- a/gcc/go/ChangeLog +++ b/gcc/go/ChangeLog @@ -1,3 +1,12 @@ +2013-12-05 Ian Lance Taylor + + Revert this change; no longer required. + 2013-11-06 Ian Lance Taylor + + * go-lang.c (go_langhook_post_options): If + -fisolate-erroneous-paths was turned on by an optimization option, + turn it off. + 2013-11-23 Ian Lance Taylor * go-gcc.cc (Gcc_backend::function_type): Add result_struct diff --git a/gcc/go/go-lang.c b/gcc/go/go-lang.c index 580b1b802dc1..d207a31f5379 100644 --- a/gcc/go/go-lang.c +++ b/gcc/go/go-lang.c @@ -270,12 +270,6 @@ go_langhook_post_options (const char **pfilename ATTRIBUTE_UNUSED) if (flag_excess_precision_cmdline == EXCESS_PRECISION_DEFAULT) flag_excess_precision_cmdline = EXCESS_PRECISION_STANDARD; - /* The isolate_erroneous_paths optimization can change a nil - dereference from a panic to a trap, so we have to disable it for - Go, even though it is normally enabled by -O2. */ - if (!global_options_set.x_flag_isolate_erroneous_paths) - global_options.x_flag_isolate_erroneous_paths = 0; - /* Returning false means that the backend should be used. */ return false; }