[Patch, Fortran] PR57553 - fix two STORAGE_SIZE bugs

Tobias Burnus burnus@net-b.de
Fri Jun 7 16:11:00 GMT 2013


This patch fixes two issues:
*  storage_size('aa')  was rejected as constant expression - as 
ts.u.cl->length == 0.
* In trans*.c, there was a fold_convert missing (-> ICE). Additionally, 
I have replaced the detour to generate a tree containing the value "8" 
via a fortran expression.

Build and regtested on x86-64-gnu-linux.
OK for the trunk?

Tobias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: storage-size-simplify.diff
Type: text/x-patch
Size: 2695 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20130607/98eca9e4/attachment.bin>


More information about the Fortran mailing list