http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59706
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |jakub at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 31874
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31874&action=edit
gcc49-pr59706.patch
Untested fix. create_tmp_var_raw doesn't do tons of needed things, like (for
this testcase most important) doesn't set DECL_CONTEXT. On the other side,
create_tmp_var_raw will ICE if the type isn't complete or needs
constructing/destructing, but in that case we don't want to create the
temporary anyway, that will typically (always?) be just an already reported
bug.