[Bug fortran/82969] [6/7/8 Regression] ICE in gfc_class_vptr_get, at fortran/trans-expr.c:211

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Wed Nov 15 11:19:00 GMT 2017


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

           What    |Removed                     |Added
           Priority|P3                          |P4
      Known to work|                            |4.6.4
            Summary|ICE in gfc_class_vptr_get,  |[6/7/8 Regression] ICE in
                   |at fortran/trans-expr.c:211 |gfc_class_vptr_get, at
                   |                            |fortran/trans-expr.c:211
      Known to fail|                            |4.7.3, 4.8.5, 4.9.3, 5.5.0,
                   |                            |6.4.0, 7.2.0, 8.0

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Confirmed, started with GCC 4.7.0.

Thus it is a regression. The change occurred between revisions r182107
(2011-12-08, compiles) and r183001 (2012-01-09, ICE).

It is related to/a duplicate of pr66679 (same ICE). pr79072 gives a similar
ICE, but in a different location: fortran/trans-expr.c:226. Both locations
correspond to a call to gfc_advance_chain.

More information about the Gcc-bugs mailing list