[Patch, Fortran, OOP] PR 54881: [4.8 Regression] [OOP] ICE in fold_convert_loc, at fold-const.c:2016

Dominique Dhumieres dominiq@lps.ens.fr
Tue Oct 16 20:48:00 GMT 2012


Janus,

Your patch works as advertised without disturbing my pet bugs.
Just a nit pick: the double parentheses in

+      if ((CLASS_DATA (select_type_stack->selector)->attr.dimension
 	  || CLASS_DATA (select_type_stack->selector)->attr.codimension))

do not seem necessary.

Note for Paul: I had to adjust the patch in order to make it compatible
with the "unlimited polymorphism" patch at
http://gcc.gnu.org/ml/fortran/2012-07/msg00130.html

Dominique



More information about the Fortran mailing list