This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Aarch64][target/PR 67143] Use correct constraints on operands for atomic operations.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]