2004-11-08 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/18299
* gcc.c-torture/pr18299-1.c: New test.
2004-11-08 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/18299
* tree-inline.c (copy_body_r): Change "t = t" to empty
statement instead of "t".
From-SVN: r90295
+2004-11-08 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR tree-opt/18299
+ * tree-inline.c (copy_body_r): Change "t = t" to empty
+ statement instead of "t".
+
2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
* modulo-sched.c (create_partial_schedule,
+2004-11-08 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR tree-opt/18299
+ * gcc.c-torture/pr18299-1.c: New test.
+
2004-11-06 Andreas Schwab <schwab@suse.de>
* gcc.dg/pr16286.c: Also test for bool and pixel.
--- /dev/null
+/* We used to ICE in gimple-lower because we
+ would produce __t (VAR_DECL) as a statement in the
+ instruction stream which is not valid. */
+
+static inline int f(int i)
+{
+ const int __t = (__t);
+}
+int g(void)
+{
+ return f(0);
+}
STRIP_TYPE_NOPS (value);
if (TREE_CONSTANT (value) || TREE_READONLY_DECL_P (value))
{
- *tp = value;
+ *tp = build_empty_stmt ();
return copy_body_r (tp, walk_subtrees, data);
}
}