This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/40459] g++.dg/abi/mangle*.C fail on darwin
- From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Dec 2009 20:29:18 -0000
- Subject: [Bug testsuite/40459] g++.dg/abi/mangle*.C fail on darwin
- References: <bug-40459-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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