This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR34262 - Fix MVBITS with arrays
Hi,
> a) A hackish one:
>
> c->resolved_sym = gfc_get_intrinsic_sub_symbol (name);
> + c->resolved_sym->elemental = 1;
>
> (Though the right hand side can be implemented fancier.)
I like that one, together with a comment to that effect at the start
of the subroutines list in intrinsic.c. As you said, there is a very
limited number of elemental subroutines, and we can always reconsider
in 2013 for the next standard!
FX
PS: Sorry that I don't have more time to contribute these days...