[patch, Fortran, committed] Fix PR 50004
Thomas Koenig
tkoenig@netcologne.de
Sat Aug 6 15:26:00 GMT 2011
Hello world,
I have committed the attached patch as obvious after regression-testing.
The problem was that gfc_typenode_for_spec was clobbering the typespec
for the ISO C types by converting them to integer.
Don't know why I hadn't seen this before.
Regards
Thomas
2011-08-06 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/50004
* target-memory.c (gfc_target_expr-size): Don't clobber typespec
for derived types.
* simplify.c (gfc_simplify_transfer): Don't calculate source_size
twice.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 1279 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20110806/dea08ff8/attachment.bin>
More information about the Fortran
mailing list