[Patch, Fortran] PR57508 - Fix ICE/Reject-valid issue with get_temp_from_expr (intrinsic assignment with defined assignment)
Tobias Burnus
burnus@net-b.de
Mon Jun 3 14:06:00 GMT 2013
Dear all,
Due to copying the attributes, the temporary variable could get marked
as function (attr.function, attr.flavor == FL_PROCEDURE). This either
lead to leaking those attributes into the assembler file - or to cause
an error due to the call to gfc_add_flavor. With this patch, I now
explicitly unset those attribues. (Fund when building ForTrilinos.)
Build and
OK for the trunk and GCC 4.8?
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: def-assignm.diff
Type: text/x-patch
Size: 2059 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20130603/f2268dcb/attachment.bin>
More information about the Fortran
mailing list