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

Colin Hirsch <gcc at cohi dot at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gcc at cohi dot at

--- Comment #12 from Colin Hirsch <gcc at cohi dot at> ---
This bug was re-introduced in GCC 16.1.0.

colin@debian:~/bug382$ cat pretty.cpp 
#include <iostream>

template< char C >
void pretty()
{
  std::cout << __PRETTY_FUNCTION__ << std::endl;
}

int main()
{
  pretty< 0 >();
}

colin@debian:~/bug382$ g++-15 pretty.cpp -o pretty15
colin@debian:~/bug382$ g++-16 pretty.cpp -o pretty16

colin@debian:~/bug382$ ./pretty15
void pretty() [with char C = '\000']

colin@debian:~/bug382$ ./pretty16
void pretty() [with char C = '

colin@debian:~/bug382$ g++-15 --version
g++-15 (Debian 15.2.0-17) 15.2.0
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

colin@debian:~/bug382$ g++-16 --version
g++-16 (Debian 16.1.0-1) 16.1.0
Copyright (C) 2026 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Reply via email to