[Bug middle-end/45234] [4.4/4.5/4.6 Regression] ICE in expand_call, at calls.c:2845 when passing aligned function argument from unaligned stack after alloca

hjl at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 20 20:33:00 GMT 2010



------- Comment #19 from hjl at gcc dot gnu dot org  2010-09-20 20:32 -------
Subject: Bug 45234

Author: hjl
Date: Mon Sep 20 20:32:41 2010
New Revision: 164453

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164453
Log:
Make sure that all variable sized adjustments are multiple of preferred
stack boundary after stack alignment.

gcc/

2010-09-20  H.J. Lu  <hongjiu.lu@intel.com>

        Backport from mainline
        2010-09-17  H.J. Lu  <hongjiu.lu@intel.com>

        PR middle-end/45234
        * calls.c (expand_call): Make sure that all variable sized
        adjustments are multiple of preferred stack boundary after
        stack alignment.

gcc/testsuite/

2010-09-20  H.J. Lu  <hongjiu.lu@intel.com>

        Backport from mainline
        2010-09-17  H.J. Lu  <hongjiu.lu@intel.com>

        PR middle-end/45234
        * gcc.dg/torture/stackalign/alloca-5.c: New.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/torture/stackalign/alloca-5.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/calls.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list