aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-object-size.h
diff options
context:
space:
mode:
authorDimitar Dimitrov <dimitar@dinux.eu>2024-10-27 09:49:49 +0200
committerDimitar Dimitrov <dimitar@dinux.eu>2024-10-28 22:11:30 +0200
commit6638fcc161350e1d68c0739356b286cff947470b (patch)
tree853f7d47e033388e1859f99785ea9cceb78ae40b /gcc/tree-object-size.h
parentca078d260a13aaf644fc871675a127c44aa12ccc (diff)
downloadgcc-6638fcc161350e1d68c0739356b286cff947470b.zip
gcc-6638fcc161350e1d68c0739356b286cff947470b.tar.gz
gcc-6638fcc161350e1d68c0739356b286cff947470b.tar.bz2
testsuite: Require atomic operations for pr47333_0
Since the test uses __sync_fetch_and_add, add a requirement for target to support atomic operations on int and long types. This fixes a spurious test failure on pru-unknown-elf, which lacks atomic ops. The test still passes on x86_64-linux-gnu. gcc/testsuite/ChangeLog: * g++.dg/lto/pr47333_0.C: Require target that supports atomic operations on int and long types. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
Diffstat (limited to 'gcc/tree-object-size.h')
0 files changed, 0 insertions, 0 deletions