Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/arm/cond-asm.c @ 144:8f4e72ab4e11
fix segmentation fault caused by nothing next cur_op to end
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 21:23:56 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* Check that %? in inline asm expands to nothing. */ /* { dg-do compile } */ /* { dg-options "-O2" } */ /* { dg-require-effective-target arm32 } */ int b; int foo(int a) { if (a) b = 42; asm ("test%?me":"=r"(a):"0"(a)); return a; } /* { dg-final { scan-assembler "testme" } } */