This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/69438] [6 Regression] ICE with noreturn and function that return non-POD


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69438

--- Comment #6 from Abe <abe_skolnik at yahoo dot com> ---
Further analysis shows that the ICE "needs" _both_ of the "V(0)" calls;
removing either one from the following eliminates the ICE.



__attribute__((noreturn)) void V(int);
struct R{R(){} R(const R&r){}};
R f(){V(0); return R();}
R c(){V(0); return R();}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]