[Patch, fortran, pr65894, v1] [6 Regression] severe regression in gfortran 6.0.0
Andre Vehreschild
vehre@gmx.de
Thu May 7 09:52:00 GMT 2015
Hi all,
my work on pr60322 caused a regression on trunk. This patch fixes it. The
regression had two causes:
1. Not taking the correct attribute for BT_CLASS objects with allocatable
components into account (chunk 1), and
2. taking the address of an address (chunk 2). When a class or derived typed
scalar object is to be returned as a reference and a scalarizer is present,
then the address of the address of the object was returned. The former code
was meant to return the address of an array element for which taking the
address was ok. The patch now prevents taking the additional address when
the object is scalar.
Bootstraps and regtests ok x86_64-linux-gnu/f21.
Ok for trunk.
Regards,
Andre
--
Andre Vehreschild * Email: vehre ad gmx dot de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr65894_1.clog
Type: application/octet-stream
Size: 457 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150507/34b9c918/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr65894_1.patch
Type: text/x-patch
Size: 9318 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150507/34b9c918/attachment.bin>
More information about the Fortran
mailing list