public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/12366] New: array assignment fails
@ 2003-09-22 14:24 tcc at sentex dot net
  2003-09-26  7:06 ` [Bug fortran/12366] " toon at moene dot indiv dot nluug dot nl
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: tcc at sentex dot net @ 2003-09-22 14:24 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: array assignment fails
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tcc at sentex dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: 3.5-tree-ssa 20030920
  GCC host triplet: i386-pc-linux-gnu
GCC target triplet: i386-pc-linux-gnu

This bug was encountered using the precompiled biaries recently uploaded to
Sourceforge. "Internal compiler error" occurs in following code:

program testg
real, dimension(5) :: a
real, dimension(3) :: b
a=(/ 1.5,2.1,3.2,4.6,5.3 /)
b=a((/ 2,3,1 /))  !fails
print *, b
end


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

* [Bug fortran/12366] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
@ 2003-09-26  7:06 ` toon at moene dot indiv dot nluug dot nl
  2003-09-27  6:28 ` pinskia at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: toon at moene dot indiv dot nluug dot nl @ 2003-09-26  7:06 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


toon at moene dot indiv dot nluug dot nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-09-26 06:00:00
               date|                            |
            Summary|array assignment fails      |array assignment fails


------- Additional Comments From toon at moene dot indiv dot nluug dot nl  2003-09-26 05:59 -------
Confirmed with tree-ssa gfortran 20030925:

f951: ../../gcc/gcc/fortran/trans-array.c:1076: gfc_conv_ss_descriptor:
Assertion ss->expr->expr_type == EXPR_VARIABLE failed.
12366.f95: In function `MAIN__':

12366.f95:5: internal compiler error: Aborted.

Toon Moene


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

* [Bug fortran/12366] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
  2003-09-26  7:06 ` [Bug fortran/12366] " toon at moene dot indiv dot nluug dot nl
@ 2003-09-27  6:28 ` pinskia at gcc dot gnu dot org
  2004-01-25 17:47 ` [Bug fortran/12366] [gfortran] " dhazeghi at yahoo dot com
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-27  6:28 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |tree-ssa


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

* [Bug fortran/12366] [gfortran] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
  2003-09-26  7:06 ` [Bug fortran/12366] " toon at moene dot indiv dot nluug dot nl
  2003-09-27  6:28 ` pinskia at gcc dot gnu dot org
@ 2004-01-25 17:47 ` dhazeghi at yahoo dot com
  2004-04-22 11:52 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-25 17:47 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|2003-12-04 08:46:10         |2004-01-25 17:47:03
               date|                            |


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


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

* [Bug fortran/12366] [gfortran] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (2 preceding siblings ...)
  2004-01-25 17:47 ` [Bug fortran/12366] [gfortran] " dhazeghi at yahoo dot com
@ 2004-04-22 11:52 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
  2004-05-05 16:25 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Tobias dot Schlueter at physik dot uni-muenchen dot de @ 2004-04-22 11:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From Tobias dot Schlueter at physik dot uni-muenchen dot de  2004-04-22 11:23 -------
The current tree seems to ignore the assignment which failed before. I'll see if
I can find out what's happening. Compiler output below:

[tobi@marktplatz src]$ gcc/build/gcc/f951 testg.f90 -fdump-parse-tree

        Namespace: A-H: (REAL 4) I-N: (INTEGER 4) O-Z: (REAL 4)
        symtree: a  Ambig 0
        symbol a (REAL 4)(VARIABLE UNKNOWN-INTENT UNKNOWN-ACCESS UNKNOWN-PROC
DIMENSION)
        Array spec:(1 AS_EXPLICIT 1 5 )

        symtree: b  Ambig 0
        symbol b (REAL 4)(VARIABLE UNKNOWN-INTENT UNKNOWN-ACCESS UNKNOWN-PROC
DIMENSION)
        Array spec:(1 AS_EXPLICIT 1 3 )

        symtree: testg  Ambig 0
        symbol testg (UNKNOWN 0)(PROGRAM UNKNOWN-INTENT UNKNOWN-ACCESS UNKNOWN-PROC)


      ASSIGN a(FULL) (/ 0.15e1 , 0.21e1 , 0.32e1 , 0.46e1 , 0.53e1 /)
      WRITE UNIT=6 FMT=-1
      TRANSFER b(FULL)
      DT_END

 MAIN__

Execution times (seconds)
 life analysis         :   0.00 ( 0%) usr   0.00 ( 0%) sys   0.01 (20%) wall
 parser                :   0.01 (20%) usr   0.00 ( 0%) sys   0.01 (20%) wall
 expand                :   0.01 (20%) usr   0.00 ( 0%) sys   0.00 ( 0%) wall
 TOTAL                 :   0.05             0.00             0.05
Extra diagnostic checks enabled; compiler may run slowly.
Configure with --disable-checking to disable checks.
[tobi@marktplatz src]$

-- 


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


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

* [Bug fortran/12366] [gfortran] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (3 preceding siblings ...)
  2004-04-22 11:52 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
@ 2004-05-05 16:25 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
  2004-05-05 16:57 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Tobias dot Schlueter at physik dot uni-muenchen dot de @ 2004-05-05 16:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From Tobias dot Schlueter at physik dot uni-muenchen dot de  2004-05-05 16:25 -------
(In reply to comment #2)
> The current tree seems to ignore the assignment which failed before. I'll see if
Looks like I had messed up the testcase. Seems like even cut'n'paste ain't
foolproof.

What is happening is this:
[tobi@marktplatz tests]$ gfortran pr12366.f90 -fdump-parse-tree

        Namespace: A-H: (REAL 4) I-N: (INTEGER 4) O-Z: (REAL 4)
        symtree: a  Ambig 0
        symbol a (REAL 4)(VARIABLE UNKNOWN-INTENT UNKNOWN-ACCESS UNKNOWN-PROC
DIMENSION)
        Array spec:(1 AS_EXPLICIT 1 5 )
 
        symtree: b  Ambig 0
        symbol b (REAL 4)(VARIABLE UNKNOWN-INTENT UNKNOWN-ACCESS UNKNOWN-PROC
DIMENSION)
        Array spec:(1 AS_EXPLICIT 1 3 )
 
        symtree: testg  Ambig 0
        symbol testg (UNKNOWN 0)(PROGRAM UNKNOWN-INTENT UNKNOWN-ACCESS UNKNOWN-PROC)
 
 
      ASSIGN a(FULL) (/ 0.15e1 , 0.21e1 , 0.32e1 , 0.46e1 , 0.53e1 /)
      ASSIGN b(FULL) a((/ 2 , 3 , 1 /):)
      WRITE UNIT=6 FMT=-1
      TRANSFER b(FULL)
      DT_END
 
f951: ../../gcc/gcc/fortran/trans-array.c:1067: gfc_conv_ss_descriptor:
Assertion `ss->expr->expr_type == EXPR_VARIABLE' failed.
pr12366.f90: In function `MAIN__':
pr12366.f90:5: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
[tobi@marktplatz tests]$

Note the assignment to b:
      ASSIGN b(FULL) a((/ 2 , 3 , 1 /):)
                                      ^ this is probably our bug

An array index of the form (/.../) should not be matched as an open-ended range.
(It could also be that the parse-tree dumper is at fault, and the problem is
somewhere else.) I'll see if can cook up a patch.

-- 


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


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

* [Bug fortran/12366] [gfortran] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (4 preceding siblings ...)
  2004-05-05 16:25 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
@ 2004-05-05 16:57 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
  2004-05-26 22:55 ` pinskia at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Tobias dot Schlueter at physik dot uni-muenchen dot de @ 2004-05-05 16:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From Tobias dot Schlueter at physik dot uni-muenchen dot de  2004-05-05 16:57 -------
(In reply to comment #3)
> Note the assignment to b:
>       ASSIGN b(FULL) a((/ 2 , 3 , 1 /):)
>                                       ^ this is probably our bug
> 
> An array index of the form (/.../) should not be matched as an open-ended range.
> (It could also be that the parse-tree dumper is at fault, and the problem is
> somewhere else.) I'll see if can cook up a patch.

That was the result of an omission in the dumper. So no, I can't cook up a patch.


-- 


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


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

* [Bug fortran/12366] [gfortran] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (5 preceding siblings ...)
  2004-05-05 16:57 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
@ 2004-05-26 22:55 ` pinskia at gcc dot gnu dot org
  2004-06-13  9:06 ` pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-26 22:55 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.5.0                       |---


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


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

* [Bug fortran/12366] [gfortran] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (6 preceding siblings ...)
  2004-05-26 22:55 ` pinskia at gcc dot gnu dot org
@ 2004-06-13  9:06 ` pinskia at gcc dot gnu dot org
  2004-10-05 18:08 ` [Bug fortran/12366] " pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-13  9:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-13 09:06 -------
*** Bug 15961 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Mart dot Rentmeester at nn-
                   |                            |online dot org


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


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

* [Bug fortran/12366] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (7 preceding siblings ...)
  2004-06-13  9:06 ` pinskia at gcc dot gnu dot org
@ 2004-10-05 18:08 ` pinskia at gcc dot gnu dot org
  2004-10-08 21:36 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-05 18:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-05 18:08 -------
*** Bug 17847 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ole at scali dot no


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


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

* [Bug fortran/12366] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (8 preceding siblings ...)
  2004-10-05 18:08 ` [Bug fortran/12366] " pinskia at gcc dot gnu dot org
@ 2004-10-08 21:36 ` pinskia at gcc dot gnu dot org
  2004-11-08 18:11 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-08 21:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-08 21:36 -------
*** Bug 17899 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yanait at ornl dot gov


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


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

* [Bug fortran/12366] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (9 preceding siblings ...)
  2004-10-08 21:36 ` pinskia at gcc dot gnu dot org
@ 2004-11-08 18:11 ` pinskia at gcc dot gnu dot org
  2004-12-10  9:54 ` paulthomas2 at wanadoo dot fr
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-08 18:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-08 18:11 -------
*** Bug 18379 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mimo2 at free dot fr


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


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

* [Bug fortran/12366] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (10 preceding siblings ...)
  2004-11-08 18:11 ` pinskia at gcc dot gnu dot org
@ 2004-12-10  9:54 ` paulthomas2 at wanadoo dot fr
  2004-12-13 13:52 ` Thomas dot Koenig at online dot de
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: paulthomas2 at wanadoo dot fr @ 2004-12-10  9:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From paulthomas2 at wanadoo dot fr  2004-12-10 09:54 -------
For what it is worth:

program testg
real, dimension(5) :: a=(/ 1.5,2.1,3.2,4.6,5.3 /)
integer,dimension(3) :: i
i=(/ 2,3,1 /)
print *, a((/ 2,3,1 /))       ! ICEs
! print *, a(i)                               !works fine
end

-- 


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


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

* [Bug fortran/12366] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (11 preceding siblings ...)
  2004-12-10  9:54 ` paulthomas2 at wanadoo dot fr
@ 2004-12-13 13:52 ` Thomas dot Koenig at online dot de
  2005-03-26 22:02 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Thomas dot Koenig at online dot de @ 2004-12-13 13:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From Thomas dot Koenig at online dot de  2004-12-13 13:52 -------
*** Bug 18955 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Thomas dot Koenig at online
                   |                            |dot de


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


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

* [Bug fortran/12366] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (12 preceding siblings ...)
  2004-12-13 13:52 ` Thomas dot Koenig at online dot de
@ 2005-03-26 22:02 ` pinskia at gcc dot gnu dot org
  2005-06-28  1:19 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-26 22:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-26 22:02 -------
*** Bug 20651 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at hep dot tu-
                   |                            |darmstadt dot de


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


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

* [Bug fortran/12366] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (13 preceding siblings ...)
  2005-03-26 22:02 ` pinskia at gcc dot gnu dot org
@ 2005-06-28  1:19 ` pinskia at gcc dot gnu dot org
  2005-09-18  5:06 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-28  1:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-29 15:38 -------
*** Bug 20686 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu dot org
   Last reconfirmed|2005-03-26 17:53:58         |2005-06-28 01:19:53
               date|                            |


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


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

* [Bug fortran/12366] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (14 preceding siblings ...)
  2005-06-28  1:19 ` pinskia at gcc dot gnu dot org
@ 2005-09-18  5:06 ` pinskia at gcc dot gnu dot org
  2005-09-18  9:51 ` [Bug fortran/12366] [4.0 only] " tkoenig at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-18  5:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-18 05:06 -------
Fixed for 4.1.0 and above.  I did not try 4.0.2 though.

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


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


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

* [Bug fortran/12366] [4.0 only] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (15 preceding siblings ...)
  2005-09-18  5:06 ` pinskia at gcc dot gnu dot org
@ 2005-09-18  9:51 ` tkoenig at gcc dot gnu dot org
  2005-09-18 16:53 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2005-09-18  9:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tkoenig at gcc dot gnu dot org  2005-09-18 09:51 -------
This is not fixed in 4.0.2:

$ cat pr12366.f90
program testg
  real, dimension(5) :: a=(/ 1.5,2.1,3.2,4.6,5.3 /)
  integer,dimension(3) :: i
  i=(/ 2,3,1 /)
  print *, a((/ 2,3,1 /))       ! ICEs
  ! print *, a(i)                               !works fine
end program testg
$ gfortran pr12366.f90
pr12366.f90: In function 'MAIN__':
pr12366.f90:5: internal compiler error: in gfc_conv_ss_descriptor, at
fortran/trans-array.c:1235
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|array assignment fails      |[4.0 only] array assignment
                   |                            |fails


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


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

* [Bug fortran/12366] [4.0 only] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (16 preceding siblings ...)
  2005-09-18  9:51 ` [Bug fortran/12366] [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
  19 siblings, 0 replies; 21+ 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=12366


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

* [Bug fortran/12366] [4.0 only] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (17 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
  19 siblings, 0 replies; 21+ 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=12366


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

* [Bug fortran/12366] [4.0 only] array assignment fails
  2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
                   ` (18 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
  19 siblings, 0 replies; 21+ 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=12366


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

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

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-22 14:24 [Bug fortran/12366] New: array assignment fails tcc at sentex dot net
2003-09-26  7:06 ` [Bug fortran/12366] " toon at moene dot indiv dot nluug dot nl
2003-09-27  6:28 ` pinskia at gcc dot gnu dot org
2004-01-25 17:47 ` [Bug fortran/12366] [gfortran] " dhazeghi at yahoo dot com
2004-04-22 11:52 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
2004-05-05 16:25 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
2004-05-05 16:57 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
2004-05-26 22:55 ` pinskia at gcc dot gnu dot org
2004-06-13  9:06 ` pinskia at gcc dot gnu dot org
2004-10-05 18:08 ` [Bug fortran/12366] " pinskia at gcc dot gnu dot org
2004-10-08 21:36 ` pinskia at gcc dot gnu dot org
2004-11-08 18:11 ` pinskia at gcc dot gnu dot org
2004-12-10  9:54 ` paulthomas2 at wanadoo dot fr
2004-12-13 13:52 ` Thomas dot Koenig at online dot de
2005-03-26 22:02 ` pinskia at gcc dot gnu dot org
2005-06-28  1:19 ` pinskia at gcc dot gnu dot org
2005-09-18  5:06 ` pinskia at gcc dot gnu dot org
2005-09-18  9:51 ` [Bug fortran/12366] [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).