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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [BUG4.c] - Blame information for rev 843

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

Line No. Rev Author Line
1 297 jeremybenn
int foo()
2
{
3
        char c;
4
 
5
        return (c ^ 30  ) > (c ^ 40 );
6
/*
7
  these also get the signal :
8
        return (c ^ 30  ) == (c ^ 40 );
9
        return ((int)c ^ 30  ) > (c ^ 40 );
10
  also fails if c is "extern char"
11
 
12
  these are ok :
13
        return (c + 30  ) > (c ^ 40 );
14
        return (c ^ 30  ) > (c + 40 );
15
        return (c ^ 30  ) + (c ^ 40 );
16
        return ('a' ^ 30  ) > (c ^ 40 );
17
        return (c ^ 40 );
18
        return (c ^ 30  ) > (c ^ 40 );
19
*/
20
}

powered by: WebSVN 2.1.0

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