+2008-07-03 Michael Meissner <gnu@the-meissners.org>
+
+ PR middle-end/35736
+ * predict.c (build_predict_expr): Use void_type_node for the tree
+ type, instead of NULL_TREE.
+
2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (contains_aligned_value_p): Return true
tree
build_predict_expr (enum br_predictor predictor, enum prediction taken)
{
- tree t = build1 (PREDICT_EXPR, NULL_TREE, build_int_cst (NULL, predictor));
+ tree t = build1 (PREDICT_EXPR, void_type_node,
+ build_int_cst (NULL, predictor));
PREDICT_EXPR_OUTCOME (t) = taken;
return t;
}
+2008-07-03 Michael Meissner <gnu@the-meissners.org>
+
+ PR middle-end/35736
+ * gcc.dg/pr35736.c: New file.
+
2008-07-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gcc.dg/pr28243.c: Skip on SPU.
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O -Wall" } */
+
+void foo()
+{
+ while (1)
+ for (;;({ continue; }))
+ ;
+}