[Patch, Fortran] PR 40594: [4.5 Regression] wrong-code
Janus Weil
janus@gcc.gnu.org
Tue Jun 30 16:56:00 GMT 2009
Hi all,
here is my fix for PR40594, a regression caused by my PPC patch
(r147206). The fix is simply reverting one hunk of the PPC patch. I'm
still not sure how and why this hunk got in there in the first place,
but as reverting it gave no regressions, it seems it is unneeded (and
in fact wrong, as Daniel's test case showed).
Daniel: Could you verify that the patch fixes your full code? I have
made sure that the reduced test cases in the PR are ok.
Regtested on x86_64-linux-gnu. Ok for trunk?
Cheers,
Janus
2009-06-30 Janus Weil <janus@gcc.gnu.org>
PR fortran/40594
* trans-types.c (gfc_get_derived_type): Bugfix, reverting one hunk from
r147206.
2009-06-30 Janus Weil <janus@gcc.gnu.org>
PR fortran/40594
* gfortran.dg/derived_pointer_recursion_2.f90: New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr40594.diff
Type: text/x-diff
Size: 754 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20090630/4c6828a1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: derived_pointer_recursion_2.f90
Type: application/octet-stream
Size: 805 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20090630/4c6828a1/attachment.obj>
More information about the Fortran
mailing list