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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [fold-eqand-1.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR tree-optimization/13827 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fdump-tree-original" } */
4
 
5
unsigned foo (unsigned a, unsigned b)
6
{
7
  return (a & 0xff00) != (b & 0xff00);
8
}
9
 
10
unsigned bar (unsigned c, unsigned d)
11
{
12
  return (c & 0xff00) == (d & 0xff00);
13
}
14
 
15
/* { dg-final { scan-tree-dump-times "a \\^ b" 1 "original" } } */
16
/* { dg-final { scan-tree-dump-times "c \\^ d" 1 "original" } } */
17
/* { dg-final { cleanup-tree-dump "original" } } */

powered by: WebSVN 2.1.0

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