Skip to content
Snippets Groups Projects
Commit b21d6474 authored by Dimitar Dimitrov's avatar Dimitar Dimitrov
Browse files

testsuite: Run array54.C only for sync_int_long targets


The test case uses "atomic<int>", which fails to link on
pru-unknown-elf target due to missing __atomic_load_4 symbol.

Fix by filtering for sync_int_long effective target.  Ensured that the
test still passes for x86_64-pc-linux-gnu.

gcc/testsuite/ChangeLog:

	* g++.dg/init/array54.C: Require sync_int_long effective target.

Signed-off-by: default avatarDimitar Dimitrov <dimitar@dinux.eu>
parent c9ccc396
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment