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 libgcc/86213] -fsplit-stack runtime may clobber SSE input param reg


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86213

--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Wed Jun 20 21:11:23 2018
New Revision: 261823

URL: https://gcc.gnu.org/viewcvs?rev=261823&root=gcc&view=rev
Log:
libgcc/:
        PR libgcc/86213
        * generic-morestack.c (allocate_segment): Move calls to getenv and
        getpagesize to __morestack_load_mmap.
        (__morestack_load_mmap) Initialize static_pagesize and
        use_guard_page here so as to avoid clobbering SSE regs during a
        __morestack call.
gcc/testsuite/:
        * gcc.dg/split-8.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/split-8.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libgcc/ChangeLog
    trunk/libgcc/generic-morestack.c

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