This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70353] [5/6 regression] ICE on __PRETTY_FUNCTION__ in a constexpr function
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 Mar 2016 01:33:30 +0000
- Subject: [Bug c++/70353] [5/6 regression] ICE on __PRETTY_FUNCTION__ in a constexpr function
- Auto-submitted: auto-generated
- References: <bug-70353-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70353
--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
I haven't had time to debug it beyond observing in the debugger that
remap_decls() defined in tree-inline.c calls add_local_decl() with the first
argument of null. The argument is cfun (function*).
Both __func__ and __FUNCTION__ also trigger the same ICE.