Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/20000827-1.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* Copyright (C) 2000 Free Software Foundation */ |
2 /* Contributed by Alexandre Oliva <aoliva@redhat.com> */ | |
3 | |
4 int | |
5 foo () | |
6 { | |
7 while (1) | |
8 { | |
9 int a; | |
10 char b; | |
11 /* gcse should not merge these asm statements, since their | |
12 output operands have different modes. */ | |
13 __asm__("":"=r" (a)); __asm__("":"=r" (b)); | |
14 if (b) | |
15 return a; | |
16 } | |
17 } |