OpenSSL by Jason R Thorpe.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33691
138bc75d-0d04-0410-961f-
82ee72b054a4
+2000-05-04 Richard Henderson <rth@cygnus.com>
+
+ * gcc.c-torture/compile/20000504-1.c: New test. Derived from
+ OpenSSL by Jason R Thorpe.
+
2000-05-03 Robert Lipe <robertlipe@usa.net>
* gcc.dg/20000503-1.c: New test.
--- /dev/null
+struct foo {
+ int a;
+ int b;
+};
+
+int func(struct foo *foo, int a)
+{
+ if (foo->b == 0) {
+ int ret = foo->a = a;
+ if (a >= 0)
+ foo->a = a;
+ return (ret);
+ }
+ return (0);
+}