[Bug fortran/18271] ICE with computed array declaration

2006-05-07 Thread fxcoudert at gcc dot gnu dot org
--- Comment #8 from fxcoudert at gcc dot gnu dot org 2006-05-07 16:27 --- (In reply to comment #6) > I'm not a language lawyer, but if I read it correctly, then > INT is a standard intrinsic function and thus allowed in a > restricted expression (F2003 draft standard, 7.1.6, R729, C710

[Bug fortran/18271] ICE with computed array declaration

2006-01-09 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-01-09 22:31 --- we no longer ICE on this code but we still accept it. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/18271] ICE with computed array declaration

2005-11-04 Thread anlauf at gmx dot de
--- Comment #6 from anlauf at gmx dot de 2005-11-04 15:56 --- (In reply to comment #2) > This is invalid code, INT is not allowed in a specification expression. I'm not a language lawyer, but if I read it correctly, then INT is a standard intrinsic function and thus allowed in a restric

[Bug fortran/18271] ICE with computed array declaration

2005-11-04 Thread manfred99 at gmx dot ch
--- Comment #5 from manfred99 at gmx dot ch 2005-11-04 15:32 --- 1) There is an easy way to circumvent the ICE: if you add an explicit type conversion for IMAX, such as in REAL:: AUX1(25000+INT(0.82*float(IMAX))) the ICE goes away and gfortran compiles it successfully and withou

[Bug fortran/18271] ICE with computed array declaration

2004-12-12 Thread manfred99 at gmx dot ch
--- Additional Comments From manfred99 at gmx dot ch 2004-12-12 21:01 --- Subject: Re: ICE with computed array declaration This example is from the software copygb (ftp://ftpprd.ncep.noaa.gov/pub/cpc/wd51we/copygb) which was ported from generic Fortran95 to g95, and thus compiles perfe

[Bug fortran/18271] ICE with computed array declaration

2004-12-08 Thread tobi at gcc dot gnu dot org
--- Additional Comments From tobi at gcc dot gnu dot org 2004-12-09 00:47 --- The problem is that we insert a function call to convert IMAX to default real, and check_inquiry does not support these conversion functions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18271

[Bug fortran/18271] ICE with computed array declaration

2004-12-08 Thread tobi at gcc dot gnu dot org
--- Additional Comments From tobi at gcc dot gnu dot org 2004-12-09 00:22 --- This is invalid code, INT is not allowed in a specification expression. -- What|Removed |Added

[Bug fortran/18271] ICE with computed array declaration

2004-11-02 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-02 13:37 --- Confirmed, here is the backtrace: #0 0x000169f4 in check_inquiry (e=0x42103d20) at /Users/pinskia/src/local/gcc/gcc/fortran/expr.c: 1334 #1 0x00017038 in check_restricted (e=0x5a7aa4) at /Users/pinskia/s