[Patch 1/2, Fortran, pr60322] [OOP] Incorrect bounds on polymorphic dummy array

Andre Vehreschild vehre@gmx.de
Thu Feb 26 17:19:00 GMT 2015


Hi all,

please find attached the first part of a two parts patch fixing pr/60322. This
first patch is only preparatory and does not change any of the semantics of
gfortran at all. It only modifies the compiler code to have the
symbol_attribute and the gfc_array_spec in a separate variable in the some
routines. The second part of the patch will then initialize these variables with
either the (sym.attr and sym.as) or (CLASS_DATA(sym).attr and
CLASS_DATA(sym).as), respectively, depending on whether the current symbol is
a regular array or a class array.

Bootstraps and regtests ok on x86_64-linux-gnu/F20.

Regards,
	Andre
-- 
Andre Vehreschild * Email: vehre ad gmx dot de 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr60322_base_1.clog
Type: application/octet-stream
Size: 413 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150226/a8ca0497/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr60322_base_1.patch
Type: text/x-patch
Size: 11832 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150226/a8ca0497/attachment.bin>


More information about the Gcc-patches mailing list