diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2022-01-10 12:40:10 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2022-01-10 12:44:28 +0100 |
commit | 8234b0dcb2484f836d0fb8f12aa6b04f5e66db6f (patch) | |
tree | 5f77dbaddaf4f637b4c1710acdd2e2d80ce16455 /gcc | |
parent | 492954263e39346287a5a2a32bcc5312466a0ee1 (diff) | |
download | gcc-8234b0dcb2484f836d0fb8f12aa6b04f5e66db6f.zip gcc-8234b0dcb2484f836d0fb8f12aa6b04f5e66db6f.tar.gz gcc-8234b0dcb2484f836d0fb8f12aa6b04f5e66db6f.tar.bz2 |
Properly enable -freorder-blocks-and-partition on 64-bit Windows
The PR uncovered that -freorder-blocks-and-partition was working by accident
on 64-bit Windows, i.e. the middle-end was supposed to disable it with SEH.
After the change installed on mainline, the middle-end properly disables it,
which is too bad since a significant amount of work went into it for SEH.
gcc/
PR target/103465
* coretypes.h (unwind_info_type): Swap UI_SEH and UI_TARGET.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/coretypes.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/coretypes.h b/gcc/coretypes.h index 0769a78..f355937 100644 --- a/gcc/coretypes.h +++ b/gcc/coretypes.h @@ -228,15 +228,17 @@ enum stack_protector { SPCT_FLAG_EXPLICIT = 4 }; -/* Types of unwind/exception handling info that can be generated. */ +/* Types of unwind/exception handling info that can be generated. + Note that a UI_TARGET (or larger) setting is considered to be + incompatible with -freorder-blocks-and-partition. */ enum unwind_info_type { UI_NONE, UI_SJLJ, UI_DWARF2, - UI_TARGET, - UI_SEH + UI_SEH, + UI_TARGET }; /* Callgraph node profile representation. */ |