[Bug target/82788] wrong code with -fstack-clash-protection --param=stack-clash-protection-probe-interval=10 on simple code
law at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 6 15:51:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82788
--- Comment #2 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Mon Nov 6 15:51:16 2017
New Revision: 254456
URL: https://gcc.gnu.org/viewcvs?rev=254456&root=gcc&view=rev
Log:
PR target/82788
* config/i386/i386.c (PROBE_INTERVAL): Remove.
(get_probe_interval): New functions.
(ix86_adjust_stack_and_probe_stack_clash): Use get_probe_interval.
(ix86_adjust_stack_and_probe): Likewise.
(output_adjust_stack_and_probe): Likewise.
(ix86_emit_probe_stack_range): Likewise.
(ix86_expand_prologue): Likewise.
PR target/82788
* gcc.dg/pr82788.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr82788.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list