diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
commit | c58cc7d3796dcee6e93885c835ed04cb566abeb2 (patch) | |
tree | 3eea4d4ef6a4ef79e0f4e025d7012c1a5cc38835 /recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99391.patch | |
parent | eec6ab97f712e06eb52c9f7c99e19ffab3ce9d74 (diff) | |
download | meta-openembedded-contrib-c58cc7d3796dcee6e93885c835ed04cb566abeb2.tar.gz |
move layer into meta-oe in preparation for future splits
As per TSC decision
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99391.patch')
-rw-r--r-- | recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99391.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99391.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99391.patch deleted file mode 100644 index 31122e34be..0000000000 --- a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99391.patch +++ /dev/null @@ -1,43 +0,0 @@ -2010-09-08 Tom de Vries <tom@codesourcery.com> - - gcc/ - * gcc/emit-rtl.c (set_mem_attributes_minus_bitpos): Set MEM_READONLY_P - for static const strings. - * gcc/testsuite/gcc.dg/memcpy-3.c: New test. - - 2010-09-13 Andrew Stubbs <ams@codesourcery.com> - - gcc/ - -=== modified file 'gcc/emit-rtl.c' ---- old/gcc/emit-rtl.c 2009-11-27 12:00:28 +0000 -+++ new/gcc/emit-rtl.c 2010-09-15 16:40:06 +0000 -@@ -1648,6 +1648,11 @@ - MEM_READONLY_P (ref) = 1; - } - -+ /* Mark static const strings readonly as well. */ -+ if (base && TREE_CODE (base) == STRING_CST && TREE_READONLY (base) -+ && TREE_STATIC (base)) -+ MEM_READONLY_P (ref) = 1; -+ - /* If this expression uses it's parent's alias set, mark it such - that we won't change it. */ - if (component_uses_parent_alias_set (t)) - -=== added file 'gcc/testsuite/gcc.dg/memcpy-3.c' ---- old/gcc/testsuite/gcc.dg/memcpy-3.c 1970-01-01 00:00:00 +0000 -+++ new/gcc/testsuite/gcc.dg/memcpy-3.c 2010-09-15 16:40:06 +0000 -@@ -0,0 +1,11 @@ -+/* { dg-do compile } */ -+/* { dg-options "-O2 -fdump-rtl-expand" } */ -+ -+void -+f1 (char *p) -+{ -+ __builtin_memcpy (p, "123", 3); -+} -+ -+/* { dg-final { scan-rtl-dump-times "mem/s/u:" 3 "expand" { target mips*-*-* } } } */ -+/* { dg-final { cleanup-rtl-dump "expand" } } */ - |