This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/49708] [4.5/4.6/4.7 Regression] ICE with allocate and no dimensions
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 12 Jul 2011 08:37:43 +0000
- Subject: [Bug fortran/49708] [4.5/4.6/4.7 Regression] ICE with allocate and no dimensions
- Auto-submitted: auto-generated
- References: <bug-49708-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49708
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
Priority|P3 |P5
CC| |burnus at gcc dot gnu.org,
| |janus at gcc dot gnu.org
Known to work| |4.1.2, 4.3.4, 4.4.0
Target Milestone|--- |4.6.2
Summary|internal compiler error |[4.5/4.6/4.7 Regression]
|with allocate and no |ICE with allocate and no
|dimensions |dimensions
Known to fail| |4.5.3, 4.6.1, 4.7.0
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-07-12 08:35:20 UTC ---
Side effect from allowing allocatable scalars in 4.5. With 4.1 to 4.4, one gets
the error:
Error: Array specification required in ALLOCATE statement at (1)
In principle, the check is still in resolve.c - the question is: Why doesn't it
trigger?