OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [20031021-1.c] - Blame information for rev 437

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O1 -fdump-tree-optimized" } */
3
 
4
struct A
5
{
6
  int i : 8;
7
};
8
 
9
signed char c1, c2;
10
struct A a;
11
 
12
int main()
13
{
14
  a.i = c1;
15
  c2 = a.i;
16
  return a.i;
17
}
18
 
19
/* We should only store to a.i, not load from it.  */
20
/* { dg-final { scan-tree-dump-times "a.i" 1 "optimized" } } */
21
/* { 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.