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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [BUG4.c] - Blame information for rev 149

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

Line No. Rev Author Line
1 149 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.