Commit 232fd111 by Andreas Jaeger Committed by Andreas Jaeger

* gcc.c-torture/compile/20011217-2.c: New test.

From-SVN: r48097
parent e536cfdf
2001-12-17 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/compile/20011217-2.c: New test.
2001-12-17 Joseph S. Myers <jsm28@cam.ac.uk> 2001-12-17 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20011217-1.c: New test. * gcc.c-torture/compile/20011217-1.c: New test.
...@@ -25,7 +29,7 @@ Thu Dec 13 10:35:33 2001 Nicola Pero <n.pero@mi.flashnet.it> ...@@ -25,7 +29,7 @@ Thu Dec 13 10:35:33 2001 Nicola Pero <n.pero@mi.flashnet.it>
* objc/execute/bf-21.m: New test. * objc/execute/bf-21.m: New test.
* objc/execute/enumeration-1.m: New test. * objc/execute/enumeration-1.m: New test.
* objc/execute/enumeration-2.m: New test. * objc/execute/enumeration-2.m: New test.
2001-12-12 Jakub Jelinek <jakub@redhat.com> 2001-12-12 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/gnu89-init-1.c: New test. * gcc.dg/gnu89-init-1.c: New test.
......
/* Test that the initializer of a compound literal is properly walked
when tree inlining. */
/* Origin: glibc (as reported in PR c/5105) from <aj@suse.de>. */
inline int
finite (double __x)
{
return (__extension__
(((((union { double __d; int __i[2]; }) {__d: __x}).__i[1]
| 0x800fffffu) + 1) >> 31));
}
int
main (void)
{
double x = 1.0;
return finite (x);
}
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