When generating 64-bit code, stack slots allocated to local variables can overlap alloca areas.
This bug may be specific to PIC code generation since the test case I have (elf/dl-fini.c in GLIBC) is built with -fPIC. I'm still trying to distill a small test case and, whether I can or not, I'll attach some reproducer to this bug report. -- Summary: sparc 64-bit stack slot allocation overlaps with alloca Product: gcc Version: 4.4.4 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: davem at gcc dot gnu dot org GCC build triplet: sparc-unknown-linux-gnu GCC host triplet: sparc-unknown-linux-gnu GCC target triplet: sparc-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43004