[Bug target/72853] gcc/testsuite/gcc.c-torture/execute/20021120-1.c generates incorrect stxssp op with -mcpu=power9
amodra at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Aug 10 01:32:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72853
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
--- Comment #5 from Alan Modra <amodra at gmail dot com> ---
Yeah, Alan did mess up here in removing offsettable_address_p from the wY
constraint. It wasn't entirely accidental either. I'd intended to add a
simpler test in mem_operand_ds_form to replace it.
Mike, shouldn't the test in your fix be
if (!offsettable_address_p (false, mode, addr))
ie. *not* strict?
See tm-constrs.h "o" constraint test:
static inline bool
satisfies_constraint_o (rtx op)
{
return (GET_CODE (op) == MEM) && (
#line 32 "/home/alan/src/gcc.git/gcc/common.md"
(offsettable_nonstrict_memref_p (op)));
}
More information about the Gcc-bugs
mailing list