+2005-03-03 Geoffrey Keating <geoffk@apple.com>
+
+ * gcc.c-torture/execute/pr17133.c: New.
+ * gcc.c-torture/compile/20050303-1.c: New.
+
2005-03-04 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/cpp/assert4.c: Fix for cygwin
--- /dev/null
+void crc()
+{
+ int toread;
+ long long nleft;
+ unsigned char buf[(128 * 1024)];
+
+ nleft = 0;
+ while (toread = (nleft < (2147483647 * 2U + 1U)) ? nleft: (2147483647 * 2U + 1U) )
+ ;
+}
--- /dev/null
+extern void abort (void);
+
+int foo = 0;
+void *bar = 0;
+unsigned int baz = 100;
+
+void *pure_alloc ()
+{
+ void *res;
+
+ while (1)
+ {
+ res = (void *) ((((unsigned int) (foo + bar))) & ~1);
+ foo += 2;
+ if (foo < baz)
+ return res;
+ foo = 0;
+ }
+}
+
+int main ()
+{
+ pure_alloc ();
+ if (!foo)
+ abort ();
+ return 0;
+}