public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/19925] New: Implied do-loop in an initialization expression is broken
@ 2005-02-12 21:10 sgk at troutmask dot apl dot washington dot edu
  2005-02-12 21:17 ` [Bug fortran/19925] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 33+ messages in thread
From: sgk at troutmask dot apl dot washington dot edu @ 2005-02-12 21:10 UTC (permalink / raw)
  To: gcc-bugs

>From Richard Maine, editor of the F2003 standard

   program stuff
     integer :: i_do
     integer :: i(101) = (/ (i_do, i_do=1,101) /)
     write (*,*) i
   end program stuff

   bug1.f90: In function 'MAIN__':
   bug1.f90:4: internal compiler error: Possible frontend bug: array 
   constructor not expanded

   Note that it works up to size 100; fails at size 101.

If we look in array.c, we find the magic number 100.

/* This parameter is the size of the largest array constructor that we
   will expand to an array constructor without iterators.
   Constructors larger than this will remain in the iterator form.  */

#define GFC_MAX_AC_EXPAND 100

-- 
           Summary: Implied do-loop in an initialization expression is
                    broken
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sgk at troutmask dot apl dot washington dot edu
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 33+ messages in thread
[parent not found: <bug-19925-8446@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2008-11-01 17:08 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-12 21:10 [Bug fortran/19925] New: Implied do-loop in an initialization expression is broken sgk at troutmask dot apl dot washington dot edu
2005-02-12 21:17 ` [Bug fortran/19925] " pinskia at gcc dot gnu dot org
2005-05-14 20:58 ` pinskia at gcc dot gnu dot org
2005-07-28 11:56 ` erik dot edelmann at iki dot fi
     [not found] <bug-19925-8446@http.gcc.gnu.org/bugzilla/>
2005-11-04  1:19 ` pinskia at gcc dot gnu dot org
2006-01-09 22:33 ` pinskia at gcc dot gnu dot org
2006-01-10  0:03 ` eedelman at gcc dot gnu dot org
2007-01-02 21:48 ` bdtaylo1 at uiuc dot edu
2007-05-09  3:02 ` jvdelisle at gcc dot gnu dot org
2007-10-06 14:09 ` tobi at gcc dot gnu dot org
2007-10-29 15:00 ` jv244 at cam dot ac dot uk
2007-11-26  4:50 ` jvdelisle at gcc dot gnu dot org
2007-11-26  6:28 ` jvdelisle at gcc dot gnu dot org
2007-11-26  6:52 ` jvdelisle at gcc dot gnu dot org
2008-01-08 19:27 ` jvdelisle at gcc dot gnu dot org
2008-01-29  8:57 ` jv244 at cam dot ac dot uk
2008-01-29 15:36 ` Jerry_V_DeLisle at rl dot gov
2008-01-30  7:03 ` jvdelisle at gcc dot gnu dot org
2008-02-01  4:43 ` jvdelisle at gcc dot gnu dot org
2008-02-01 13:40 ` burnus at gcc dot gnu dot org
2008-02-01 15:32 ` dominiq at lps dot ens dot fr
2008-02-01 16:04 ` sgk at troutmask dot apl dot washington dot edu
2008-02-01 16:42 ` dominiq at lps dot ens dot fr
2008-02-01 17:06 ` dominiq at lps dot ens dot fr
2008-02-02  2:05 ` jvdelisle at gcc dot gnu dot org
2008-02-02 11:10 ` dominiq at lps dot ens dot fr
2008-02-02 16:39 ` sgk at troutmask dot apl dot washington dot edu
2008-09-07  8:27 ` linuxl4 at sohu dot com
2008-09-07 16:35 ` sgk at troutmask dot apl dot washington dot edu
2008-10-11 10:33 ` dominiq at lps dot ens dot fr
2008-11-01 16:45 ` jvdelisle at gcc dot gnu dot org
2008-11-01 17:03 ` jvdelisle at gcc dot gnu dot org
2008-11-01 17:08 ` jvdelisle 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).