This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Aarch64][target/PR 67143] Use correct constraints on operands for atomic operations.
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Matthew Wahab <matthew dot wahab at foss dot arm dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 12 Aug 2015 21:26:16 +0000
- Subject: Re: [Aarch64][target/PR 67143] Use correct constraints on operands for atomic operations.
- Authentication-results: sourceware.org; auth=none
- References: <55C9F321 dot 2080807 at foss dot arm dot com>
On Tue, 11 Aug 2015, Matthew Wahab wrote:
> PR target/67143
> * gcc.target/aarch64/pr67143.c: New
What's architecture-specific about this test? That is, why doesn't it
just go in gcc.c-torture/compile (no dg- directives needed, automatically
looped over optimization options)?
Architecture-specific test directories should only be for tests that are
actually architecture-specific (e.g. using architecture-specific options,
or asm, or built-in functions, or scan-assembler for particular output),
not for tests that can be built generically for all architectures and
still test for the original bug.
--
Joseph S. Myers
joseph@codesourcery.com