public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/19282] New: ICE in gfc_conv_array_initializer
@ 2005-01-05 22:04 Thomas dot Koenig at online dot de
  2005-01-05 22:14 ` [Bug fortran/19282] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Thomas dot Koenig at online dot de @ 2005-01-05 22:04 UTC (permalink / raw)
  To: gcc-bugs

>From comp.lang.fortran, by harper@mcs.vuw.ac.nz (John Harper).

$ cat char-digits.f90
IMPLICIT NONE
INTEGER,PARAMETER  ::count=10
CHARACTER,PARAMETER::digits*(count+1) = '01234567890'
INTEGER i
CHARACTER,PARAMETER:: chardummy(0:count)*2 = &
     (/ (digits(i/10+1:i/10+1)//digits(i+1:i+1),i=0,count) /)
write(*,*) (' ',chardummy(i),i=0,count)
END
$ gfortran char-digits.f90
char-digits.f90: In function 'MAIN__':
char-digits.f90:7: internal compiler error: in gfc_conv_array_initializer, at
fortran/trans-array.c:2938
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ gfortran -v
Using built-in specs.
Configured with: ../gcc/configure --prefix=/home/ig25 --enable-languages=c,c++,f95
Thread model: posix
gcc version 4.0.0 20050103 (experimental)
$ gfortran -dumpmachine
i686-pc-linux-gnu

-- 
           Summary: ICE in gfc_conv_array_initializer
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Thomas dot Koenig at online dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug fortran/19282] ICE in gfc_conv_array_initializer
  2005-01-05 22:04 [Bug fortran/19282] New: ICE in gfc_conv_array_initializer Thomas dot Koenig at online dot de
@ 2005-01-05 22:14 ` pinskia at gcc dot gnu dot org
  2005-05-01 14:17 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-05 22:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-05 22:14 -------
Confirmed, related to PR 18769

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |18769
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-05 22:14:06
               date|                            |


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


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

* [Bug fortran/19282] ICE in gfc_conv_array_initializer
  2005-01-05 22:04 [Bug fortran/19282] New: ICE in gfc_conv_array_initializer Thomas dot Koenig at online dot de
  2005-01-05 22:14 ` [Bug fortran/19282] " pinskia at gcc dot gnu dot org
@ 2005-05-01 14:17 ` pinskia at gcc dot gnu dot org
  2005-05-01 14:20 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-01 14:17 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 19282 depends on bug 18769, which changed state.

Bug 18769 Summary: gfortran: ICE in gfc_conv_array_initializer with array initialization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18769

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

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


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

* [Bug fortran/19282] ICE in gfc_conv_array_initializer
  2005-01-05 22:04 [Bug fortran/19282] New: ICE in gfc_conv_array_initializer Thomas dot Koenig at online dot de
  2005-01-05 22:14 ` [Bug fortran/19282] " pinskia at gcc dot gnu dot org
  2005-05-01 14:17 ` pinskia at gcc dot gnu dot org
@ 2005-05-01 14:20 ` pinskia at gcc dot gnu dot org
  2005-05-01 15:18 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-01 14:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-01 14:20 -------
Fixed for 4.0.0.

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


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


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

* [Bug fortran/19282] ICE in gfc_conv_array_initializer
  2005-01-05 22:04 [Bug fortran/19282] New: ICE in gfc_conv_array_initializer Thomas dot Koenig at online dot de
                   ` (2 preceding siblings ...)
  2005-05-01 14:20 ` pinskia at gcc dot gnu dot org
@ 2005-05-01 15:18 ` pinskia at gcc dot gnu dot org
  2005-05-01 15:20 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-01 15:18 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 19282 depends on bug 18769, which changed state.

Bug 18769 Summary: gfortran: ICE in gfc_conv_array_initializer with array initialization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18769

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

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


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

* [Bug fortran/19282] ICE in gfc_conv_array_initializer
  2005-01-05 22:04 [Bug fortran/19282] New: ICE in gfc_conv_array_initializer Thomas dot Koenig at online dot de
                   ` (3 preceding siblings ...)
  2005-05-01 15:18 ` pinskia at gcc dot gnu dot org
@ 2005-05-01 15:20 ` pinskia at gcc dot gnu dot org
  2005-05-01 15:21 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-01 15:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-01 15:20 -------
Woops must have used the wrong file to test with.

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


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


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

* [Bug fortran/19282] ICE in gfc_conv_array_initializer
  2005-01-05 22:04 [Bug fortran/19282] New: ICE in gfc_conv_array_initializer Thomas dot Koenig at online dot de
                   ` (4 preceding siblings ...)
  2005-05-01 15:20 ` pinskia at gcc dot gnu dot org
@ 2005-05-01 15:21 ` pinskia at gcc dot gnu dot org
  2005-09-18  5:30 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-01 15:21 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW
   Target Milestone|4.0.0                       |---


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


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

* [Bug fortran/19282] ICE in gfc_conv_array_initializer
  2005-01-05 22:04 [Bug fortran/19282] New: ICE in gfc_conv_array_initializer Thomas dot Koenig at online dot de
                   ` (5 preceding siblings ...)
  2005-05-01 15:21 ` pinskia at gcc dot gnu dot org
@ 2005-09-18  5:30 ` pinskia at gcc dot gnu dot org
  2005-09-18 15:44 ` [Bug fortran/19282] [4.0 only] " tkoenig at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-18  5:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-18 05:30 -------
Fixed in 4.1.0.

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


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


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

* [Bug fortran/19282] [4.0 only] ICE in gfc_conv_array_initializer
  2005-01-05 22:04 [Bug fortran/19282] New: ICE in gfc_conv_array_initializer Thomas dot Koenig at online dot de
                   ` (6 preceding siblings ...)
  2005-09-18  5:30 ` pinskia at gcc dot gnu dot org
@ 2005-09-18 15:44 ` tkoenig at gcc dot gnu dot org
  2005-09-18 16:53 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2005-09-18 15:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tkoenig at gcc dot gnu dot org  2005-09-18 15:44 -------
Not fixed in 4.0:

$ cat > pr19282.f90
IMPLICIT NONE
INTEGER,PARAMETER  ::count=10
CHARACTER,PARAMETER::digits*(count+1) = '01234567890'
INTEGER i
CHARACTER,PARAMETER:: chardummy(0:count)*2 = &
     (/ (digits(i/10+1:i/10+1)//digits(i+1:i+1),i=0,count) /)
write(*,*) (' ',chardummy(i),i=0,count)
END
$ gfortran pr19282.f90
pr19282.f90:0: internal compiler error: in gfc_set_constant_character_len, at
fortran/decl.c:664
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.0/configure --prefix=/home/ig25
--enable-languages=c,fortran
Thread model: posix
gcc version 4.0.2 20050917 (prerelease)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
      Known to fail|                            |4.0.2
      Known to work|                            |4.1.0
         Resolution|FIXED                       |
            Summary|ICE in                      |[4.0 only] ICE in
                   |gfc_conv_array_initializer  |gfc_conv_array_initializer


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


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

* [Bug fortran/19282] [4.0 only] ICE in gfc_conv_array_initializer
  2005-01-05 22:04 [Bug fortran/19282] New: ICE in gfc_conv_array_initializer Thomas dot Koenig at online dot de
                   ` (7 preceding siblings ...)
  2005-09-18 15:44 ` [Bug fortran/19282] [4.0 only] " tkoenig at gcc dot gnu dot org
@ 2005-09-18 16:53 ` pinskia at gcc dot gnu dot org
  2005-09-18 20:03 ` pinskia at gcc dot gnu dot org
  2005-09-18 20:27 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-18 16:53 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.0                       |4.0.2


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


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

* [Bug fortran/19282] [4.0 only] ICE in gfc_conv_array_initializer
  2005-01-05 22:04 [Bug fortran/19282] New: ICE in gfc_conv_array_initializer Thomas dot Koenig at online dot de
                   ` (8 preceding siblings ...)
  2005-09-18 16:53 ` pinskia at gcc dot gnu dot org
@ 2005-09-18 20:03 ` pinskia at gcc dot gnu dot org
  2005-09-18 20:27 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-18 20:03 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.2                       |4.0.3


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


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

* [Bug fortran/19282] [4.0 only] ICE in gfc_conv_array_initializer
  2005-01-05 22:04 [Bug fortran/19282] New: ICE in gfc_conv_array_initializer Thomas dot Koenig at online dot de
                   ` (9 preceding siblings ...)
  2005-09-18 20:03 ` pinskia at gcc dot gnu dot org
@ 2005-09-18 20:27 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-18 20:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-18 20:27 -------
All of these are fixed in 4.1.0. Since 4.0.2 is the last 4.0 release before a 4.1.0 release will be made, 
4.0.2 and 4.0.1 were special releases for gfrotran.  4.0.3 should be a normal release for GCC and 
gfortran in that regressions are the only changes.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.0.3                       |4.1.0


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


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

end of thread, other threads:[~2005-09-18 20:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-05 22:04 [Bug fortran/19282] New: ICE in gfc_conv_array_initializer Thomas dot Koenig at online dot de
2005-01-05 22:14 ` [Bug fortran/19282] " pinskia at gcc dot gnu dot org
2005-05-01 14:17 ` pinskia at gcc dot gnu dot org
2005-05-01 14:20 ` pinskia at gcc dot gnu dot org
2005-05-01 15:18 ` pinskia at gcc dot gnu dot org
2005-05-01 15:20 ` pinskia at gcc dot gnu dot org
2005-05-01 15:21 ` pinskia at gcc dot gnu dot org
2005-09-18  5:30 ` pinskia at gcc dot gnu dot org
2005-09-18 15:44 ` [Bug fortran/19282] [4.0 only] " tkoenig at gcc dot gnu dot org
2005-09-18 16:53 ` pinskia at gcc dot gnu dot org
2005-09-18 20:03 ` pinskia at gcc dot gnu dot org
2005-09-18 20:27 ` 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).