This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Apr 2018 08:22:04 +0000
- Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319
- Auto-submitted: auto-generated
- References: <bug-85449-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449
--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
So it's very hard to isolate a simple test-case without not doing an UBSAN.
Thus easiest way to reproduce that is:
$ cd src
$ gcc *.c -I. -O3 && ./a.out
Fatal error: glibc detected an invalid stdio handle
Aborted (core dumped)
with the main.c file I sent.