https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104254

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
One possible improvement can be promoting the option when an ICE happens:

$ g++ pr100019.C -c -w
pr100019.C: In instantiation of ‘void f(auto:1 ...) [with auto:1 = {int}]’:
pr100019.C:8:4:   required from here
pr100019.C:3:19: internal compiler error: Segmentation fault
    3 |     try {} catch (decltype(args)) {}
      |                   ^~~~~~~~~~~~~~
0x124ce2a crash_signal
        /home/marxin/Programming/gcc/gcc/toplev.cc:322
0x7ffff789b41f ???
       
/usr/src/debug/glibc-2.34-4.3.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0xc49ffb invalid_nonstatic_memfn_p(unsigned int, tree_node*, int)
...
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Let me prepare a patch for it.

Reply via email to