This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/40459] g++.dg/abi/mangle*.C fail on darwin



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]