[Bug testsuite/40459] g++.dg/abi/mangle*.C fail on darwin
howarth at nitro dot med dot uc dot edu
gcc-bugzilla@gcc.gnu.org
Wed Dec 16 20:29:00 GMT 2009
------- Comment #8 from howarth at nitro dot med dot uc dot edu 2009-12-16 20:29 -------
What's up with the instantiation portions of the warning messages in darwin? On
Fedora 10, gcc trunk shows...
~/dist/bin/g++ mangle11.C -nostdinc++ -fmessage-length=0 -Wabi -fabi-version=1
-S -o mangle11.s
mangle11.C:10:24: warning: the mangled name of Âvoid f(typename Q::X) [with Q =
S, typename Q::X = int]Â will change in a future version of GCC
whereas on darwin with gcc-4..4.2 we get...
g++-4 mangle11.C -nostdinc++ -fmessage-length=0 -Wabi -fabi-version=1 -S -o
mangle11.s
mangle11.C: In instantiation of Âvoid f(typename Q::X) [with Q = S]Â:
mangle11.C:10: instantiated from here
mangle11.C:4: warning: the mangled name of Âvoid f(typename Q::X) [with Q = S]Â
will change in a future version of GCC
which is exactly what I see with g++-4.3.2 on Fedora 10.
g++ mangle11.C -nostdinc++ -fmessage-length=0 -Wabi -fabi-version=1 -S -o
mangle11.s
mangle11.C: In instantiation of Âvoid f(typename Q::X) [with Q = S]Â:
mangle11.C:10: instantiated from here
mangle11.C:4: warning: the mangled name of Âvoid f(typename Q::X) [with Q = S]Â
will change in a future version of GCC
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40459
More information about the Gcc-bugs
mailing list