This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/69241] [6 Regression] ICE with noreturn and function that return non-POD
- From: "abe_skolnik at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Jan 2016 16:44:07 +0000
- Subject: [Bug ipa/69241] [6 Regression] ICE with noreturn and function that return non-POD
- Auto-submitted: auto-generated
- References: <bug-69241-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69241
--- Comment #8 from Abe <abe_skolnik at yahoo dot com> ---
Slightly more reduced [2 bytes less? ;-)]...
__attribute__((noreturn))void V(int);
struct R{R(const R&){}};
R f(){V(0);}
R c(){V(0);}
This might be the most-reduced-possible form of this test case.
Experimentation shows that:
* removing the second function definition removes the ICE
* removing the user-defined copy ctor removes the ICE
* removing the int param. from 'V' removes the ICE