[Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319
tnfchris at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 18 16:18:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449
--- Comment #2 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
The latest master seems to not trigger the problematic specializations.
Instead check out commit d7ddbf366197605642f725cce6165dfb179a114e
and then a normal
CFLAGS="-O3 -w -save-temps" ./configure
make
make check
should show the issues. For me using an x86_64 build of trunk I get
=================================================================
api/test_dump.c
=================================================================
Segmentation fault (core dumped)
=================================================================
api/test_dump_callback.c
=================================================================
test_dump_callback.c:run_tests:44: json_dumps failed
=================================================================
api/test_object.c
=================================================================
Segmentation fault (core dumped)
and the dump.s file produced shows the error.
More information about the Gcc-bugs
mailing list