This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fortran/9263: ICE caused by invalid PARAMETER in implied DO loop


>Number:         9263
>Category:       fortran
>Synopsis:       ICE caused by invalid PARAMETER in implied DO loop
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 10 08:56:09 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Krzysztof Parzyszek
>Release:        3.4 20030105 (experimental)
>Organization:
>Environment:
System: FreeBSD arcturus.student.iastate.edu 4.7-STABLE FreeBSD 4.7-STABLE #18: Mon Dec 16 17:03:58 CST 2002 kparz@arcturus.student.iastate.edu:/usr/obj/usr/src/sys/ARCTURUS i386


	
host: i386-unknown-freebsd4.7
build: i386-unknown-freebsd4.7
target: i386-unknown-freebsd4.7
configured with: 
>Description:
Symbolic integer constant declared via PARAMETER not explicitly declared
as INTEGER (and not implicitly of type INTEGER) causes ICE if used as
a limit in an implied DO loop.
>How-To-Repeat:
      PARAMETER (P=10)
      INTEGER C(10)
      DATA (C(I),I=1,P) /10*10/
      END

>Fix:
Use appropriate type-statements or implicit declarations.

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]