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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [sra-12.c] - Rev 749

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

/* Verify that SRA total scalarization will not be confused by padding.  */
/* Test skipped for targets with small (often default) MOVE_RATIO.  */
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-release_ssa" } */
 
struct S
{
  int i;
  unsigned short f1;
  char f2;
  unsigned short f3, f4;
};
 
 
int foo (struct S *p)
{
  struct S l;
 
  l = *p;
  l.i++;
  *p = l;
}
 
/* { dg-final { scan-tree-dump-times "l;" 0 "release_ssa" { target { ! "avr*-*-*" } } } } */
/* { dg-final { cleanup-tree-dump "release_ssa" } } */
 

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

powered by: WebSVN 2.1.0

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