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]

[Bug fortran/49708] [4.5/4.6/4.7 Regression] ICE with allocate and no dimensions


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?


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