[Fortran, Patch, PR72698, v1] [5/6/7 Regression] ICE in lhd_incomplete_type_error, at langhooks.c:205
Andre Vehreschild
vehre@gmx.de
Sun Aug 7 11:52:00 GMT 2016
Hi all,
attached patch fixes the ICE caused by a zero-sized string. Assigning
that string to a temporary variable obviously did not work out. The
patch fixes this by checking for zero-sized strings in SOURCE= and not
producing the code to assign "nothing" to the temporary
variable and later to the allocated memory. The version for gcc-5 had
to be adapted slightly, because the version of the ALLOCATE()
implementation is way behind.
Bootstrapped and regtested on x86_64-linux-gnu/F23. Ok for trunk, gcc-6
and gcc-5?
Regards,
Andre
--
Andre Vehreschild * Email: vehre ad gmx dot de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr72698_v5_1.patch
Type: text/x-patch
Size: 2479 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160807/e0fb2c78/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr72698_1.clog
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160807/e0fb2c78/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr72698_1.patch
Type: text/x-patch
Size: 2322 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160807/e0fb2c78/attachment-0001.bin>
More information about the Fortran
mailing list