This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed][PATCH 9/9] Add "__RTL" to cc1 (v9)
- From: Joseph Myers <joseph at codesourcery dot com>
- To: David Malcolm <dmalcolm at redhat dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, Jeff Law <law at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 24 Jan 2017 17:55:22 +0000
- Subject: Re: [committed][PATCH 9/9] Add "__RTL" to cc1 (v9)
- Authentication-results: sourceware.org; auth=none
- References: <D7D6FA60-01F3-4216-B070-FFDAF1A60009@gmail.com> <1485281149-44471-1-git-send-email-dmalcolm@redhat.com>
On Tue, 24 Jan 2017, David Malcolm wrote:
> /* { dg-do run { x86_64-*-* } } */
That's never correct, since x86_64-*-* can have -m32 multilibs and
i?86-*-* can have 64-bit multilibs. You always need to cover all relevant
triplets and then restrict with effective-target selectors to relevant
ABIs.
> +/* { dg-do compile { target aarch64-*-* } } */
Should be aarch64*-*-* to cover aarch64_be triplets (and then again
restrict by ABI as necessary; any triplet might have both endiannesses as
multilibs, and both LP64 and ILP32).
--
Joseph S. Myers
joseph@codesourcery.com