aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc48/files
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2007-01-02 21:42:49 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2007-01-02 21:42:49 +0000
commit8c2920b86dafb32c6527c21785e9ad0f275335ee (patch)
treeac733fc279148e04c07bcc98ee52a0bf073a2e24 /lang/gcc48/files
parent2acaee5d40f1d27b0ba5bf185d050091457ef986 (diff)
downloadports-8c2920b86dafb32c6527c21785e9ad0f275335ee.tar.gz
ports-8c2920b86dafb32c6527c21785e9ad0f275335ee.zip
Notes
Diffstat (limited to 'lang/gcc48/files')
-rw-r--r--lang/gcc48/files/patch-gcc-gimplify.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/gcc48/files/patch-gcc-gimplify.c b/lang/gcc48/files/patch-gcc-gimplify.c
new file mode 100644
index 000000000000..1623f6010d93
--- /dev/null
+++ b/lang/gcc48/files/patch-gcc-gimplify.c
@@ -0,0 +1,16 @@
+Index: gcc/gimplify.c
+===================================================================
+--- gcc/gimplify.c (revision 120301)
++++ gcc/gimplify.c (working copy)
+@@ -1013,8 +1013,9 @@
+ /* The wrapper is on the RHS of an assignment that we're pushing
+ down. */
+ gcc_assert (TREE_CODE (temp) == INIT_EXPR
+- || TREE_CODE (temp) == MODIFY_EXPR);
+- TREE_OPERAND (temp, 1) = *p;
++ || TREE_CODE (temp) == MODIFY_EXPR
++ || TREE_CODE (temp) == GIMPLE_MODIFY_STMT);
++ GENERIC_TREE_OPERAND (temp, 1) = *p;
+ *p = temp;
+ }
+ else