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/81803] [7/8 regression] miscompilation at -O1 on mips64el


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

--- Comment #8 from James Cowgill <jcowgill+gcc at jcowgill dot uk> ---
Created attachment 42072
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42072&action=edit
testcase-c

Here is another smaller testcase which was manually created. It works by using
asm to clobber all the registers and passing -ffixed for the saved registers to
force a stack spill and trigger the bug.

Compile with:
> gcc -S -O2 -fstack-protector-strong -ffixed-s0 -ffixed-s1 -ffixed-s2 -ffixed-s3 -ffixed-s4 -ffixed-s5 -ffixed-s6 -ffixed-s7 test.c

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