egcs bug with -frepo and function template args

Zack Weinberg zack@bitmover.com
Thu Sep 30 19:57:00 GMT 1999


Ken McMillan wrote:
> The -frepo option in egcs does not seem to cause templates whose
> parameters are functions to be instantiated.

This bug appears to have been fixed in g++ 2.95.

$ g++ -frepo -c test.cc
$ g++ test.o           
collect: recompiling test.cc
collect: relinking
$ ./a.out ; echo $?
0
$ g++ -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.1/specs
gcc version 2.95.1 19990816 (release)

zw



More information about the Gcc-bugs mailing list