------- Comment #7 from jakub at gcc dot gnu dot org 2010-07-22 06:46 ------- Subject: Bug 44942
Author: jakub Date: Thu Jul 22 06:46:28 2010 New Revision: 162399 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162399 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_4-branch/gcc/testsuite/gcc.c-torture/execute/pr44942.c branches/gcc-4_4-branch/gcc/testsuite/gcc.target/i386/pr44942.c Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/config/i386/i386-protos.h branches/gcc-4_4-branch/gcc/config/i386/i386.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44942