[patch] Fix GC issue triggered by arithmetic overflow checking
Eric Botcazou
ebotcazou@adacore.com
Tue Oct 11 08:05:00 GMT 2016
> I think only the calls in build_common_tree_nodes -- those are the ones
> built early and that survive GC. The patch is ok if it passes testing
> with that.
Here's what I have installed, after bootstrap/regtesting on x86-64/Linux and
SPARC/Solaris (with the upcoming overflow checking support). I'll try and dig
deeper into the var-tracking instability.
2016-10-11 Eric Botcazou <ebotcazou@adacore.com>
* tree.h (build_complex_type): Add second parameter with default.
* tree.c (build_complex_type): Add NAMED second parameter and adjust
recursive call. Create a TYPE_DECL only if NAMED is true.
(build_common_tree_nodes): Pass true in calls to build_complex_type.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 2694 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20161011/93bba7c6/attachment.bin>
More information about the Gcc-patches
mailing list