public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/42999]  New: [4.5 Regression] bogus error: Parameter 'i' at (1) has not been declared or is a variable, which does not reduce to a constant expression
@ 2010-02-08 14:50 jv244 at cam dot ac dot uk
  2010-02-08 14:51 ` [Bug fortran/42999] " jv244 at cam dot ac dot uk
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: jv244 at cam dot ac dot uk @ 2010-02-08 14:50 UTC (permalink / raw)
  To: gcc-bugs

This could should compile, I believe

 TYPE DD
  INTEGER :: I
 END TYPE DD
 TYPE(DD) :: X(2)=(/(DD(I),I=1,2)/)
 END

but does not with current 4.5 trunk, fails with:

Error: Parameter 'i' at (1) has not been declared or is a variable, which does
not reduce to a constant expression


-- 
           Summary: [4.5 Regression] bogus error: Parameter 'i' at (1) has
                    not been declared or is a variable, which does not
                    reduce to a constant expression
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk
OtherBugsDependingO 32834
             nThis:


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


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

end of thread, other threads:[~2010-02-23 17:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-08 14:50 [Bug fortran/42999] New: [4.5 Regression] bogus error: Parameter 'i' at (1) has not been declared or is a variable, which does not reduce to a constant expression jv244 at cam dot ac dot uk
2010-02-08 14:51 ` [Bug fortran/42999] " jv244 at cam dot ac dot uk
2010-02-08 15:01 ` burnus at gcc dot gnu dot org
2010-02-08 15:02 ` dominiq at lps dot ens dot fr
2010-02-08 17:12 ` rguenth at gcc dot gnu dot org
2010-02-09  3:41 ` jvdelisle at gcc dot gnu dot org
2010-02-10  3:31 ` jvdelisle at gcc dot gnu dot org
2010-02-10  3:35 ` jvdelisle at gcc dot gnu dot org
2010-02-10  8:53 ` jv244 at cam dot ac dot uk
2010-02-23 17:07 ` hjl 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).