Bug 25963 - vector abi decision
Summary: vector abi decision
Status: RESOLVED DUPLICATE of bug 12909
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-26 01:11 UTC by Mike Stump
Modified: 2006-01-26 01:13 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Stump 2006-01-26 01:11:33 UTC
Given:

typedef short vSInt16 __attribute__ (( __vector_size__ (16) ));
void f(vSInt16 a) { }

typedef short vSInt8 __attribute__ (( __vector_size__ (8) ));
void f(vSInt8 a) {}

we need to decide what to do with it, what mangling should be used on so on.

The expected result was that the file would compile and assemble, producing an object file.  The two versions of function f would have different names because their arguments are of different types.

instead we get the following diagnostic from the assembler:
  /var/rmp//ccmrZpNN.s:18:FATAL:Symbol __Z1fu8__vectors already defined
Comment 1 Mike Stump 2006-01-26 01:12:29 UTC
radr://4421275
Comment 2 Andrew Pinski 2006-01-26 01:13:12 UTC
This is a dup of bug 12909.

*** This bug has been marked as a duplicate of 12909 ***