diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2011-12-22 20:18:11 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2011-12-22 20:18:11 +0000 |
commit | ee777b71644eda0bf9e3c6dc81e6518ed594ec8a (patch) | |
tree | 5a4973303a5a18453debd3fb5105c8ce93b7c9b7 /gcc/opts.c | |
parent | a05fe1907110a339405d369b6824a4afd35ed9dd (diff) | |
download | gcc-ee777b71644eda0bf9e3c6dc81e6518ed594ec8a.zip gcc-ee777b71644eda0bf9e3c6dc81e6518ed594ec8a.tar.gz gcc-ee777b71644eda0bf9e3c6dc81e6518ed594ec8a.tar.bz2 |
re PR middle-end/51212 (ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -fgnu-tm -fnon-call-exceptions and transaction_callable)
PR middle-end/51212
* opts.c (finish_options): Call sorry on -fgnu-tm and
-fnon-call-exceptions combination.
From-SVN: r182636
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -663,6 +663,9 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, opts->x_flag_toplevel_reorder = 0; } + if (opts->x_flag_tm && opts->x_flag_non_call_exceptions) + sorry ("transactional memory is not supported with non-call exceptions"); + /* -Wmissing-noreturn is alias for -Wsuggest-attribute=noreturn. */ if (opts->x_warn_missing_noreturn) opts->x_warn_suggest_attribute_noreturn = true; |