Ping [Fortran, Patch, pr70524, v1] [5/6/7 Regression] ICE when using -frepack-arrays -Warray-temporaries

Andre Vehreschild vehre@gmx.de
Sat Aug 6 09:07:00 GMT 2016


Ping.

On Mon, 25 Jul 2016 12:55:14 +0200
Andre Vehreschild <vehre@gmx.de> wrote:

> Hi all,
> 
> the attached patch fixes the ICE when the options in the title are
> used. Two issues caused this ICE:
> 
> 1. the error-printing routines relied on the locus.nextc which was not
> set by the gfc_set_backend_locus() and is now set by the patch
> (locally, not in gfc_set_backend_locus()).
> 
> 2. the locus of the function whose result triggered the warning (and
> with it the ICE) was set too late.
> 
> Both issues are addressed by the patch. Albeit I am not quite sure,
> whether my solution to 1. (the first chunk in the patch) is ok this
> way.
> 
> Bootstraps and regtests ok on x86_64-linux-gnu/F23.
> 
> Ok for trunk? And with one week delay for gcc-5- and -6-branch?
> 
> Regards,
> 	Andre


-- 
Andre Vehreschild * Email: vehre ad gmx dot de 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr70524_1.clog
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160806/e844984f/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr70524_1.patch
Type: text/x-patch
Size: 2335 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160806/e844984f/attachment.bin>


More information about the Gcc-patches mailing list