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/] [foldaddr-3.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-optimized" } */
3
union a
4
{
5
  struct s1
6
  {
7
    long long a;
8
    long long b;
9
  } s1;
10
  struct s2
11
  {
12
    int c;
13
    int d;
14
  } s2;
15
  struct s3
16
  {
17
    unsigned long long e;
18
    unsigned long long f;
19
  } s3;
20
} a;
21
int *
22
t ()
23
{
24
  return (int *) &a;
25
}
26
 
27
/* { dg-final { scan-tree-dump "a.s2.c" "optimized"} } */
28
/* { 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.