Merge lp:~yao-codesourcery/gcc-linaro/fix-lp-623945 into lp:gcc-linaro/4.5

Proposed by Yao Qi
Status: Merged
Merged at revision: 99414
Proposed branch: lp:~yao-codesourcery/gcc-linaro/fix-lp-623945
Merge into: lp:gcc-linaro/4.5
Diff against target: 42 lines (+19/-0)
3 files modified
ChangeLog.linaro (+15/-0)
gcc/config/arm/arm.c (+1/-0)
gcc/testsuite/gcc.target/arm/pr45447.c (+3/-0)
To merge this branch: bzr merge lp:~yao-codesourcery/gcc-linaro/fix-lp-623945
Reviewer Review Type Date Requested Status
Andrew Stubbs (community) Approve
Review via email: mp+38500@code.launchpad.net

Description of the change

This patch is approved upstreams http://gcc.gnu.org/ml/gcc-patches/2010-10/msg01182.html
and committed to FSF gcc mailine http://gcc.gnu.org/ml/gcc-cvs/2010-10/msg00677.html

Backport this patch to Linaro 4.5 to fix ICE reported in LP:623945. Didn't run regression test on Linaro tree.

To post a comment you must log in.
Revision history for this message
Andrew Stubbs (ams-codesourcery) wrote :

Look s fine to me. I'll merge it myself along with the other patches I have to test.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog.linaro'
--- ChangeLog.linaro 2010-10-14 11:54:23 +0000
+++ ChangeLog.linaro 2010-10-15 06:36:08 +0000
@@ -1,3 +1,18 @@
12010-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
12010-10-13 Chung-Lin Tang <cltang@codesourcery.com>162010-10-13 Chung-Lin Tang <cltang@codesourcery.com>
217
3 Backport from mainline:18 Backport from mainline:
419
=== modified file 'gcc/config/arm/arm.c'
--- gcc/config/arm/arm.c 2010-10-14 11:34:20 +0000
+++ gcc/config/arm/arm.c 2010-10-15 06:36:08 +0000
@@ -1166,6 +1166,7 @@
1166 va_list_type);1166 va_list_type);
1167 DECL_ARTIFICIAL (va_list_name) = 1;1167 DECL_ARTIFICIAL (va_list_name) = 1;
1168 TYPE_NAME (va_list_type) = va_list_name;1168 TYPE_NAME (va_list_type) = va_list_name;
1169 TYPE_STUB_DECL (va_list_type) = va_list_name;
1169 /* Create the __ap field. */1170 /* Create the __ap field. */
1170 ap_field = build_decl (BUILTINS_LOCATION,1171 ap_field = build_decl (BUILTINS_LOCATION,
1171 FIELD_DECL, 1172 FIELD_DECL,
11721173
=== added file 'gcc/testsuite/gcc.target/arm/pr45447.c'
--- gcc/testsuite/gcc.target/arm/pr45447.c 1970-01-01 00:00:00 +0000
+++ gcc/testsuite/gcc.target/arm/pr45447.c 2010-10-15 06:36:08 +0000
@@ -0,0 +1,3 @@
1/* { dg-do compile } */
2/* { dg-options "-g -femit-struct-debug-baseonly" } */
3typedef __builtin_va_list x;

Subscribers

People subscribed via source and target branches