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/82358] [8 regression] i386/stack-check-11.c fail


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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at redhat dot com

--- Comment #2 from Jeffrey A. Law <law at redhat dot com> ---
?!?

First, I don't get this failure.  Andrey, what is your precise target
configuration?

Martin -- the code you show is exactly what is should be.

In the "before" case we have a stack allocation of 13768 bytes, then probes
into that allocation.  That is not safe WRT stack-clash as you could get an
async signal between the allocation and probing points and the async handler
would be running with a clashed stack/heap.

The "after" case we see 4 distinct allocations and probes, which is exactly
what we want.

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