diff options
author | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-04 14:53:30 +0000 |
---|---|---|
committer | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-04 14:53:30 +0000 |
commit | cb8ce8788c11dc3335c8c98e70740e33e133c32c (patch) | |
tree | 76eafa789febfbb0613a05a25b137223b34ef3d5 /gcc/opts.c | |
parent | 300eddbaf63d9c1e15e4d65948363826b8bf04a0 (diff) | |
download | gcc-cb8ce8788c11dc3335c8c98e70740e33e133c32c.tar.gz |
PR middle-end/51212
* opts.c (finish_options): Sorry out when using transactional
memory and non-call exceptions.
* doc/invoke.texi (C Dialect Options): Document it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182877 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/opts.c b/gcc/opts.c index 2ed556030eb..121cf69304b 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -666,6 +666,9 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, if (opts->x_flag_tm && opts->x_flag_non_call_exceptions) sorry ("transactional memory is not supported with non-call exceptions"); + 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; |