[PATCH] Fix PR fortran/91716

Bernd Edlinger bernd.edlinger@hotmail.de
Fri Sep 13 10:07:00 GMT 2019


Hi,

this fixes a test case where a short string constant is put in a larger memory object.

The consistency check in varasm.c is failed because both types should agree.

Since the failed assertion is just a gcc_checking_assert I think a back-port of this fix
to the gcc-9 branch will not be necessary.


Bootstrapped and reg-tested on x86_64-pc-linux-gnu.
Is it OK for trunk?


Thanks
Bernd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-pr91716.diff
Type: text/x-patch
Size: 1936 bytes
Desc: patch-pr91716.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190913/b84c07e9/attachment.bin>


More information about the Gcc-patches mailing list