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]

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


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