Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/i386/pr94857.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
line wrap: on
line source
/* PR target/94857 */ /* { dg-do compile } */ /* { dg-options "-O2 -mtune=skylake -masm=att" } */ /* { dg-additional-options "-mregparm=2" { target ia32 } } */ /* { dg-final { scan-assembler "\taddl\t%\[a-z0-9]\*, \\\(" } } */ int foo (unsigned *p, unsigned x) { unsigned u = *p; *p += x; return u > *p; }