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

--- Comment #9 from Abe <abe_skolnik at yahoo dot com> ---
Further-reduced test case [13 bytes shorter: 76 bytes with 1-byte line
endings]...



[[noreturn]]void V(int);
struct R{R(const R&){}};
R f(){V(0);}
R c(){V(0);}



Additional notes:

  * removing "__attribute__((noreturn))" from the original reduction removes
the ICE

  * removing "[[noreturn]]"              from the above    reduction removes
the ICE

  * compiling with "-O0" or "-O1" is OK [no ICE]; "-O2", "-O3", and "-Os" all
lead to ICE

Reply via email to