This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/17416] New: stack variable merging doesn't work
- From: "ak at muc dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Sep 2004 08:00:17 -0000
- Subject: [Bug middle-end/17416] New: stack variable merging doesn't work
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I tried a simple test of the new stack merging functionality in mainline
and it refused to merge variables in differenct scopes.
e.g. the attached example generates with -O2:
f:
.LFB2:
subq $232, %rsp
I would have expected a stack frame size around 100
--
Summary: stack variable merging doesn't work
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ak at muc dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-linux
GCC host triplet: x86_64-linux
GCC target triplet: x86_64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17416