OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20000827-1.c] - Blame information for rev 859

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
/* 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.