[Bug c++/99200] __PRETTY_FUNCTION__ used as template parameter causes internal compiler error (segmentation fault)
jbaptistapsilva at yahoo dot com.br
gcc-bugzilla@gcc.gnu.org
Mon Feb 22 17:09:03 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99200
--- Comment #4 from JoaoBapt <jbaptistapsilva at yahoo dot com.br> ---
(In reply to Marek Polacek from comment #2)
> Looks like a dup of 93383.
No, because it works perfectly when I substitute __PRETTY_FUNCTION__ for any
other string literal, even as big as one that would be "returned" by
__PRETTY_FUNCTION__ (I tested with, for example, "consteval const char*
type_name<T>() [with T = double]" and it did not crash and worked perfectly).
More information about the Gcc-bugs
mailing list