public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34305] New: ICE with array(real) declaration
@ 2007-11-30 22:52 tkoenig at gcc dot gnu dot org
2007-12-12 21:09 ` [Bug fortran/34305] " tkoenig at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-11-30 22:52 UTC (permalink / raw)
To: gcc-bugs
$ cat foo.f
program test
parameter (datasize = 1000)
dimension idata(datasize)
idata(1) = -1
end
$ gfortran foo.f
foo.f:3.22:
dimension idata(datasize)
1
Error: Expression at (1) must be of INTEGER type
foo.f:3.21:
dimension idata(datasize)
1
Error: The module or main program array 'idata' at (1) must have constant shape
foo.f:5.72:
end
1
Internal Error at (1):
compare_bound(): Bad expression
--
Summary: ICE with array(real) declaration
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tkoenig at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34305
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/34305] ICE with array(real) declaration
2007-11-30 22:52 [Bug fortran/34305] New: ICE with array(real) declaration tkoenig at gcc dot gnu dot org
@ 2007-12-12 21:09 ` tkoenig at gcc dot gnu dot org
2007-12-16 21:10 ` tkoenig at gcc dot gnu dot org
2007-12-16 21:55 ` tkoenig at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-12-12 21:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tkoenig at gcc dot gnu dot org 2007-12-12 21:09 -------
Might as well fix another one, this is easy...
Front end, here I come again!
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tkoenig at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-12-12 21:09:25
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34305
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/34305] ICE with array(real) declaration
2007-11-30 22:52 [Bug fortran/34305] New: ICE with array(real) declaration tkoenig at gcc dot gnu dot org
2007-12-12 21:09 ` [Bug fortran/34305] " tkoenig at gcc dot gnu dot org
@ 2007-12-16 21:10 ` tkoenig at gcc dot gnu dot org
2007-12-16 21:55 ` tkoenig at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-12-16 21:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tkoenig at gcc dot gnu dot org 2007-12-16 21:09 -------
Subject: Bug 34305
Author: tkoenig
Date: Sun Dec 16 21:09:34 2007
New Revision: 130993
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130993
Log:
2007-12-16 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/34305
* resolve.c (compare_bound): If either of the types of
the arguments isn't INTEGER, return CMP_UNKNOWN.
2007-12-16 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/34305
* gfortran.dg/real_dimension_1.f: New test case.
Added:
trunk/gcc/testsuite/gfortran.dg/real_dimension_1.f
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34305
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/34305] ICE with array(real) declaration
2007-11-30 22:52 [Bug fortran/34305] New: ICE with array(real) declaration tkoenig at gcc dot gnu dot org
2007-12-12 21:09 ` [Bug fortran/34305] " tkoenig at gcc dot gnu dot org
2007-12-16 21:10 ` tkoenig at gcc dot gnu dot org
@ 2007-12-16 21:55 ` tkoenig at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-12-16 21:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tkoenig at gcc dot gnu dot org 2007-12-16 21:55 -------
Fixed on trunk.
Closing.
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34305
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-12-16 21:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-30 22:52 [Bug fortran/34305] New: ICE with array(real) declaration tkoenig at gcc dot gnu dot org
2007-12-12 21:09 ` [Bug fortran/34305] " tkoenig at gcc dot gnu dot org
2007-12-16 21:10 ` tkoenig at gcc dot gnu dot org
2007-12-16 21:55 ` tkoenig 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).