[Patch, fortran] [60/66] inline sum and product: Update the scalarizer: Fix error markers.
Mikael Morin
mikael.morin@sfr.fr
Thu Oct 27 23:36:00 GMT 2011
This makes the necessary changes for the error markers to be generated at the
right place in the testcase.
that is for:
foo( &
sum(bar,1) &
)
if sum(bar,1) requires a temporary, the warning is emitted on the second line
instead of the first one, so that one can distinguish between array generated
for the argument, for the function result, etc.
OK?
-------------- next part --------------
2011-10-19 Mikael Morin <mikael@gcc.gnu.org>
* array.c (match_subscript): Skip whitespaces before setting locus.
* matchexp.c (match_level_1): Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr43829-60.patch
Type: text/x-diff
Size: 626 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20111027/10ec1a89/attachment.bin>
More information about the Fortran
mailing list