[Bug fortran/30407] Elemental functions in WHERE assignments wrongly rejected
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jan 17 14:11:00 GMT 2007
------- Comment #3 from pault at gcc dot gnu dot org 2007-01-17 14:11 -------
> > Expected: As elemental procedures are also allowed, a "case EXEC_ASSIGN_CALL:"
> > has to be added.
This is the easy bit... You then get:
$ /irun/bin/gfortran pr30407.f90
pr30407.f90: In function 'MAIN__':
pr30407.f90:79: internal compiler error: in gfc_trans_where_2, at
fortran/trans-
stmt.c:3260
because none of the equipment is in place to do the subroutine call. This was
easy for FORALL because the masking is done externally to the assignment. The
WHERE construct is a totally different kettle of fish and it will take a while
to deal with it.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30407
More information about the Gcc-bugs
mailing list