[Patch, fortran] PR30284 and PR30626 - ICEs with internal units
Jerry DeLisle
jvdelisle@verizon.net
Fri Feb 2 01:51:00 GMT 2007
Paul Thomas wrote:
> :ADDPATCH fortran:
>
> These two PRs are effectively identical and are fixed by the same patch.
>
> The problem is that substring or components references of arrays result
> in element sizes that are smaller than the stride in bytes. This is
> fixed by using the same temporary builder that fixed a similar problem
> in gfc_conv_function_call. A temporary is created that is copied to and
> used as the internal unit for READ or is used and copied back from for
> WRITE. The testcases are the reporter's.
>
> Note that I am perfectly prepared to change the names of
> gfc_conv_aliased_arg and is_aliased_array, if only somebody would tell
> me what they should be called :-)
>
> Bootrtrapped and regtested on amd64/Cygwin_NT - OK for trunk and a week
> or two later for 4.2?
>
> Paul
>
I will complete review and testing on this tonight or tomorrow.
Thanks Paul,
Jerry
More information about the Gcc-patches
mailing list