| Submitter | Tobias Burnus |
|---|---|
| Date | Oct. 24, 2010, 7:08 p.m. |
| Message ID | <4CC4842A.8010201@net-b.de> |
| Download | mbox | patch |
| Permalink | /patch/69045/ |
| State | New |
| Headers | show |
Comments
Patch
--- a/gcc/fortran/trans-array.c +++ b/gcc/fortran/trans-array.c @@ -6072,7 +6072,7 @@ duplicate_allocatable (tree dest, tree src, tree type, int rank, null_data = gfc_finish_block (&block); gfc_init_block (&block); - size = TYPE_SIZE_UNIT (type); + size = TYPE_SIZE_UNIT (TREE_TYPE (type)); if (!no_malloc) {