aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorJiufu Guo <guojiufu@linux.ibm.com>2024-07-23 13:34:20 +0800
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:47 +0200
commite2441359f7d1d493c18cdf63098d4646c8ee4c58 (patch)
tree9fbe768337436841cc8cae07c6ae89485492f315 /gcc/doc
parent6d68404e8c1b24ce70a09fb3aa138f6dec52873a (diff)
downloadgcc-e2441359f7d1d493c18cdf63098d4646c8ee4c58.zip
gcc-e2441359f7d1d493c18cdf63098d4646c8ee4c58.tar.gz
gcc-e2441359f7d1d493c18cdf63098d4646c8ee4c58.tar.bz2
report message for operator %a on unaddressible operand
Hi, For PR96866, when printing asm code for modifier "%a", an addressable operand is required. While the constraint "X" allow any kind of operand even which is hard to get the address directly. e.g. extern symbol whose address is in TOC. An error message would be reported to indicate the invalid asm operand. Compare with previous version, test case is updated with -mno-pcrel. Bootstrap&regtest pass on ppc64{,le}. Is this ok for trunk? BR, Jeff(Jiufu Guo) PR target/96866 gcc/ChangeLog: * config/rs6000/rs6000.cc (print_operand_address): Emit message for unsupported operand. gcc/testsuite/ChangeLog: * gcc.target/powerpc/pr96866-1.c: New test. * gcc.target/powerpc/pr96866-2.c: New test.
Diffstat (limited to 'gcc/doc')
0 files changed, 0 insertions, 0 deletions