diff options
-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 " |