gcc-patches@gcc.gnu.org
[Top] [All Lists]

[Patch, Fortran] PR 40594: [4.5 Regression] wrong-code

Subject: [Patch, Fortran] PR 40594: [4.5 Regression] wrong-code
From: Janus Weil
Date: Tue, 30 Jun 2009 18:50:49 +0200
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@xxxxxxxxxxx>

        PR fortran/40594
        * trans-types.c (gfc_get_derived_type): Bugfix, reverting one hunk from
        r147206.


2009-06-30  Janus Weil  <janus@xxxxxxxxxxx>

        PR fortran/40594
        * gfortran.dg/derived_pointer_recursion_2.f90: New.

Attachment: pr40594.diff
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>