https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95347
Bug ID: 95347 Summary: rs6000 mcpu=future generating stfs instead of pstfs for pc-relative references Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: acsawdey at gcc dot gnu.org Target Milestone: --- Problem exists in r11-639. /home2/sawdey/work/gcc/mamboCI/build-mambo/gcc/xgcc -B/home2/sawdey/work/gcc/mamboCI/build-mambo/gcc/ /home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/testsuite/gcc.c-torture/execute/pr79354.c -mcpu=future -mpcrel -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -O1 -w -lm -o ./pr79354.exe --save-temps ./pr79354.s: Assembler messages: ./pr79354.s:31: Error: missing operand The relevant piece of the asm output: xscvuxdsp 0,32 pstfs 0,.LANCHOR0+16@pcrel stfs 0,.LANCHOR0+20@pcrel lwa 10,0(3) pstw 10,.LANCHOR0+20@pcrel The extended mnemonic "pstfs Fx,value" is equivalent to "pstfs Fx,value(0),1" and is only valid for pstfs not stfs.