public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/33505]  New: Vectorizer (or spu target builtins) and PCH don't get along
@ 2007-09-19 22:45 pinskia at gcc dot gnu dot org
  2007-09-30  9:43 ` [Bug target/33505] " irar at il dot ibm dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-09-19 22:45 UTC (permalink / raw)
  To: gcc-bugs

As reported in http://gcc.gnu.org/ml/gcc-patches/2007-09/msg01505.html

The spu target builtins are not GC safe.


-- 
           Summary: Vectorizer (or spu target builtins) and PCH don't get
                    along
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, GC
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
 GCC build triplet: spu-elf


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/33505] Vectorizer (or spu target builtins) and PCH don't get along
  2007-09-19 22:45 [Bug target/33505] New: Vectorizer (or spu target builtins) and PCH don't get along pinskia at gcc dot gnu dot org
@ 2007-09-30  9:43 ` irar at il dot ibm dot com
  2007-09-30  9:54 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: irar at il dot ibm dot com @ 2007-09-30  9:43 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/33505] Vectorizer (or spu target builtins) and PCH don't get along
  2007-09-19 22:45 [Bug target/33505] New: Vectorizer (or spu target builtins) and PCH don't get along pinskia at gcc dot gnu dot org
  2007-09-30  9:43 ` [Bug target/33505] " irar at il dot ibm dot com
@ 2007-09-30  9:54 ` pinskia at gcc dot gnu dot org
  2007-10-02  9:22 ` irar at il dot ibm dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-09-30  9:54 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/33505] Vectorizer (or spu target builtins) and PCH don't get along
  2007-09-19 22:45 [Bug target/33505] New: Vectorizer (or spu target builtins) and PCH don't get along pinskia at gcc dot gnu dot org
  2007-09-30  9:43 ` [Bug target/33505] " irar at il dot ibm dot com
  2007-09-30  9:54 ` pinskia at gcc dot gnu dot org
@ 2007-10-02  9:22 ` irar at il dot ibm dot com
  2009-10-14  4:02 ` [Bug target/33505] spu target builtins and vectorizer " pinskia at gcc dot gnu dot org
  2009-10-14  4:03 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: irar at il dot ibm dot com @ 2007-10-02  9:22 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/33505] spu target builtins and vectorizer don't get along
  2007-09-19 22:45 [Bug target/33505] New: Vectorizer (or spu target builtins) and PCH don't get along pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-10-02  9:22 ` irar at il dot ibm dot com
@ 2009-10-14  4:02 ` pinskia at gcc dot gnu dot org
  2009-10-14  4:03 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-10-14  4:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2009-10-14 04:02 -------
*** Bug 40715 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ryan dot sammartino at gmail
                   |                            |dot com


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/33505] spu target builtins and vectorizer don't get along
  2007-09-19 22:45 [Bug target/33505] New: Vectorizer (or spu target builtins) and PCH don't get along pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-10-14  4:02 ` [Bug target/33505] spu target builtins and vectorizer " pinskia at gcc dot gnu dot org
@ 2009-10-14  4:03 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-10-14  4:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2009-10-14 04:03 -------
Fixed by:
2009-04-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>

        * config/spu/spu-builtins.h: Delete file.
....


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-10-14  4:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-19 22:45 [Bug target/33505] New: Vectorizer (or spu target builtins) and PCH don't get along pinskia at gcc dot gnu dot org
2007-09-30  9:43 ` [Bug target/33505] " irar at il dot ibm dot com
2007-09-30  9:54 ` pinskia at gcc dot gnu dot org
2007-10-02  9:22 ` irar at il dot ibm dot com
2009-10-14  4:02 ` [Bug target/33505] spu target builtins and vectorizer " pinskia at gcc dot gnu dot org
2009-10-14  4:03 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).