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: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 23 Jan 2016 09:02:39 +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
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Summary|[6 Regression] ICE: in |[6 Regression] ICE with
|assign_temp, at |noreturn and function that
|function.c:961 |return non-POD
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Most reduced testcase:
__attribute__((noreturn)) void V(int);
struct R{R(const R&r){}};
R f(){V(0);}
R c(){V(0);}