Mercurial > hg > CbC > CbC_gcc
diff gcc/testsuite/gcc.dg/pr79985.c @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gcc/testsuite/gcc.dg/pr79985.c Thu Oct 25 10:21:07 2018 +0900 @@ -0,0 +1,12 @@ +/* PR rtl-optimization/79985 */ +/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */ +/* { dg-options "-O3 -fschedule-insns -fselective-scheduling" } */ + +long a; +int b; +void +c () +{ + __asm("" : "=r"(a) : "0"(c)); + __asm("" : "=r"(b)); +}