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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do link } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
 
4
extern int t;
5
extern void link_error(void);
6
int main (void)
7
{
8
      struct { unsigned int a : 7; } s;
9
      s.a = t;
10
      if (s.a >> 8)
11
          link_error ();
12
      if (s.a >> 9)
13
          link_error ();
14
}
15
 
16
 
17
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"  } } */
18
/* { 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.