[Bug target/17415] 3dNOW and gcc3.3 possible oddities
steven at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Dec 19 15:05:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list