public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/41390]  New: [LTO] ICE in lto_output_tree_pointers, at lto-streamer-out.c:1285
@ 2009-09-17 19:29 rmansfield at qnx dot com
  2009-09-29  1:44 ` [Bug lto/41390] " rmansfield at qnx dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rmansfield at qnx dot com @ 2009-09-17 19:29 UTC (permalink / raw)
  To: gcc-bugs

$ cat t.c
int t() __attribute__ ((optimize("O1")));

int t() { }

$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: i686-pc-linux-gnu
Configured with: ../configure --enable-languages=c++ --enable-lto
--disable-bootstrap
Thread model: posix
gcc version 4.5.0 20090914 (experimental) [lto revision 151812] (lto merged
with rev 150842)

$ ./xgcc -B. -flto t.c
t.c:3:1: internal compiler error: in lto_output_tree_pointers, at
lto-streamer-out.c:1285
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [LTO] ICE in lto_output_tree_pointers, at lto-streamer-
                    out.c:1285
           Product: gcc
           Version: lto
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rmansfield at qnx dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug lto/41390] [LTO] ICE in lto_output_tree_pointers, at lto-streamer-out.c:1285
  2009-09-17 19:29 [Bug lto/41390] New: [LTO] ICE in lto_output_tree_pointers, at lto-streamer-out.c:1285 rmansfield at qnx dot com
@ 2009-09-29  1:44 ` rmansfield at qnx dot com
  2009-09-29  9:53 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rmansfield at qnx dot com @ 2009-09-29  1:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rmansfield at qnx dot com  2009-09-29 01:44 -------
This appears to be fixed in gcc version 4.5.0 20090928 (experimental) [lto
revision 152240] (lto merged with rev 150842)


-- 


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


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

* [Bug lto/41390] [LTO] ICE in lto_output_tree_pointers, at lto-streamer-out.c:1285
  2009-09-17 19:29 [Bug lto/41390] New: [LTO] ICE in lto_output_tree_pointers, at lto-streamer-out.c:1285 rmansfield at qnx dot com
  2009-09-29  1:44 ` [Bug lto/41390] " rmansfield at qnx dot com
@ 2009-09-29  9:53 ` rguenth at gcc dot gnu dot org
  2009-10-05  9:53 ` rguenth at gcc dot gnu dot org
  2009-10-18 12:56 ` rguenth at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-29  9:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-09-29 09:53 -------
I'll add a testcase after the merge.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-09-29 09:53:34
               date|                            |


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


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

* [Bug lto/41390] [LTO] ICE in lto_output_tree_pointers, at lto-streamer-out.c:1285
  2009-09-17 19:29 [Bug lto/41390] New: [LTO] ICE in lto_output_tree_pointers, at lto-streamer-out.c:1285 rmansfield at qnx dot com
  2009-09-29  1:44 ` [Bug lto/41390] " rmansfield at qnx dot com
  2009-09-29  9:53 ` rguenth at gcc dot gnu dot org
@ 2009-10-05  9:53 ` rguenth at gcc dot gnu dot org
  2009-10-18 12:56 ` rguenth at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-05  9:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2009-10-05 09:53 -------
Not yet fixed.  We still have

  if (CODE_CONTAINS_STRUCT (code, TS_OPTIMIZATION))
    {
      /* FIXME lto.  Not handled yet.  */
      gcc_unreachable ();
    }

  if (CODE_CONTAINS_STRUCT (code, TS_TARGET_OPTION))
    {
      /* FIXME lto.  Not handled yet.  */
      gcc_unreachable ();
    }

For 4.5 this at least needs to become a sorry().


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|rguenth at gcc dot gnu dot  |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW
           Keywords|                            |ice-on-valid-code


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


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

* [Bug lto/41390] [LTO] ICE in lto_output_tree_pointers, at lto-streamer-out.c:1285
  2009-09-17 19:29 [Bug lto/41390] New: [LTO] ICE in lto_output_tree_pointers, at lto-streamer-out.c:1285 rmansfield at qnx dot com
                   ` (2 preceding siblings ...)
  2009-10-05  9:53 ` rguenth at gcc dot gnu dot org
@ 2009-10-18 12:56 ` rguenth at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-18 12:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2009-10-18 12:55 -------
We now print

t.i:3:1: sorry, unimplemented: gimple bytecode streams do not support the
optimization attribute

Thus fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2009-10-18 12:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-17 19:29 [Bug lto/41390] New: [LTO] ICE in lto_output_tree_pointers, at lto-streamer-out.c:1285 rmansfield at qnx dot com
2009-09-29  1:44 ` [Bug lto/41390] " rmansfield at qnx dot com
2009-09-29  9:53 ` rguenth at gcc dot gnu dot org
2009-10-05  9:53 ` rguenth at gcc dot gnu dot org
2009-10-18 12:56 ` rguenth 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).