public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
@ 2006-01-26  1:13 ` pinskia at gcc dot gnu dot org
  2009-03-05 15:08 ` jason at gcc dot gnu dot org
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-26  1:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-01-26 01:13 -------
*** Bug 25963 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrs at apple dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
  2006-01-26  1:13 ` [Bug c++/12909] ambiguity in mangling vector types pinskia at gcc dot gnu dot org
@ 2009-03-05 15:08 ` jason at gcc dot gnu dot org
  2009-11-05 23:26 ` pinskia at gcc dot gnu dot org
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-03-05 15:08 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-10-28 01:53:06         |2009-03-05 15:08:00
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
  2006-01-26  1:13 ` [Bug c++/12909] ambiguity in mangling vector types pinskia at gcc dot gnu dot org
  2009-03-05 15:08 ` jason at gcc dot gnu dot org
@ 2009-11-05 23:26 ` pinskia at gcc dot gnu dot org
  2010-02-03 20:43 ` jason at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-11-05 23:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2009-11-05 23:26 -------
*** Bug 41959 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2009-11-05 23:26 ` pinskia at gcc dot gnu dot org
@ 2010-02-03 20:43 ` jason at gcc dot gnu dot org
  2010-02-03 22:01 ` jason at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-02-03 20:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jason at gcc dot gnu dot org  2010-02-03 20:43 -------
Subject: Bug 12909

Author: jason
Date: Wed Feb  3 20:42:35 2010
New Revision: 156481

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156481
Log:
        PR c++/12909
        * mangle.c (write_type) [VECTOR_TYPE]: Change mangling.

Added:
    trunk/gcc/testsuite/g++.dg/abi/mangle36.C
Modified:
    trunk/gcc/common.opt
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/mangle.c
    trunk/gcc/testsuite/ChangeLog
    trunk/include/demangle.h
    trunk/libiberty/ChangeLog
    trunk/libiberty/cp-demangle.c
    trunk/libiberty/testsuite/demangle-expected


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2010-02-03 20:43 ` jason at gcc dot gnu dot org
@ 2010-02-03 22:01 ` jason at gcc dot gnu dot org
  2010-02-24 19:27 ` jason at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-02-03 22:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jason at gcc dot gnu dot org  2010-02-03 22:01 -------
Fixed for 4.5 with -fabi-version=4 or =0.  I still want to implement a
transition scheme.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2010-02-03 22:01 ` jason at gcc dot gnu dot org
@ 2010-02-24 19:27 ` jason at gcc dot gnu dot org
  2010-03-03 19:02 ` jason at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-02-24 19:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jason at gcc dot gnu dot org  2010-02-24 19:26 -------
Subject: Bug 12909

Author: jason
Date: Wed Feb 24 19:26:38 2010
New Revision: 157052

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157052
Log:
        PR c++/12909
        * mangle.c (write_type): Give -Wabi warning for old vector mangling.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/mangle.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2010-02-24 19:27 ` jason at gcc dot gnu dot org
@ 2010-03-03 19:02 ` jason at gcc dot gnu dot org
  2010-03-03 19:02 ` jason at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-03-03 19:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jason at gcc dot gnu dot org  2010-03-03 19:02 -------
Subject: Bug 12909

Author: jason
Date: Wed Mar  3 19:01:46 2010
New Revision: 157202

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157202
Log:
        PR c++/12909
        * method.c (make_alias_for): Handle VAR_DECL, too.
        * decl2.c (vague_linkage_p): Rename from vague_linkage_fn_p.
        * tree.c (no_linkage_check): Adjust.
        * decl.c (maybe_commonize_var): Adjust.
        * mangle.c (mangle_decl): Adjust.
        * cp-tree.h: Adjust.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/decl2.c
    trunk/gcc/cp/mangle.c
    trunk/gcc/cp/method.c
    trunk/gcc/cp/tree.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2010-03-03 19:02 ` jason at gcc dot gnu dot org
@ 2010-03-03 19:02 ` jason at gcc dot gnu dot org
  2010-03-03 19:03 ` jason at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-03-03 19:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jason at gcc dot gnu dot org  2010-03-03 19:02 -------
Subject: Bug 12909

Author: jason
Date: Wed Mar  3 19:01:36 2010
New Revision: 157201

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157201
Log:
        PR c++/12909
        * mangle.c: Include cgraph.h.
        (mangle_decl): If the mangled name will change in a later
        ABI version, make the later mangled name an alias.
        * method.c (make_alias_for): Copy DECL_ARGUMENTS.
        * Make-lang.in (mangle.o): Depend on cgraph.h.

Added:
    trunk/gcc/testsuite/g++.dg/abi/mangle40.C
    trunk/gcc/testsuite/g++.dg/abi/mangle41.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/Make-lang.in
    trunk/gcc/cp/mangle.c
    trunk/gcc/cp/method.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2010-03-03 19:02 ` jason at gcc dot gnu dot org
@ 2010-03-03 19:03 ` jason at gcc dot gnu dot org
  2010-03-03 19:03 ` jason at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-03-03 19:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from jason at gcc dot gnu dot org  2010-03-03 19:02 -------
Subject: Bug 12909

Author: jason
Date: Wed Mar  3 19:02:08 2010
New Revision: 157204

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157204
Log:
        PR c++/12909
        * lto-streamer.h (LTO_tags): Add LTO_var_decl_alias.
        * lto-streamer-in.c (lto_input_tree): Read it.
        * lto-streamer-out.c (output_unreferenced_globals): Write it.

Added:
    trunk/gcc/testsuite/g++.dg/lto/20100302.h
    trunk/gcc/testsuite/g++.dg/lto/20100302_0.C
    trunk/gcc/testsuite/g++.dg/lto/20100302_1.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lto-streamer-in.c
    trunk/gcc/lto-streamer-out.c
    trunk/gcc/lto-streamer.h
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2010-03-03 19:03 ` jason at gcc dot gnu dot org
@ 2010-03-03 19:03 ` jason at gcc dot gnu dot org
  2010-03-03 19:05 ` jason at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-03-03 19:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jason at gcc dot gnu dot org  2010-03-03 19:02 -------
Subject: Bug 12909

Author: jason
Date: Wed Mar  3 19:01:58 2010
New Revision: 157203

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157203
Log:
        PR c++/12909
        * cgraph.h (varpool_node): Add extra_name field.
        * varpool.c (varpool_extra_name_alias): New.
        (varpool_assemble_decl): Emit extra name aliases.
        (varpool_mark_needed_node): Look past an extra name alias.
cp/
        * mangle.c (mangle_decl): Handle VAR_DECL, too.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraph.h
    trunk/gcc/cp/mangle.c
    trunk/gcc/testsuite/g++.dg/abi/mangle40.C
    trunk/gcc/varpool.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2010-03-03 19:03 ` jason at gcc dot gnu dot org
@ 2010-03-03 19:05 ` jason at gcc dot gnu dot org
  2010-03-04  2:28 ` howarth at nitro dot med dot uc dot edu
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-03-03 19:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from jason at gcc dot gnu dot org  2010-03-03 19:05 -------
As fixed as it reasonably can be until we switch to -fabi-version=4.  We now
have a new mangling enabled with that flag, an error in the compiler for this
situation, a warning with -Wabi about the old mangling, and
forward-compatibility aliases so that code built with ABI v4 can link against
definitions compiled with ABI v2.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2010-03-03 19:05 ` jason at gcc dot gnu dot org
@ 2010-03-04  2:28 ` howarth at nitro dot med dot uc dot edu
  2010-03-04  2:31 ` howarth at nitro dot med dot uc dot edu
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-03-04  2:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from howarth at nitro dot med dot uc dot edu  2010-03-04 02:28 -------
FAIL: g++.dg/abi/mangle40.C scan-assembler weak[^\n]*_Z1fIDv4_fEvT_
FAIL: g++.dg/abi/mangle40.C scan-assembler weak[^\n]*_ZN1AIDv4_fE1tE
FAIL: g++.dg/abi/mangle41.C  (test for errors, line 6)
FAIL: g++.dg/abi/mangle41.C  (test for warnings, line 7)

are failing on x86_64-apple-darwin10.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2010-03-04  2:28 ` howarth at nitro dot med dot uc dot edu
@ 2010-03-04  2:31 ` howarth at nitro dot med dot uc dot edu
  2010-03-04  2:32 ` howarth at nitro dot med dot uc dot edu
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-03-04  2:31 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1979 bytes --]



------- Comment #13 from howarth at nitro dot med dot uc dot edu  2010-03-04 02:30 -------
/sw/src/fink.build/gcc45-4.4.999-20100303/darwin_objdir/gcc/testsuite/g++/../../g++
-B/sw/src/fink.build/gcc45-4.4.999-20100303/darwin_objdir/gcc/testsuite/g++/../../
/sw/src/fink.build/gcc45-4.4.999-20100303/gcc-4.5-20100303/gcc/testsuite/g++.dg/abi/mangle40.C
 -nostdinc++
-I/sw/src/fink.build/gcc45-4.4.999-20100303/darwin_objdir/x86_64-apple-darwin10.3.0/libstdc++-v3/include/x86_64-apple-darwin10.3.0
-I/sw/src/fink.build/gcc45-4.4.999-20100303/darwin_objdir/x86_64-apple-darwin10.3.0/libstdc++-v3/include
-I/sw/src/fink.build/gcc45-4.4.999-20100303/gcc-4.5-20100303/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc45-4.4.999-20100303/gcc-4.5-20100303/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc45-4.4.999-20100303/gcc-4.5-20100303/libstdc++-v3/testsuite/util
-fmessage-length=0  -mavx -Wabi -fabi-version=2  -S  -o mangle40.s
/sw/src/fink.build/gcc45-4.4.999-20100303/gcc-4.5-20100303/gcc/testsuite/g++.dg/abi/mangle40.C:
In instantiation of ‘void f(T) [with T = float __vector[4]]’:
/sw/src/fink.build/gcc45-4.4.999-20100303/gcc-4.5-20100303/gcc/testsuite/g++.dg/abi/mangle40.C:25:18:
  instantiated from here
/sw/src/fink.build/gcc45-4.4.999-20100303/gcc-4.5-20100303/gcc/testsuite/g++.dg/abi/mangle40.C:21:6:
warning: the mangled name of ‘void f(T) [with T = float __vector[4]]’ will
change in a future version of GCC
/sw/src/fink.build/gcc45-4.4.999-20100303/gcc-4.5-20100303/gcc/testsuite/g++.dg/abi/mangle40.C:
In instantiation of ‘float __vector[4] A<float __vector[4]>::t’:
/sw/src/fink.build/gcc45-4.4.999-20100303/gcc-4.5-20100303/gcc/testsuite/g++.dg/abi/mangle40.C:26:1:
  instantiated from here
/sw/src/fink.build/gcc45-4.4.999-20100303/gcc-4.5-20100303/gcc/testsuite/g++.dg/abi/mangle40.C:18:9:
warning: the mangled name of ‘A<float __vector[4]>::t’ will change in a future
version of GCC


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2010-03-04  2:31 ` howarth at nitro dot med dot uc dot edu
@ 2010-03-04  2:32 ` howarth at nitro dot med dot uc dot edu
  2010-03-04 15:21 ` jason at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-03-04  2:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from howarth at nitro dot med dot uc dot edu  2010-03-04 02:32 -------
Created an attachment (id=20017)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20017&action=view)
g++.dg/abi/mangle41.C assembly file from x86_64-apple-darwin10


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (13 preceding siblings ...)
  2010-03-04  2:32 ` howarth at nitro dot med dot uc dot edu
@ 2010-03-04 15:21 ` jason at gcc dot gnu dot org
  2010-03-05  0:49 ` howarth at nitro dot med dot uc dot edu
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-03-04 15:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from jason at gcc dot gnu dot org  2010-03-04 15:21 -------
Created an attachment (id=20022)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20022&action=view)
patch to fix mangle41.C on darwin

Ah, it seems darwin doesn't define ASM_OUTPUT_DEF.  Does this patch fix
mangle41.C?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (14 preceding siblings ...)
  2010-03-04 15:21 ` jason at gcc dot gnu dot org
@ 2010-03-05  0:49 ` howarth at nitro dot med dot uc dot edu
  2010-03-05  2:32 ` howarth at nitro dot med dot uc dot edu
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-03-05  0:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from howarth at nitro dot med dot uc dot edu  2010-03-05 00:48 -------
The patch doesn't allow a bootstrap. I get...

/sw/src/fink.build/gcc45-4.4.999-20100304/darwin_objdir/./prev-gcc/xgcc
-B/sw/src/fink.build/gcc45-4.4.999-20100304/darwin_objdir/./prev-gcc/
-B/sw/lib/gcc4.5/x86_64-apple-darwin10.3.0/bin/
-B/sw/lib/gcc4.5/x86_64-apple-darwin10.3.0/bin/
-B/sw/lib/gcc4.5/x86_64-apple-darwin10.3.0/lib/ -isystem
/sw/lib/gcc4.5/x86_64-apple-darwin10.3.0/include -isystem
/sw/lib/gcc4.5/x86_64-apple-darwin10.3.0/sys-include    -c  -g -O2 -gtoggle
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition
-Wc++-compat -fno-common  -DHAVE_CONFIG_H -I. -Icp -I../../gcc-4.5-20100304/gcc
-I../../gcc-4.5-20100304/gcc/cp -I../../gcc-4.5-20100304/gcc/../include
-I../../gcc-4.5-20100304/gcc/../libcpp/include -I/sw/include -I/sw/include 
-I../../gcc-4.5-20100304/gcc/../libdecnumber
-I../../gcc-4.5-20100304/gcc/../libdecnumber/dpd -I../libdecnumber
-I/sw/include  -I/sw/include -DCLOOG_PPL_BACKEND   -I/sw/include
../../gcc-4.5-20100304/gcc/cp/cp-objcp-common.c -o cp/cp-objcp-common.o
cc1: warnings being treated as errors
../../gcc-4.5-20100304/gcc/cp/mangle.c: In function 'mangle_decl':
../../gcc-4.5-20100304/gcc/cp/mangle.c:3065:17: error: unused variable 'alias'
../../gcc-4.5-20100304/gcc/cp/mangle.c:3065:12: error: unused variable 'id2'
../../gcc-4.5-20100304/gcc/cp/mangle.c:3064:11: error: unused variable
'save_ver'
make[3]: *** [cp/mangle.o] Error 1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (15 preceding siblings ...)
  2010-03-05  0:49 ` howarth at nitro dot med dot uc dot edu
@ 2010-03-05  2:32 ` howarth at nitro dot med dot uc dot edu
  2010-03-05  2:33 ` howarth at nitro dot med dot uc dot edu
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-03-05  2:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from howarth at nitro dot med dot uc dot edu  2010-03-05 02:31 -------
Created an attachment (id=20023)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20023&action=view)
revised mangle-darwin patch


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (16 preceding siblings ...)
  2010-03-05  2:32 ` howarth at nitro dot med dot uc dot edu
@ 2010-03-05  2:33 ` howarth at nitro dot med dot uc dot edu
  2010-03-05 23:00 ` jason at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-03-05  2:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from howarth at nitro dot med dot uc dot edu  2010-03-05 02:33 -------
(In reply to comment #17)
> Created an attachment (id=20023)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20023&action=view) [edit]
> revised mangle-darwin patch
> 

This revised patch bootstraps on x86_64-apple-darwin10 and
eliminates the mangle41.c failures. We are still left with the failures...

FAIL: g++.dg/abi/mangle40.C scan-assembler weak[^\n]*_Z1fIDv4_fEvT_
FAIL: g++.dg/abi/mangle40.C scan-assembler weak[^\n]*_ZN1AIDv4_fE1tE

Does the mangle40.s assembly provide any clues?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (17 preceding siblings ...)
  2010-03-05  2:33 ` howarth at nitro dot med dot uc dot edu
@ 2010-03-05 23:00 ` jason at gcc dot gnu dot org
  2010-03-06  3:45 ` howarth at nitro dot med dot uc dot edu
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-03-05 23:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from jason at gcc dot gnu dot org  2010-03-05 23:00 -------
I just checked in a change to mangle40.C.  Did it fix the darwin failures?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (18 preceding siblings ...)
  2010-03-05 23:00 ` jason at gcc dot gnu dot org
@ 2010-03-06  3:45 ` howarth at nitro dot med dot uc dot edu
  2010-03-07  5:36 ` jason at gcc dot gnu dot org
  2010-05-22  4:05 ` howarth at nitro dot med dot uc dot edu
  21 siblings, 0 replies; 22+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-03-06  3:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from howarth at nitro dot med dot uc dot edu  2010-03-06 03:45 -------
(In reply to comment #19)
> I just checked in a change to mangle40.C.  Did it fix the darwin failures?
> 

No. I still get...

Executing on host:
/sw/src/fink.build/gcc45-4.4.999-20100305/darwin_objdir/gcc/testsuite/g++/../../g++
-B/sw/src/fink.build/gcc45-4.4.999-20100305/darwin_objdir/gcc/testsuite/g++/../../
/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/gcc/testsuite/g++.dg/abi/mangle40.C
 -nostdinc++
-I/sw/src/fink.build/gcc45-4.4.999-20100305/darwin_objdir/x86_64-apple-darwin10.3.0/libstdc++-v3/include/x86_64-apple-darwin10.3.0
-I/sw/src/fink.build/gcc45-4.4.999-20100305/darwin_objdir/x86_64-apple-darwin10.3.0/libstdc++-v3/include
-I/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/libstdc++-v3/testsuite/util
-fmessage-length=0  -mavx -Wabi -fabi-version=2  -S  -o mangle40.s    (timeout
= 300)
/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/gcc/testsuite/g++.dg/abi/mangle40.C:
In instantiation of 'void f(T) [with T = float __vector[4]]':
/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/gcc/testsuite/g++.dg/abi/mangle40.C:27:18:
  instantiated from here
/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/gcc/testsuite/g++.dg/abi/mangle40.C:23:6:
warning: the mangled name of 'void f(T) [with T = float __vector[4]]' will
change in a future version of GCC
/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/gcc/testsuite/g++.dg/abi/mangle40.C:
In instantiation of 'float __vector[4] A<float __vector[4]>::t':
/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/gcc/testsuite/g++.dg/abi/mangle40.C:28:1:
  instantiated from here
/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/gcc/testsuite/g++.dg/abi/mangle40.C:20:9:
warning: the mangled name of 'A<float __vector[4]>::t' will change in a future
version of GCC
output is:
/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/gcc/testsuite/g++.dg/abi/mangle40.C:
In instantiation of 'void f(T) [with T = float __vector[4]]':
/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/gcc/testsuite/g++.dg/abi/mangle40.C:27:18:
  instantiated from here
/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/gcc/testsuite/g++.dg/abi/mangle40.C:23:6:
warning: the mangled name of 'void f(T) [with T = float __vector[4]]' will
change in a future version of GCC
/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/gcc/testsuite/g++.dg/abi/mangle40.C:
In instantiation of 'float __vector[4] A<float __vector[4]>::t':
/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/gcc/testsuite/g++.dg/abi/mangle40.C:28:1:
  instantiated from here
/sw/src/fink.build/gcc45-4.4.999-20100305/gcc-4.5-20100305/gcc/testsuite/g++.dg/abi/mangle40.C:20:9:
warning: the mangled name of 'A<float __vector[4]>::t' will change in a future
version of GCC

PASS: g++.dg/abi/mangle40.C  (test for warnings, line 20)
PASS: g++.dg/abi/mangle40.C  (test for warnings, line 23)
PASS: g++.dg/abi/mangle40.C (test for excess errors)
FAIL: g++.dg/abi/mangle40.C scan-assembler weak[^\n]*_Z1fIDv4_fEvT_
PASS: g++.dg/abi/mangle40.C scan-assembler weak[^\n]*_Z1fIU8__vectorfEvT_
FAIL: g++.dg/abi/mangle40.C scan-assembler weak[^\n]*_ZN1AIDv4_fE1tE
PASS: g++.dg/abi/mangle40.C scan-assembler weak[^\n]*_ZN1AIU8__vectorfE1tE

However the mangle41.C failures are gone.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (19 preceding siblings ...)
  2010-03-06  3:45 ` howarth at nitro dot med dot uc dot edu
@ 2010-03-07  5:36 ` jason at gcc dot gnu dot org
  2010-05-22  4:05 ` howarth at nitro dot med dot uc dot edu
  21 siblings, 0 replies; 22+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-03-07  5:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from jason at gcc dot gnu dot org  2010-03-07 05:36 -------
Hmm, that's odd.  Why would Darwin satisfy dg-require-alias when it doesn't
have ASM_OUTPUT_DEF?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/12909] ambiguity in mangling vector types
       [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
                   ` (20 preceding siblings ...)
  2010-03-07  5:36 ` jason at gcc dot gnu dot org
@ 2010-05-22  4:05 ` howarth at nitro dot med dot uc dot edu
  21 siblings, 0 replies; 22+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-05-22  4:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from howarth at nitro dot med dot uc dot edu  2010-05-22 04:04 -------
It appears that dg-require-alias doesn't report the absence of alias support if
only weak alias support is detected...

# If this target does not support the "alias" attribute, skip this
# test.

proc dg-require-alias { args } {
    set alias_available [ check_alias_available ]
    if { $alias_available == -1 } {
        upvar name name
        unresolved "$name"
    }
    if { $alias_available < 2 } {
        upvar dg-do-what dg-do-what
        set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
    }
}

in lib/target-supports-dg.exp and...

# proc check_alias_available { }
###############################

# Determine if the target toolchain supports the alias attribute.

# Returns 2 if the target supports aliases.  Returns 1 if the target
# only supports weak aliased.  Returns 0 if the target does not
# support aliases at all.  Returns -1 if support for aliases could not
# be determined.

in lib/target-supports.exp.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2010-05-22  4:05 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-12909-1068@http.gcc.gnu.org/bugzilla/>
2006-01-26  1:13 ` [Bug c++/12909] ambiguity in mangling vector types pinskia at gcc dot gnu dot org
2009-03-05 15:08 ` jason at gcc dot gnu dot org
2009-11-05 23:26 ` pinskia at gcc dot gnu dot org
2010-02-03 20:43 ` jason at gcc dot gnu dot org
2010-02-03 22:01 ` jason at gcc dot gnu dot org
2010-02-24 19:27 ` jason at gcc dot gnu dot org
2010-03-03 19:02 ` jason at gcc dot gnu dot org
2010-03-03 19:02 ` jason at gcc dot gnu dot org
2010-03-03 19:03 ` jason at gcc dot gnu dot org
2010-03-03 19:03 ` jason at gcc dot gnu dot org
2010-03-03 19:05 ` jason at gcc dot gnu dot org
2010-03-04  2:28 ` howarth at nitro dot med dot uc dot edu
2010-03-04  2:31 ` howarth at nitro dot med dot uc dot edu
2010-03-04  2:32 ` howarth at nitro dot med dot uc dot edu
2010-03-04 15:21 ` jason at gcc dot gnu dot org
2010-03-05  0:49 ` howarth at nitro dot med dot uc dot edu
2010-03-05  2:32 ` howarth at nitro dot med dot uc dot edu
2010-03-05  2:33 ` howarth at nitro dot med dot uc dot edu
2010-03-05 23:00 ` jason at gcc dot gnu dot org
2010-03-06  3:45 ` howarth at nitro dot med dot uc dot edu
2010-03-07  5:36 ` jason at gcc dot gnu dot org
2010-05-22  4:05 ` howarth at nitro dot med dot uc dot edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).