[Bug fortran/60522] [4.7/4.8/4.9 Regression] WHERE construct causes an ICE in gfc_trans_where_2
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 14 23:24:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60522
--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Mikael Morin from comment #3)
> BLOCK constructs are not allowed inside WHERE constructs.
> Thus, the "common function optimization" should not create a BLOCK to hold
> the temporary variables, at least not inside WHERE.
Possible.
> Another possible fix, the following patch disables the optimization inside
> WHERE.
Not preferred, I'd like to continue the optimization.
I'll take a look.
More information about the Gcc-bugs
mailing list