------- Comment #33 from hjl at gcc dot gnu dot org 2009-04-14 20:27 ------- Subject: Bug 39678
Author: hjl Date: Tue Apr 14 20:27:30 2009 New Revision: 146061 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146061 Log: gcc/ 2009-04-14 H.J. Lu <hongjiu...@intel.com> Backport from mainline: 2009-04-09 H.J. Lu <hongjiu...@intel.com> PR target/39678 * config/i386/i386.c (classify_argument): Handle SCmode with (bit_offset % 64) != 0. gcc/testsuite/ 2009-04-14 H.J. Lu <hongjiu...@intel.com> Backport from mainline: 2009-04-09 H.J. Lu <hongjiu...@intel.com> PR target/39678 * g++.dg/torture/pr39678.C: New. * gcc.dg/compat/struct-complex-2.h: Likewise. * gcc.dg/compat/struct-complex-2_main.c: Likewise. * gcc.dg/compat/struct-complex-2_x.c: Likewise. * gcc.dg/compat/struct-complex-2_y.c: Likewise. * gcc.dg/torture/pr39678.c: Likewise. * gcc.target/i386/pr39678.c: Likewise. * gcc.dg/compat/struct-complex-1_x.c: Add -Wno-psabi. * gcc.dg/compat/struct-complex-1_y.c: Likewise. * gcc.target/x86_64/abi/test_passing_structs.c: Include <complex.h>. Add tests for structure with complex float. Added: branches/gcc-4_4-branch/gcc/testsuite/g++.dg/torture/pr39678.C - copied unchanged from r146060, trunk/gcc/testsuite/g++.dg/torture/pr39678.C branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/compat/struct-complex-2.h - copied unchanged from r146060, trunk/gcc/testsuite/gcc.dg/compat/struct-complex-2.h branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/compat/struct-complex-2_main.c - copied unchanged from r146060, trunk/gcc/testsuite/gcc.dg/compat/struct-complex-2_main.c branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/compat/struct-complex-2_x.c - copied unchanged from r146060, trunk/gcc/testsuite/gcc.dg/compat/struct-complex-2_x.c branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/compat/struct-complex-2_y.c - copied unchanged from r146060, trunk/gcc/testsuite/gcc.dg/compat/struct-complex-2_y.c branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/torture/pr39678.c - copied unchanged from r146060, trunk/gcc/testsuite/gcc.dg/torture/pr39678.c branches/gcc-4_4-branch/gcc/testsuite/gcc.target/i386/pr39678.c - copied unchanged from r146060, trunk/gcc/testsuite/gcc.target/i386/pr39678.c Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/config/i386/i386.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/compat/struct-complex-1_x.c branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/compat/struct-complex-1_y.c branches/gcc-4_4-branch/gcc/testsuite/gcc.target/x86_64/abi/test_passing_structs.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39678