diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2021-04-19 10:13:36 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2021-04-19 10:19:13 +0200 |
commit | 0bb37e80bb786e11cb7aa2d23b7d68bb0357fc15 (patch) | |
tree | da29c545d6548ccf4e631d75c3c5c9035bce6e7c /libcpp | |
parent | d64720a07f611c55e8c815c775a852d650a2e738 (diff) | |
download | gcc-0bb37e80bb786e11cb7aa2d23b7d68bb0357fc15.zip gcc-0bb37e80bb786e11cb7aa2d23b7d68bb0357fc15.tar.gz gcc-0bb37e80bb786e11cb7aa2d23b7d68bb0357fc15.tar.bz2 |
Fix another -freorder-blocks-and-partition glitch with Windows SEH
Since GCC 8, the -freorder-blocks-and-partition pass can split a function
into hot and cold parts, thus generating 2 FDEs for a single function in
DWARF for exception purposes and doing an equivalent trick for Windows SEH.
Now the Windows system unwinder does not support arbitrarily large frames
and there is even a hard limit on the encoding of the CFI, which changes
the stack allocation strategy when it is topped and which must be reflected
everywhere.
gcc/
* config/i386/winnt.c (i386_pe_seh_cold_init): Properly deal with
frames larger than the SEH maximum frame size.
gcc/testsuite/
* gnat.dg/opt92.adb: New test.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions