------- Comment #6 from jakub at gcc dot gnu dot org  2010-07-22 06:42 -------
Subject: Bug 44942

Author: jakub
Date: Thu Jul 22 06:42:02 2010
New Revision: 162398

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162398
Log:
        Backport from mainline
        2010-07-16  Jakub Jelinek  <ja...@redhat.com>

        PR target/44942
        * config/i386/i386-protos.h (ix86_function_arg_boundary): Change second
        argument to const_tree.
        * config/i386/i386.c (function_arg_advance): If padding needs to be
        inserted before argument, increment cum->words by number of padding
        words as well.
        (contains_aligned_value_p): Change argument to const_tree.
        (ix86_function_arg_boundary): Change second argument to const_tree.

        * gcc.c-torture/execute/pr44942.c: New test.
        * gcc.target/i386/pr44942.c: New test.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/execute/pr44942.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.target/i386/pr44942.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/config/i386/i386-protos.h
    branches/gcc-4_5-branch/gcc/config/i386/i386.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


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

Reply via email to