This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PR 44707 testcase failure
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>, Jakub Jelinek <jakub at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 16 Nov 2011 18:42:30 -0500
- Subject: PR 44707 testcase failure
Hi, Uli and Jakub,
I noticed that gcc.c-torture/compile/pr44707.c fails on AIX because it
generates invalid assembly language:
# 12 "/farm/dje/src/src/gcc/testsuite/gcc.c-torture/compile/pr44707.c" 1
/* 0(6) 0(7) 0(8) 0(9) 0(10) */
# 0 "" 2
I'm confused why
__asm__ volatile ("/* %0 %1 %2 %3 %4 */" : : "nro" (e1), "nro" (e2), "nro" (e3
is suppose to be valid on all targets when assembled.
Should this testcase use
/* { dg-do compile } */
to prevent attempt at assembly?
Thanks, David