[Bug c++/35889] spu_check_builtin_parm function fails on templates.

2008-12-28 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-29 02:28 --- If you are using the specific intrinsics, you need to use a literal n here. Try: template < typename T> inline T rot_veci( T v, const int n ) __atrribute__((always_inline)) template < typename T> inline T rot_veci

[Bug c++/35889] spu_check_builtin_parm function fails on templates.

2008-04-09 Thread rbertran at ac dot upc dot edu
--- Comment #3 from rbertran at ac dot upc dot edu 2008-04-09 15:25 --- Created an attachment (id=15457) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15457&action=view) Temp file generated when -save-temps flag is set -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35889

[Bug c++/35889] spu_check_builtin_parm function fails on templates.

2008-04-09 Thread rbertran at ac dot upc dot edu
--- Comment #2 from rbertran at ac dot upc dot edu 2008-04-09 15:24 --- Command executed: spu-g++ -ffreestanding -Wall -ffast-math -fno-rtti -fno-exceptions --function-sections --data-sections -fsigned-char -I -I../.. -I../../include -I./org -I. `pkg-config --cflags opencv` -I/usr/spu/i

[Bug c++/35889] spu_check_builtin_parm function fails on templates.

2008-04-09 Thread rbertran at ac dot upc dot edu
--- Comment #1 from rbertran at ac dot upc dot edu 2008-04-09 15:20 --- Created an attachment (id=15456) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15456&action=view) Temp file generated when -save-temps flag is set -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35889