[Bug target/82248] New: probe_stack can generate unpredictable STR on arm
schwab@linux-m68k.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 19 10:16:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82248
Bug ID: 82248
Summary: probe_stack can generate unpredictable STR on arm
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: schwab@linux-m68k.org
Target Milestone: ---
Target: arm*-*-*
The probe_stack insn uses "str r0,%0" with hard-coded reference to r0, but this
is unpredictable if %0 happens to use pre-indexed or post-indexed addressing
mode with r0 as base.
More information about the Gcc-bugs
mailing list