This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/70353] [5/6 regression] ICE on __PRETTY_FUNCTION__ in a constexpr function


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]