[Bug c/84721] [8 Regression] ICE in c_push_function_context, at c-decl.c:9667
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 6 10:09:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84721
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 43574
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43574&action=edit
gcc8-pr84721.patch
Untested fix. Besides fixing this PR, I think it is plain wrong to add the
DEBUG_BEGIN_STMTs somewhere at the file scope, they are necessarily tied to
functions, so it makes only sense to emit them inside of functions.
More information about the Gcc-bugs
mailing list