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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr22269.c] - Blame information for rev 749

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

Line No. Rev Author Line
1 688 jeremybenn
/* We used to ICE in tree-ssa-reassoc because we did look at the correct operand to
2
   see if it was a SSA_NAME.  */
3
int printf(const char*, ...);
4
int main(int argv, char*argc) {
5
 
6
    int d1;
7
    int d2;
8
    int s1, s2;
9
    int b;
10
    ((d1)&=(int)0x0000ffffL, (d1)|=((int)(short)(0x344))<<16);
11
    ((d1)&=(int)0xffff0000UL, (d1)|=(int)(unsigned short)(0x4567));
12
    ((d2)&=(int)0x0000ffffL, (d2)|=((int)(short)(0))<<16);
13
    ((d2)&=(int)0xffff0000UL, (d2)|=(int)(unsigned short)(0x3b9a));
14
    printf(" dividend >>: %ld\n", d1);
15
    printf(" divisor  >>: %ld\n", d2);
16
}

powered by: WebSVN 2.1.0

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