[Patch, fortran] PR31487 - Character array initialization in derived type: bad zero padding

Paul Richard Thomas paul.richard.thomas@gmail.com
Sat Dec 8 18:59:00 GMT 2007


:ADDPATCH fortran:

This one is trivial - the default initializer needs to be padded out
in the same way as other initializers, which is what this patch does.
Adding a specific function to do the job did not obviously reduce the
amount of code, so I left the patch as it is.  The testcase is a
reduced version of the reporter's.

Bootstrapped and regtested on x86_ia64/fc5 - OK for trunk?

Is testing right now on tonto and  cp2k.

Paul

PS Dominique, thanks for breaking your tree with the first version!
-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Change.Logs
Type: application/octet-stream
Size: 291 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20071208/e8294f90/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr31487.diff
Type: text/x-patch
Size: 2055 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20071208/e8294f90/attachment.bin>


More information about the Gcc-patches mailing list