diff options
Diffstat (limited to 'recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch')
| -rw-r--r-- | recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch new file mode 100644 index 0000000000..648ea5fa5e --- /dev/null +++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | 2010-10-15 Yao Qi <yao@codesourcery.com> | ||
| 2 | |||
| 3 | Backport from mainline: | ||
| 4 | |||
| 5 | 2010-10-14 Yao Qi <yao@codesourcery.com> | ||
| 6 | |||
| 7 | gcc/ | ||
| 8 | PR target/45447 | ||
| 9 | * config/arm/arm.c (arm_build_builtin_va_list): Assign | ||
| 10 | va_list_name to TYPE_STUB_DECL (va_list_type). | ||
| 11 | |||
| 12 | gcc/testsuite/ | ||
| 13 | PR target/45447 | ||
| 14 | * gcc.target/arm/pr45447.c: New test. | ||
| 15 | |||
| 16 | === modified file 'gcc/config/arm/arm.c' | ||
| 17 | Index: gcc-4.5/gcc/config/arm/arm.c | ||
| 18 | =================================================================== | ||
| 19 | --- gcc-4.5.orig/gcc/config/arm/arm.c | ||
| 20 | +++ gcc-4.5/gcc/config/arm/arm.c | ||
| 21 | @@ -1166,6 +1166,7 @@ arm_build_builtin_va_list (void) | ||
| 22 | va_list_type); | ||
| 23 | DECL_ARTIFICIAL (va_list_name) = 1; | ||
| 24 | TYPE_NAME (va_list_type) = va_list_name; | ||
| 25 | + TYPE_STUB_DECL (va_list_type) = va_list_name; | ||
| 26 | /* Create the __ap field. */ | ||
| 27 | ap_field = build_decl (BUILTINS_LOCATION, | ||
| 28 | FIELD_DECL, | ||
| 29 | Index: gcc-4.5/gcc/testsuite/gcc.target/arm/pr45447.c | ||
| 30 | =================================================================== | ||
| 31 | --- /dev/null | ||
| 32 | +++ gcc-4.5/gcc/testsuite/gcc.target/arm/pr45447.c | ||
| 33 | @@ -0,0 +1,3 @@ | ||
| 34 | +/* { dg-do compile } */ | ||
| 35 | +/* { dg-options "-g -femit-struct-debug-baseonly" } */ | ||
| 36 | +typedef __builtin_va_list x; | ||
