+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>
* gcc.c-torture/compile/20011217-1.c: New test.
* objc/execute/bf-21.m: New test.
* objc/execute/enumeration-1.m: New test.
* objc/execute/enumeration-2.m: New test.
-
+
2001-12-12 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/gnu89-init-1.c: New test.
--- /dev/null
+/* 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);
+}