This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/71068] [5/6/7 Regression] ICE in check_data_variable(): Bad expression
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 12 Jun 2016 15:07:57 +0000
- Subject: [Bug fortran/71068] [5/6/7 Regression] ICE in check_data_variable(): Bad expression
- Auto-submitted: auto-generated
- References: <bug-71068-4 at http dot gcc dot gnu dot org/bugzilla/>
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.