[Bug c++/56251] no DW_AT_const_value for static const member of a template class
chihin.ko at oracle dot com
gcc-bugzilla@gcc.gnu.org
Fri Feb 8 21:25:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56251
--- Comment #2 from chihin ko <chihin.ko at oracle dot com> 2013-02-08 21:24:55 UTC ---
How is it invalid ? it was compilable and runnable:
benjamin2 906> /pkg/gnu/bin/g++ -v
Using built-in specs.
COLLECT_GCC=/pkg/gnu/bin/g++-4.7.1-5.10
COLLECT_LTO_WRAPPER=/pkg/gnu/libexec/gcc/i386-pc-solaris2.10/4.7.1/lto-wrapper
Target: i386-pc-solaris2.10
Configured with: ../gcc-4.7.1-src/configure --prefix=/pkg/gnu
--with-as=/pkg/gnu/bin/gas --with-gnu-as --enable-languages=c++,fortran
--enable-shared --enable-shared --with-gmp=/pkg/gnu --with-mpc=/pkg/local
--with-boot-ldflags=-R/pkg/local/lib:/pkg/gnu/lib --program-suffix=-4.7.1-5.10
Thread model: posix
gcc version 4.7.1 (GCC)
benjamin2 907> /pkg/gnu/bin/g++ -std=c++11 -R/pkg/gnu/lib t1.cc
benjamin2 908> a.out
tcc.value1 = 100
cc.value1 = 200
More information about the Gcc-bugs
mailing list