This is the mail archive of the gcc-bugs@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]

[Bug target/52129] wrong code to pass parameters to tail call function


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52129

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-09 17:27:34 UTC ---
Author: jakub
Date: Thu Feb  9 17:27:25 2012
New Revision: 184059

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184059
Log:
    Backported from mainline
    2012-02-06  Jakub Jelinek  <jakub@redhat.com>

    PR target/52129
    * calls.c (mem_overlaps_already_clobbered_arg_p): If val is
    CONST_INT_P, subtract resp. add crtl->args.pretend_args_size to it.

    * gcc.c-torture/execute/pr52129.c: New test.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/execute/pr52129.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/calls.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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