diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-09-07 10:31:58 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-09-07 10:31:58 +0000 |
commit | 406c2c85c7aec1847bec4f34c918fbe3f8fa31a6 (patch) | |
tree | 119f81f367c09eda4237b36022dfe84f6d0f1736 /toolchain | |
parent | 4366883f0d334221c20e0125ed83343139747c21 (diff) | |
download | upstream-406c2c85c7aec1847bec4f34c918fbe3f8fa31a6.tar.gz upstream-406c2c85c7aec1847bec4f34c918fbe3f8fa31a6.tar.bz2 upstream-406c2c85c7aec1847bec4f34c918fbe3f8fa31a6.zip |
[toolchain] gcc: add upstream fixes for GCC bug 54494
See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54494 for more infos.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33329 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/gcc/patches/4.7-linaro/002-gcc-bug-54494.patch | 37 | ||||
-rw-r--r-- | toolchain/gcc/patches/4.7.0/002-gcc-bug-54494.patch | 37 |
2 files changed, 74 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.7-linaro/002-gcc-bug-54494.patch b/toolchain/gcc/patches/4.7-linaro/002-gcc-bug-54494.patch new file mode 100644 index 0000000000..ce4ae770f0 --- /dev/null +++ b/toolchain/gcc/patches/4.7-linaro/002-gcc-bug-54494.patch @@ -0,0 +1,37 @@ +URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191025 +Log: +2012-09-06 Andrew Pinski <apinski@cavium.com> + + PR tree-opt/54494 + * tree-inline.c (remap_gimple_op_r): Copy TREE_SIDE_EFFECTS also. +2012-09-06 Andrew Pinski <apinski@cavium.com> + + PR tree-opt/54494 + * gcc.dg/tree-ssa/strlen-1.c: New testcase. + + +Added: + branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/tree-ssa/strlen-1.c + - copied unchanged from r191014, +trunk/gcc/testsuite/gcc.dg/tree-ssa/strlen-1.c +Modified: + branches/gcc-4_7-branch/ (props changed) + branches/gcc-4_7-branch/gcc/ChangeLog + branches/gcc-4_7-branch/gcc/testsuite/ChangeLog + branches/gcc-4_7-branch/gcc/tree-inline.c + +Propchange: branches/gcc-4_7-branch/ + ('svn:mergeinfo' modified) + +--- +--- gcc-4_7-branch/gcc/tree-inline.c 2012/09/06 13:47:33 191024 ++++ gcc-4_7-branch/gcc/tree-inline.c 2012/09/06 13:51:37 191025 +@@ -871,6 +871,7 @@ + ptr, TREE_OPERAND (*tp, 1)); + TREE_THIS_NOTRAP (*tp) = TREE_THIS_NOTRAP (old); + TREE_THIS_VOLATILE (*tp) = TREE_THIS_VOLATILE (old); ++ TREE_SIDE_EFFECTS (*tp) = TREE_SIDE_EFFECTS (old); + TREE_NO_WARNING (*tp) = TREE_NO_WARNING (old); + *walk_subtrees = 0; + return NULL; + diff --git a/toolchain/gcc/patches/4.7.0/002-gcc-bug-54494.patch b/toolchain/gcc/patches/4.7.0/002-gcc-bug-54494.patch new file mode 100644 index 0000000000..ce4ae770f0 --- /dev/null +++ b/toolchain/gcc/patches/4.7.0/002-gcc-bug-54494.patch @@ -0,0 +1,37 @@ +URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191025 +Log: +2012-09-06 Andrew Pinski <apinski@cavium.com> + + PR tree-opt/54494 + * tree-inline.c (remap_gimple_op_r): Copy TREE_SIDE_EFFECTS also. +2012-09-06 Andrew Pinski <apinski@cavium.com> + + PR tree-opt/54494 + * gcc.dg/tree-ssa/strlen-1.c: New testcase. + + +Added: + branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/tree-ssa/strlen-1.c + - copied unchanged from r191014, +trunk/gcc/testsuite/gcc.dg/tree-ssa/strlen-1.c +Modified: + branches/gcc-4_7-branch/ (props changed) + branches/gcc-4_7-branch/gcc/ChangeLog + branches/gcc-4_7-branch/gcc/testsuite/ChangeLog + branches/gcc-4_7-branch/gcc/tree-inline.c + +Propchange: branches/gcc-4_7-branch/ + ('svn:mergeinfo' modified) + +--- +--- gcc-4_7-branch/gcc/tree-inline.c 2012/09/06 13:47:33 191024 ++++ gcc-4_7-branch/gcc/tree-inline.c 2012/09/06 13:51:37 191025 +@@ -871,6 +871,7 @@ + ptr, TREE_OPERAND (*tp, 1)); + TREE_THIS_NOTRAP (*tp) = TREE_THIS_NOTRAP (old); + TREE_THIS_VOLATILE (*tp) = TREE_THIS_VOLATILE (old); ++ TREE_SIDE_EFFECTS (*tp) = TREE_SIDE_EFFECTS (old); + TREE_NO_WARNING (*tp) = TREE_NO_WARNING (old); + *walk_subtrees = 0; + return NULL; + |