[paketler-commits] r37722 - devel/system/devel/gcc/files
paketler-commits at pardus.org.tr
paketler-commits at pardus.org.tr
31 Ara 2007 Pzt 13:42:06 EET
Author: cartman
Date: Mon Dec 31 13:42:06 2007
New Revision: 37722
Modified:
devel/system/devel/gcc/files/revert-r130788.patch
Log:
merge this too
Modified: devel/system/devel/gcc/files/revert-r130788.patch
=================================================================
--- devel/system/devel/gcc/files/revert-r130788.patch (original)
+++ devel/system/devel/gcc/files/revert-r130788.patch Mon Dec 31 13:42:06 2007
@@ -1,8 +1,6 @@
-Index: gcc/gimplify.c
-===================================================================
---- gcc/gimplify.c (revision 130788)
-+++ gcc/gimplify.c (revision 130787)
-@@ -3470,9 +3470,8 @@
+--- gcc/gimplify.c
++++ gcc/gimplify.c
+@@ -3470,9 +3470,8 @@ fold_indirect_ref_rhs (tree t)
return NULL_TREE;
}
@@ -14,7 +12,7 @@
static enum gimplify_status
gimplify_modify_expr_rhs (tree *expr_p, tree *from_p, tree *to_p, tree *pre_p,
-@@ -3483,18 +3482,6 @@
+@@ -3483,18 +3482,6 @@ gimplify_modify_expr_rhs (tree *expr_p, tree *from_p, tree *to_p, tree *pre_p,
while (ret != GS_UNHANDLED)
switch (TREE_CODE (*from_p))
{
@@ -33,3 +31,30 @@
case INDIRECT_REF:
{
/* If we have code like
+--- gcc/testsuite/gcc.dg/tree-ssa/pr32901.c
++++ gcc/testsuite/gcc.dg/tree-ssa/pr32901.c
+@@ -1,24 +0,0 @@
+-/* { dg-do compile } */
+-/* { dg-options "-O -fdump-tree-gimple" } */
+-
+-struct foo {
+- unsigned a1: 1;
+- unsigned a2: 3;
+- unsigned : 4;
+-};
+-
+-extern struct foo thefoo;
+-
+-void setup_foo(void)
+-{
+- const struct foo init = {
+- .a1 = 1,
+- .a2 = 5,
+- };
+- thefoo = init;
+-}
+-
+-/* { dg-final { scan-tree-dump-times "thefoo.0 = \{\}" 1 "gimple"} } */
+-/* { dg-final { scan-tree-dump-times "thefoo.0.a1 = 1" 1 "gimple"} } */
+-/* { dg-final { scan-tree-dump-times "thefoo.0.a2 = 5" 1 "gimple"} } */
+-/* { dg-final { cleanup-tree-dump "gimple" } } */
Paketler-commits mesaj listesiyle ilgili
daha fazla bilgi