]> git.ipfire.org Git - thirdparty/gcc.git/commit
Use chain_next on eh_landing_pad_d for GTY (PR middle-end/110510)
authorAndrew Pinski <apinski@marvell.com>
Sat, 1 Jul 2023 17:52:48 +0000 (10:52 -0700)
committerAndrew Pinski <apinski@marvell.com>
Mon, 3 Jul 2023 21:45:33 +0000 (14:45 -0700)
commitd0a333612bfb7faf8d61210c831165388e758768
tree2380537f3fbe097a31095aabab7b37eb88c23284
parent3c776fdf1a825818ad7248d442e846f532574ff7
Use chain_next on eh_landing_pad_d for GTY (PR middle-end/110510)

The backtrace in the bug report suggest there is a running out of
stack during GC collection, because of a long chain of eh_landing_pad_d.
This might fix that by adding chain_next onto eh_landing_pad_d's GTY marker.

OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions.

gcc/ChangeLog:

PR middle-end/110510
* except.h (struct eh_landing_pad_d): Add chain_next GTY.
gcc/except.h