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/71068] [5/6/7 Regression] ICE in check_data_variable(): Bad expression


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71068

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |4.9.4
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|                            |2016-06-12
     Ever confirmed|0                           |1
            Summary|ICE in                      |[5/6/7 Regression] ICE in
                   |check_data_variable(): Bad  |check_data_variable(): Bad
                   |expression                  |expression
      Known to fail|                            |5.4.0, 6.1.0, 7.0

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Compiling the test with 4.9.4 gives the following errors

pr71068.f90:4.7:

   data a(2)[1] /2/
       1
Error: DATA element 'a' at (1) cannot have a coindex
pr71068.f90:3.7:

   data a(1)[1] /1/
       1
Error: DATA element 'a' at (1) cannot have a coindex

The ICE appeared between revisions r211698 (2014-06-16, errors) and r212119
(2014-06-29, ICE). AFAICT the ICE is not due to r211907.

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