public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/41713]  New: -O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732
@ 2009-10-15  8:28 burnus at gcc dot gnu dot org
  2009-10-16  9:04 ` [Bug middle-end/41713] " rguenth at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-10-15  8:28 UTC (permalink / raw)
  To: gcc-bugs

$ gfortran -O -flto -g -c test.f
test.f: In function 'makenumberstring_':
test.f:8:0: internal compiler error: in lto_output_tree_ref, at
lto-streamer-out.c:732

That's with Rev. 152840 (and thus later then Rev. 152767 which fixed PR 41521).

Reduced testcase:

      FUNCTION makenumberstring(x)
      IMPLICIT NONE
      REAL, INTENT(IN)     :: x
      CHARACTER(len=20)      :: makenumberstring
      INTEGER             :: xx
      xx = x**2  ! << ICE
      makenumberstring = ''
      END FUNCTION


-- 
           Summary: -O -flto -g: ICE in lto_output_tree_ref, at lto-
                    streamer-out.c:732
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, lto
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

* [Bug middle-end/41713] -O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732
  2009-10-15  8:28 [Bug middle-end/41713] New: -O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732 burnus at gcc dot gnu dot org
@ 2009-10-16  9:04 ` rguenth at gcc dot gnu dot org
  2009-10-16 11:41 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-16  9:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-10-16 09:04 -------
Confirmed.  Alex didn't update LTO with the introduction of DEBUG_EXPR_DECLs.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-10-16 09:04:45
               date|                            |


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


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

* [Bug middle-end/41713] -O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732
  2009-10-15  8:28 [Bug middle-end/41713] New: -O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732 burnus at gcc dot gnu dot org
  2009-10-16  9:04 ` [Bug middle-end/41713] " rguenth at gcc dot gnu dot org
@ 2009-10-16 11:41 ` rguenth at gcc dot gnu dot org
  2009-10-16 14:21 ` rguenth at gcc dot gnu dot org
  2009-10-16 14:24 ` 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-16 11:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-10-16 11:41 -------
I'll fix it anyway.


-- 

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|NEW                         |ASSIGNED
   Last reconfirmed|2009-10-16 09:04:45         |2009-10-16 11:41:16
               date|                            |


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


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

* [Bug middle-end/41713] -O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732
  2009-10-15  8:28 [Bug middle-end/41713] New: -O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732 burnus at gcc dot gnu dot org
  2009-10-16  9:04 ` [Bug middle-end/41713] " rguenth at gcc dot gnu dot org
  2009-10-16 11:41 ` rguenth at gcc dot gnu dot org
@ 2009-10-16 14:21 ` rguenth at gcc dot gnu dot org
  2009-10-16 14:24 ` 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-16 14:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2009-10-16 14:21 -------
Subject: Bug 41713

Author: rguenth
Date: Fri Oct 16 14:21:05 2009
New Revision: 152902

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152902
Log:
2009-10-16  Richard Guenther  <rguenther@suse.de>

        PR lto/41713
        * lto-streamer-out.c (lto_output_tree_ref): Handle DEBUG_EXPR_DECL
        the same as VAR_DECL.

        * gfortran.dg/lto/20091016-1_0.f90: New testcase.

Added:
    trunk/gcc/testsuite/gfortran.dg/lto/20091016-1_0.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lto-streamer-out.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug middle-end/41713] -O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732
  2009-10-15  8:28 [Bug middle-end/41713] New: -O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732 burnus at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-10-16 14:21 ` rguenth at gcc dot gnu dot org
@ 2009-10-16 14:24 ` 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-16 14:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2009-10-16 14:23 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-15  8:28 [Bug middle-end/41713] New: -O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732 burnus at gcc dot gnu dot org
2009-10-16  9:04 ` [Bug middle-end/41713] " rguenth at gcc dot gnu dot org
2009-10-16 11:41 ` rguenth at gcc dot gnu dot org
2009-10-16 14:21 ` rguenth at gcc dot gnu dot org
2009-10-16 14:24 ` 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).