2004-09-24 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/17624
* g++.dg/opt/pr17624.C: New test.
From-SVN: r88034
+2004-09-24 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR tree-opt/17624
+ * g++.dg/opt/pr17624.C: New test.
+
2004-09-24 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/6980
--- /dev/null
+// { dg-do compile }
+// { dg-options "-O2" }
+
+extern void foo (void);
+int c;
+void foo (int n)
+{
+ int j = 0;
+ try
+ {
+ for(;;)
+ {
+ foo ();
+ if (j ++ == n)
+ break;
+ foo ();
+ }
+ }
+ catch (...)
+ {
+ c = j;
+ }
+}