public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/35123]  New: ICE in fold_convert, at fold-const.c:2248
@ 2008-02-07 12:02 sfilippone at uniroma2 dot it
  2008-02-07 12:03 ` [Bug fortran/35123] " sfilippone at uniroma2 dot it
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: sfilippone at uniroma2 dot it @ 2008-02-07 12:02 UTC (permalink / raw)
  To: gcc-bugs

The test case produces the following output on both 4.2.3 and 4.2.2; works fine
under 4.3-20080201
-------------------------------------------
[sfilippo@localhost bugtest]$ gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.2.3/configure --prefix=/usr/local/gcc42
--with-mpfr=/usr/local/mpfr --with-gmp=/usr/local/gmp
Thread model: posix
gcc version 4.2.3
[sfilippo@localhost bugtest]$ gfortran -c foo_bug.f90 
foo_bug.f90: In function 'foo_cdall':
foo_bug.f90:56: internal compiler error: in fold_convert, at fold-const.c:2248
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE in fold_convert, at fold-const.c:2248
           Product: gcc
           Version: 4.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sfilippone at uniroma2 dot it
 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=35123


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

* [Bug fortran/35123] ICE in fold_convert, at fold-const.c:2248
  2008-02-07 12:02 [Bug fortran/35123] New: ICE in fold_convert, at fold-const.c:2248 sfilippone at uniroma2 dot it
@ 2008-02-07 12:03 ` sfilippone at uniroma2 dot it
  2008-02-07 14:22 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: sfilippone at uniroma2 dot it @ 2008-02-07 12:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from sfilippone at uniroma2 dot it  2008-02-07 12:02 -------
Created an attachment (id=15114)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15114&action=view)
test case


-- 


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


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

* [Bug fortran/35123] ICE in fold_convert, at fold-const.c:2248
  2008-02-07 12:02 [Bug fortran/35123] New: ICE in fold_convert, at fold-const.c:2248 sfilippone at uniroma2 dot it
  2008-02-07 12:03 ` [Bug fortran/35123] " sfilippone at uniroma2 dot it
@ 2008-02-07 14:22 ` rguenth at gcc dot gnu dot org
  2008-02-07 14:55 ` sfilippone at uniroma2 dot it
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-02-07 14:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2008-02-07 14:21 -------
gfortran 4.1 errors with

 In file t.f90:3

    integer, allocatable :: md(:), g2l(:)
                       1
Error: Attribute at (1) is not allowed in a TYPE definition
 In file t.f90:4

  end type foo_type
                  1
Error: Derived type definition at (1) has no components
 In file t.f90:16

      use foo_type_mod
                     1
Fatal Error: Can't open module file 'foo_type_mod.mod' for reading at (1): No
such file or directory

4.3 works.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.3.0


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


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

* [Bug fortran/35123] ICE in fold_convert, at fold-const.c:2248
  2008-02-07 12:02 [Bug fortran/35123] New: ICE in fold_convert, at fold-const.c:2248 sfilippone at uniroma2 dot it
  2008-02-07 12:03 ` [Bug fortran/35123] " sfilippone at uniroma2 dot it
  2008-02-07 14:22 ` rguenth at gcc dot gnu dot org
@ 2008-02-07 14:55 ` sfilippone at uniroma2 dot it
  2008-02-10 15:17 ` [Bug fortran/35123] [4.2 only] " fxcoudert at gcc dot gnu dot org
  2008-02-10 17:59 ` sfilippone at uniroma2 dot it
  4 siblings, 0 replies; 6+ messages in thread
From: sfilippone at uniroma2 dot it @ 2008-02-07 14:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from sfilippone at uniroma2 dot it  2008-02-07 14:54 -------
(In reply to comment #2)
> gfortran 4.1 errors with
> 
>  In file t.f90:3
> 
>     integer, allocatable :: md(:), g2l(:)
>                        1
> Error: Attribute at (1) is not allowed in a TYPE definition
>

The failure in 4.1 is due to the support of language extension TR 15581, which
was only added in 4.2.0. 
Salvatore


-- 


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


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

* [Bug fortran/35123] [4.2 only] ICE in fold_convert, at fold-const.c:2248
  2008-02-07 12:02 [Bug fortran/35123] New: ICE in fold_convert, at fold-const.c:2248 sfilippone at uniroma2 dot it
                   ` (2 preceding siblings ...)
  2008-02-07 14:55 ` sfilippone at uniroma2 dot it
@ 2008-02-10 15:17 ` fxcoudert at gcc dot gnu dot org
  2008-02-10 17:59 ` sfilippone at uniroma2 dot it
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2008-02-10 15:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from fxcoudert at gcc dot gnu dot org  2008-02-10 15:16 -------
It's 4.2 only and not a regression, so it will not be fixed. Closing as
WONTFIX, if someone else has a reason to suggest otherwise please speak up and
reopen it.

Sorry for the time you spent reducing it, Salvatore, and thanks for your
report.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |RESOLVED
  GCC build triplet|i686-pc-linux-gnu           |
   GCC host triplet|i686-pc-linux-gnu           |
 GCC target triplet|i686-pc-linux-gnu           |
           Keywords|                            |ice-on-valid-code
         Resolution|                            |WONTFIX
            Summary|ICE in fold_convert, at     |[4.2 only] ICE in
                   |fold-const.c:2248           |fold_convert, at fold-
                   |                            |const.c:2248


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


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

* [Bug fortran/35123] [4.2 only] ICE in fold_convert, at fold-const.c:2248
  2008-02-07 12:02 [Bug fortran/35123] New: ICE in fold_convert, at fold-const.c:2248 sfilippone at uniroma2 dot it
                   ` (3 preceding siblings ...)
  2008-02-10 15:17 ` [Bug fortran/35123] [4.2 only] " fxcoudert at gcc dot gnu dot org
@ 2008-02-10 17:59 ` sfilippone at uniroma2 dot it
  4 siblings, 0 replies; 6+ messages in thread
From: sfilippone at uniroma2 dot it @ 2008-02-10 17:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from sfilippone at uniroma2 dot it  2008-02-10 17:58 -------
(In reply to comment #4)
Fair enough. While reducing the test case I also found a workaround, so it's
not a problem for me.. 


-- 


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


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

end of thread, other threads:[~2008-02-10 17:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-07 12:02 [Bug fortran/35123] New: ICE in fold_convert, at fold-const.c:2248 sfilippone at uniroma2 dot it
2008-02-07 12:03 ` [Bug fortran/35123] " sfilippone at uniroma2 dot it
2008-02-07 14:22 ` rguenth at gcc dot gnu dot org
2008-02-07 14:55 ` sfilippone at uniroma2 dot it
2008-02-10 15:17 ` [Bug fortran/35123] [4.2 only] " fxcoudert at gcc dot gnu dot org
2008-02-10 17:59 ` sfilippone at uniroma2 dot it

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