This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/28889] New: Incorect support for -fstack-limit
- From: "kazu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Aug 2006 15:55:31 -0000
- Subject: [Bug target/28889] New: Incorect support for -fstack-limit
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The current implementation of -fstack-check-register doesn't work on m68k.
With -fstack-check-register=N, the m68k inserts stack checking code like
cmp.l %dN,%sp
trapcs
However, %dN isn't reserved in FIXED_REGISTER.
So the compiler would use %dN as an available regiter elsewhere.
--
Summary: Incorect support for -fstack-limit
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kazu at gcc dot gnu dot org
GCC target triplet: m68k-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28889