[Bug middle-end/82878] [7/8 Regression] ICE in assign_temp, at function.c:968 when using optimization
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 7 14:26:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82878
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
Assignee|nathan at gcc dot gnu.org |unassigned at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r244728.
Slightly adjusted testcase:
struct S { ~S (); };
struct A { operator int (); S a; };
void
bar ()
{
void (*foo)(A) = [](A) { bar (); };
A b;
if (auto c = b)
foo (c);
}
More information about the Gcc-bugs
mailing list