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/] [forwprop-7.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O1 -fdump-tree-forwprop1 -W -Wall" } */
3
 
4
int i;
5
int foo(void)
6
{
7
  volatile int *p = (volatile int *)&i;
8
  return *p + *p;
9
}
10
 
11
/* We should not convert the cast to a VCE in forwprop1 as we have a
12
   volatile reference.  */
13
 
14
/* { dg-final { scan-tree-dump-times "VIEW_CONVERT_EXPR" 0 "forwprop1"} } */
15
/* { dg-final { scan-tree-dump-times "={v}" 2 "forwprop1"} } */
16
/* { dg-final { cleanup-tree-dump "forwprop1" } } */

powered by: WebSVN 2.1.0

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