Commit 7d97b054 by Alan Modra Committed by Alan Modra

* gcc.c-torture/execute/extzvsi.c: New test.

From-SVN: r56868
parent bc401279
2002-09-06 Alan Modra <amodra@bigpond.net.au>
* gcc.c-torture/execute/extzvsi.c: New test.
2002-09-05 Stan Shebs <shebs@apple.com>
* gcc.dg/weak-1.c: xfail on Darwin.
......
/* Failed on powerpc due to bad extzvsi pattern. */
struct ieee
{
unsigned int negative:1;
unsigned int exponent:11;
unsigned int mantissa0:20;
unsigned int mantissa1:32;
} x;
unsigned int
foo (void)
{
unsigned int exponent;
exponent = x.exponent;
if (exponent == 0)
return 1;
else if (exponent > 1)
return 2;
return 0;
}
int
main (void)
{
x.exponent = 1;
if (foo () != 0)
abort ();
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment