[Bug target/33505] Vectorizer (or spu target builtins) and PCH don't get along

2007-10-02 Thread irar at il dot ibm dot com


--- Comment #3 from irar at il dot ibm dot com  2007-10-02 09:22 ---
(In reply to comment #2)
 This is kinda on my list of stuff to forward port from the internal PS3
 toolchain.

Maybe I can help with testing this patch for mainline?

Thanks,
Ira


-- 


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



[Bug target/33505] Vectorizer (or spu target builtins) and PCH don't get along

2007-09-30 Thread irar at il dot ibm dot com


--- Comment #1 from irar at il dot ibm dot com  2007-09-30 09:42 ---
I managed to reproduce it. 

Here http://gcc.gnu.org/ml/gcc-patches/2007-09/msg01559.html Richard suggested
to add a GTY(()) to
struct spu_builtin_description spu_builtins[] = {
#define DEF_BUILTIN(fcode, icode, name, type, params) \
  {fcode, icode, name, type, params, NULL_TREE},
#include spu-builtins.def
#undef DEF_BUILTIN
};

Actually there is a GTY(()) in spu-builtins.h
 extern GTY(()) struct spu_builtin_description spu_builtins[];

But anyway I tried to the following and it didn't help:
Index: spu.c
===
--- spu.c   (revision 128708)
+++ spu.c   (working copy)
@@ -4459,7 +4459,7 @@
 ^L
 /* Create the built-in types and functions */

-struct spu_builtin_description spu_builtins[] = {
+struct spu_builtin_description GTY (()) spu_builtins[] = {
 #define DEF_BUILTIN(fcode, icode, name, type, params) \
   {fcode, icode, name, type, params, NULL_TREE},
 #include spu-builtins.def

Ira


-- 

irar at il dot ibm dot com changed:

   What|Removed |Added

 CC||irar at il dot ibm dot com,
   ||richard dot guenther at
   ||gmail dot com
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2007-09-30 09:42:56
   date||


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



[Bug target/33505] Vectorizer (or spu target builtins) and PCH don't get along

2007-09-30 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2007-09-30 09:53 ---
This is kinda on my list of stuff to forward port from the internal PS3
toolchain.


-- 


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