[Bug c++/91155] __PRETTY_FUNCTION__ gets truncated when char template parameter is '\0'

d.frey at gmx dot de gcc-bugzilla@gcc.gnu.org
Mon Jun 1 22:48:22 GMT 2026


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

--- Comment #13 from Daniel Frey <d.frey at gmx dot de> ---
Given that a test was added previously, I was wondering how this bug could show
up again as a regression. It seems that the test is performed, but reporting
the error is disabled.

Specifically, in
https://gcc.gnu.org/cgit/gcc/tree/gcc/testsuite/g++.dg/torture/pr91155.C in
lines 14 and 16, the "{};//" needs to be removed AFAICT.


More information about the Gcc-bugs mailing list