openbsd-ports/lang/gcc/4.2/patches/patch-gcc_tree-ssa-pre_c
espie ceaa955aca new gcc snapshot, this one compiles again on i386 !
NOTE: this needs current -src, in particular current includes
for libgfortran to build correctly (semantics change in __extern inline
that lead to duplicate isalnum symbols otherwise).
2007-03-17 21:58:45 +00:00

16 lines
500 B
Plaintext

$OpenBSD: patch-gcc_tree-ssa-pre_c,v 1.1 2007/03/17 21:58:46 espie Exp $
--- gcc/tree-ssa-pre.c.orig Mon Feb 19 18:40:03 2007
+++ gcc/tree-ssa-pre.c Mon Feb 19 18:40:44 2007
@@ -3221,8 +3221,10 @@ create_value_expr_from (tree expr, basic
pool = binary_node_pool;
else if (TREE_CODE_CLASS (code) == tcc_comparison)
pool = comparison_node_pool;
- else
+ else {
gcc_assert (code == CALL_EXPR);
+ pool = 0;
+ }
if (code == CALL_EXPR)
vexpr = temp_copy_call_expr (expr);