diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-05 16:39:53 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-05 16:39:53 +0000 |
commit | 009ab03526cc5388fce400f5ab84fc3520ab4bf3 (patch) | |
tree | 2322ea89c5a0456a8498d8bd5b4fe192aeec1470 | |
parent | af8b3274d26ae4778d51b6df411e1ebd51a33586 (diff) | |
download | gcc-009ab03526cc5388fce400f5ab84fc3520ab4bf3.tar.gz |
Revert this change; no longer required.
2013-11-06 Ian Lance Taylor <iant@google.com>
* go-lang.c (go_langhook_post_options): If
-fisolate-erroneous-paths was turned on by an optimization option,
turn it off.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205711 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/go/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/go/go-lang.c | 6 |
2 files changed, 9 insertions, 6 deletions
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog index a7dafac8e74..ea995dc1646 100644 --- a/gcc/go/ChangeLog +++ b/gcc/go/ChangeLog @@ -1,3 +1,12 @@ +2013-12-05 Ian Lance Taylor <iant@google.com> + + Revert this change; no longer required. + 2013-11-06 Ian Lance Taylor <iant@google.com> + + * 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 <iant@google.com> * 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 580b1b802dc..d207a31f537 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; } |