This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33505] Vectorizer (or spu target builtins) and PCH don't get along
- From: "irar at il dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2007 09:42:56 -0000
- Subject: [Bug target/33505] Vectorizer (or spu target builtins) and PCH don't get along
- References: <bug-33505-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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|0000-00-00 00:00:00 |2007-09-30 09:42:56
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33505