public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/20925] New: "Possible frontend bug: array constructor not expanded"
@ 2005-04-09 22:25 pinskia at gcc dot gnu dot org
  2005-04-09 22:27 ` [Bug fortran/20925] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-09 22:25 UTC (permalink / raw)
  To: gcc-bugs

The following code ICEs:
program sel
    implicit none
    integer,parameter              :: n=1000
    integer			   :: cste, i
    integer, dimension(n)          :: vect=(/ (-i, i=1,n) /)
    cste = vect(1)
end

t.f90: In function 'MAIN__':
t.f90:6: internal compiler error: Possible frontend bug: array constructor not expanded
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: "Possible frontend bug: array constructor not expanded"
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug fortran/20925] "Possible frontend bug: array constructor not expanded"
  2005-04-09 22:25 [Bug fortran/20925] New: "Possible frontend bug: array constructor not expanded" pinskia at gcc dot gnu dot org
@ 2005-04-09 22:27 ` pinskia at gcc dot gnu dot org
  2005-04-09 22:29 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-09 22:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-09 22:27 -------
Note this one and PR 20923, I found with the benchmark here:
<http://www.idris.fr/data/publications/F95/test_F95_english.html>
which is about f95 features.

-- 


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


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

* [Bug fortran/20925] "Possible frontend bug: array constructor not expanded"
  2005-04-09 22:25 [Bug fortran/20925] New: "Possible frontend bug: array constructor not expanded" pinskia at gcc dot gnu dot org
  2005-04-09 22:27 ` [Bug fortran/20925] " pinskia at gcc dot gnu dot org
@ 2005-04-09 22:29 ` pinskia at gcc dot gnu dot org
  2005-04-15 12:37 ` belyshev at depni dot sinp dot msu dot ru
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-09 22:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-09 22:29 -------
Hmm,
              /* Problems occur when we get something like
                 integer :: a(lots) = (/(i, i=1,lots)/)  */
              /* TODO: Unexpanded array initializers.  */
              internal_error
                ("Possible frontend bug: array constructor not expanded");

Shouldn't we just create a loop at this point?

-- 


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


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

* [Bug fortran/20925] "Possible frontend bug: array constructor not expanded"
  2005-04-09 22:25 [Bug fortran/20925] New: "Possible frontend bug: array constructor not expanded" pinskia at gcc dot gnu dot org
  2005-04-09 22:27 ` [Bug fortran/20925] " pinskia at gcc dot gnu dot org
  2005-04-09 22:29 ` pinskia at gcc dot gnu dot org
@ 2005-04-15 12:37 ` belyshev at depni dot sinp dot msu dot ru
  2005-05-05 20:12 ` pinskia at gcc dot gnu dot org
  2005-05-14 20:58 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-04-15 12:37 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-15 12:37:42
               date|                            |


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


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

* [Bug fortran/20925] "Possible frontend bug: array constructor not expanded"
  2005-04-09 22:25 [Bug fortran/20925] New: "Possible frontend bug: array constructor not expanded" pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-04-15 12:37 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-05-05 20:12 ` pinskia at gcc dot gnu dot org
  2005-05-14 20:58 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-05 20:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-05 20:12 -------
*** Bug 21394 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gnalle at ruc dot dk


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


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

* [Bug fortran/20925] "Possible frontend bug: array constructor not expanded"
  2005-04-09 22:25 [Bug fortran/20925] New: "Possible frontend bug: array constructor not expanded" pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-05-05 20:12 ` pinskia at gcc dot gnu dot org
@ 2005-05-14 20:58 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-14 20:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-14 20:58 -------


*** This bug has been marked as a duplicate of 19925 ***

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


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


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

end of thread, other threads:[~2005-05-14 20:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-09 22:25 [Bug fortran/20925] New: "Possible frontend bug: array constructor not expanded" pinskia at gcc dot gnu dot org
2005-04-09 22:27 ` [Bug fortran/20925] " pinskia at gcc dot gnu dot org
2005-04-09 22:29 ` pinskia at gcc dot gnu dot org
2005-04-15 12:37 ` belyshev at depni dot sinp dot msu dot ru
2005-05-05 20:12 ` pinskia at gcc dot gnu dot org
2005-05-14 20:58 ` 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).