[PTR-PLUS] Fix IA64 and s390 varargs

Andrew_Pinski@PlayStation.Sony.Com Andrew_Pinski@PlayStation.Sony.Com
Fri Jun 8 02:27:00 GMT 2007


Hi,
  Just the normal s/PLUS_EXPR/POINTER_PLUS_EXPR/  issue with both ia64 and 
s390 and having a BIT_AND_EXPR in pointer type for ia64.

Committed to the branch after a build and a small test with a function 
that uses variable arguments.

It would nice if someone who has access to these targets run the testsuite 
and report any regressions vs the trunk.

Thanks,
Andrew Pinski

        * config/ia64/ia64.c (ia64_gimplify_va_arg): Use
        POINTER_PLUS_EXPR for pointers and create the
        BIT_AND_EXPR in sizetype.
        * config/s390/s390.c (s390_va_start): Use POINTER_PLUS_EXPR
        for pointers instead of PLUS_EXPR.
        (s390_gimplify_va_arg): Likewise.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixia64s390.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070608/5bef32fe/attachment.txt>


More information about the Gcc-patches mailing list