aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2codeview.h
diff options
context:
space:
mode:
authorJiufu Guo <guojiufu@linux.ibm.com>2024-07-23 13:34:20 +0800
committerguojiufu <guojiufu@linux.ibm.com>2024-07-23 18:21:25 +0800
commit472eab9ab1fdfd0ba3a555ea9eb50e20307c7052 (patch)
treeaaef8ca99e642abff50cfbb5db496e874d25d440 /gcc/dwarf2codeview.h
parent7793f5b4194253acaac0b53d8a1c95d9b5c8f4bb (diff)
downloadgcc-472eab9ab1fdfd0ba3a555ea9eb50e20307c7052.zip
gcc-472eab9ab1fdfd0ba3a555ea9eb50e20307c7052.tar.gz
gcc-472eab9ab1fdfd0ba3a555ea9eb50e20307c7052.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/dwarf2codeview.h')
0 files changed, 0 insertions, 0 deletions