OSDN Git Service

* gcc.dg/pr34351.c: Compile for x86 targets only. Use %ebx register.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr34351.c
1 /* { dg-do compile  { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-Wall" } */
3
4 register int * volatile x asm ("ebx"); /* { dg-warning "optimization may eliminate reads and/or writes to register variables" } */