[Bug fortran/77872] [5/6/7 Regression] ICE in gfc_conv_descriptor_token, at fortran/trans-array.c:305

2016-10-31 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77872

--- Comment #5 from vehre at gcc dot gnu.org ---
Created attachment 39933
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39933=edit
Fix the ICE

The patch fixes the ICE. Albeit I am not happy with it. I fear it is too short
and will open other deficiencies.

[Bug fortran/77872] [5/6/7 Regression] ICE in gfc_conv_descriptor_token, at fortran/trans-array.c:305

2016-10-31 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77872

vehre at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |vehre at gcc dot gnu.org

--- Comment #4 from vehre at gcc dot gnu.org ---
Can someone explain the code to me? What is it supposed to do? Is this not
modelling an endless recursion?

What is "s" and "f" in the type definition?

I understand that "pass" and "deferred" mean to transport meta-data of an
array, right?

[Bug fortran/77872] [5/6/7 Regression] ICE in gfc_conv_descriptor_token, at fortran/trans-array.c:305

2016-10-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77872

Jakub Jelinek  changed:

   What|Removed |Added

   Priority|P3  |P4
 CC||burnus at gcc dot gnu.org,
   ||jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek  ---
This started to ICE with r209953.
And the second change is indeed r212299.

[Bug fortran/77872] [5/6/7 Regression] ICE in gfc_conv_descriptor_token, at fortran/trans-array.c:305

2016-10-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77872

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |5.5

[Bug fortran/77872] [5/6/7 Regression] ICE in gfc_conv_descriptor_token, at fortran/trans-array.c:305

2016-10-06 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77872

--- Comment #2 from Dominique d'Humieres  ---
A first change occurred between revisions r209838 (2014-04-27, OK) and r210042
(2014-05-03, ICE):

pr77872.f90:9:0: internal compiler error: in gfc_conv_procedure_call, at
fortran/trans-expr.c:4824
   call x%f()

A second change occurred between revisions r212119 (2014-06-29, error above)
and r212302 (2014-07-05, error reported in comment 0), likely r212299.

[Bug fortran/77872] [5/6/7 Regression] ICE in gfc_conv_descriptor_token, at fortran/trans-array.c:305

2016-10-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77872

Martin Liška  changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2016-10-05
 CC||marxin at gcc dot gnu.org
  Known to work||4.9.4
Summary|ICE in  |[5/6/7 Regression] ICE in
   |gfc_conv_descriptor_token,  |gfc_conv_descriptor_token,
   |at  |at
   |fortran/trans-array.c:305   |fortran/trans-array.c:305
 Ever confirmed|0   |1

--- Comment #1 from Martin Liška  ---
Confirmed.