This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PTR-PLUS] Fix IA64 and s390 varargs


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.


Attachment: fixia64s390.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]