Summary: | [4.3/4.4 Regression] Stack is not aligned correctly in recursive function | ||
---|---|---|---|
Product: | gcc | Reporter: | Uroš Bizjak <ubizjak> |
Component: | target | Assignee: | Uroš Bizjak <ubizjak> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cnstar9988, gcc-bugs, tege-gcc |
Priority: | P1 | ||
Version: | 4.4.0 | ||
Target Milestone: | 4.3.2 | ||
URL: | http://gcc.gnu.org/ml/gcc-patches/2008-06/msg01361.html | ||
Host: | Target: | i686-pc-linux-gnu | |
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2008-06-21 13:25:05 | |
Attachments: | test case |
Description
Uroš Bizjak
2008-06-20 16:39:15 UTC
Created attachment 15796 [details]
test case
The testcase, distilled from povray-3.6.1
*** Bug 35271 has been marked as a duplicate of this bug. *** Author: uros Date: Mon Jun 23 17:31:12 2008 New Revision: 137045 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137045 Log: PR middle-end/PR36584 * calls.c (expand_call): Increase alignment for recursive functions. testsuite/ChangeLog: PR middle-end/PR36584 * testsuite/gcc.dg/pr36584.c: New test. * testsuite/gcc.target/i386/local2.c: Remove invalid test. Added: trunk/gcc/testsuite/gcc.dg/pr36584.c Removed: trunk/gcc/testsuite/gcc.target/i386/local2.c Modified: trunk/gcc/ChangeLog trunk/gcc/calls.c trunk/gcc/testsuite/ChangeLog Subject: Bug 36584 Author: uros Date: Tue Jun 24 07:58:17 2008 New Revision: 137059 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137059 Log: PR middle-end/36584 * calls.c (expand_call): Increase alignment for recursive functions. testsuite/ChangeLog: PR middle-end/36584 * testsuite/gcc.dg/pr36584.c: New test. * testsuite/gcc.target/i386/local2.c: Remove invalid test. Added: branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr36584.c - copied, changed from r137045, trunk/gcc/testsuite/gcc.dg/pr36584.c Removed: branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/local2.c Modified: branches/gcc-4_3-branch/gcc/ChangeLog branches/gcc-4_3-branch/gcc/calls.c branches/gcc-4_3-branch/gcc/testsuite/ChangeLog Fixed for mainline and 4.3 branch. Subject: Bug 36584 Author: hjl Date: Fri Jun 27 13:59:05 2008 New Revision: 137179 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137179 Log: 2008-06-27 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/36584 * gcc.target/i386/stackalign/local-1.c: Remove invalid test. Removed: branches/stack/gcc/testsuite/gcc.target/i386/stackalign/local-1.c Modified: branches/stack/gcc/testsuite/ChangeLog.stackalign |