This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/28889] New: Incorect support for -fstack-limit


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]