diff options
author | midipix <writeonce@midipix.org> | 2019-03-10 04:47:18 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-03-12 02:53:37 -0400 |
commit | 933115aab248ec7e87fc259e914d949eba4a2be3 (patch) | |
tree | b931dbc926bf0c6713789e5cc1f381755e6840d9 | |
parent | 767e87bde3f5dc89452b1e966dbf677ea61ae5cb (diff) | |
download | cbb-gcc-4.6.4-933115aab248ec7e87fc259e914d949eba4a2be3.tar.bz2 cbb-gcc-4.6.4-933115aab248ec7e87fc259e914d949eba4a2be3.tar.xz |
finish_options(): properly account for UI_SEH.
-rw-r--r-- | gcc/opts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/opts.c b/gcc/opts.c index 9f9335653..1d7c71ee6 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -716,7 +716,7 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, if (opts->x_flag_exceptions && opts->x_flag_reorder_blocks_and_partition - && (ui_except == UI_SJLJ || ui_except == UI_TARGET)) + && (ui_except == UI_SJLJ || ui_except == UI_TARGET || ui_except == UI_SEH)) { inform (loc, "-freorder-blocks-and-partition does not work " @@ -731,7 +731,7 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, if (opts->x_flag_unwind_tables && !targetm.unwind_tables_default && opts->x_flag_reorder_blocks_and_partition - && (ui_except == UI_SJLJ || ui_except == UI_TARGET)) + && (ui_except == UI_SJLJ || ui_except == UI_TARGET || ui_except == UI_SEH)) { inform (loc, "-freorder-blocks-and-partition does not support " @@ -748,7 +748,7 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, && (!targetm.have_named_sections || (opts->x_flag_unwind_tables && targetm.unwind_tables_default - && (ui_except == UI_SJLJ || ui_except == UI_TARGET)))) + && (ui_except == UI_SJLJ || ui_except == UI_TARGET || ui_except == UI_SEH)))) { inform (loc, "-freorder-blocks-and-partition does not work " |