[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Feb 22 17:51:00 GMT 2008
------- Comment #18 from pinskia at gcc dot gnu dot org 2008-02-22 17:50 -------
g++.dg/other/anon5.C fails on i386-darwin:
/var/tmp//ccpes1Oj.s:20:non-relocatable subtraction expression,
"__ZN12_GLOBAL__N_11c1tE" minus "L00000000001$pb"^M
/var/tmp//ccpes1Oj.s:20:symbol: "__ZN12_GLOBAL__N_11c1tE" can't be undefined in
a subtraction expression^M
compiler exited with status 1
output is:
/var/tmp//ccpes1Oj.s:20:non-relocatable subtraction expression,
"__ZN12_GLOBAL__N_11c1tE" minus "L00000000001$pb"^M
/var/tmp//ccpes1Oj.s:20:symbol: "__ZN12_GLOBAL__N_11c1tE" can't be undefined in
a subtraction expression^M
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34094
More information about the Gcc-bugs
mailing list