modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/20000827-1.c (about)

     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  }