This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/17415] 3dNOW and gcc3.3 possible oddities
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Dec 2004 15:05:29 -0000
- Subject: [Bug target/17415] 3dNOW and gcc3.3 possible oddities
- References: <20040911075421.17415.plm@pcug.org.au>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From steven at gcc dot gnu dot org 2004-12-19 15:05 -------
With GCC4 (CVS HEAD) I can't compile the test case:
t.cc:1: warning: specifying vector types with __attribute__ ((mode)) is
deprecated
t.cc:1: warning: use __attribute__ ((vector_size)) instead
t.cc:1: error: mode 'V2SF' applied to inappropriate type
t.cc: In function 'vec2f mul(const vec2f&, const vec2f&)':
t.cc:26: error: '__builtin_ia32_pfmul' was not declared in this scope
With gcc 3.3.4, I also get:
t.cc: In function `vec2f mul(const vec2f&, const vec2f&)':
t.cc:28: error: `__builtin_ia32_pfmul' undeclared (first use this function)
t.cc:28: error: (Each undeclared identifier is reported only once for each
function it appears in.)
For the C test case, I get:
t.c: In function `mul':
t.c:15: error: cast to union type from type not present in union
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17415