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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [asm-1.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* Make sure that gcc understands that an in/out operand is a use as well
2
   as a def.  */
3
 
4
/* { dg-do compile } */
5
/* { dg-options "-O -fdump-tree-optimized" } */
6
 
7
void f()
8
{
9
  int i = 42;
10
  int j = 63;
11
 
12
  asm ("": "=m"(i), "+r"(j) : "m"(i));
13
}
14
 
15
/* { dg-final { scan-tree-dump-times "42" 1 "optimized" } } */
16
/* { dg-final { scan-tree-dump-times "63" 1 "optimized" } } */
17
/* { dg-final { cleanup-tree-dump "optimized" } } */

powered by: WebSVN 2.1.0

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