PR tree-opt/30385
* gcc.dg/torture/inline-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120519
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-01-05 Andrew Pinski <Andrew_Pinski@playstation.sony.com>
+
+ PR tree-opt/30385
+ * gcc.dg/torture/inline-1.c: New test.
+
2007-01-05 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR c/19978
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "--param ggc-min-heapsize=0 --param ggc-min-expand=0" } */
+/* This used to ICE because we forgot to update the statement after folding
+ and the eh info. */
+/* PR tree-opt/30385 */
+
+static inline void g(int t)
+{
+ int a;
+ while (a < f())
+ ;
+}
+void h(int t)
+{
+ g(t);
+}