[PTR-PLUS] Fix Fortran

Andrew_Pinski@PlayStation.Sony.Com Andrew_Pinski@PlayStation.Sony.Com
Tue May 8 00:22:00 GMT 2007


Hi,
  Fortran was the easiest front-end I had to fix, it had only one place (I 
could find while testing) that created a PLUS_EXPR with a pointer type.


Committed to the branch after a build/test on i686-linux-gnu with no 
regression.

Thanks,
Andrew Pinski

        * trans-expr.c (gfc_trans_string_copy): Create
        POINTER_PLUS_EXPR instead of a PLUS_EXPR
        for pointer types.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixfortran.diff.txt
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070508/5f3bb9c1/attachment.txt>


More information about the Fortran mailing list