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
1=== modified file 'ChangeLog.linaro'
2--- ChangeLog.linaro 2010-10-14 11:54:23 +0000
3+++ ChangeLog.linaro 2010-10-15 06:36:08 +0000
4@@ -1,3 +1,18 @@
5+2010-10-15 Yao Qi <yao@codesourcery.com>
6+
7+ Backport from mainline:
8+
9+ 2010-10-14 Yao Qi <yao@codesourcery.com>
10+
11+ gcc/
12+ PR target/45447
13+ * config/arm/arm.c (arm_build_builtin_va_list): Assign
14+ va_list_name to TYPE_STUB_DECL (va_list_type).
15+
16+ gcc/testsuite/
17+ PR target/45447
18+ * gcc.target/arm/pr45447.c: New test.
19+
20 2010-10-13 Chung-Lin Tang <cltang@codesourcery.com>
21
22 Backport from mainline:
23
24=== modified file 'gcc/config/arm/arm.c'
25--- gcc/config/arm/arm.c 2010-10-14 11:34:20 +0000
26+++ gcc/config/arm/arm.c 2010-10-15 06:36:08 +0000
27@@ -1166,6 +1166,7 @@
28 va_list_type);
29 DECL_ARTIFICIAL (va_list_name) = 1;
30 TYPE_NAME (va_list_type) = va_list_name;
31+ TYPE_STUB_DECL (va_list_type) = va_list_name;
32 /* Create the __ap field. */
33 ap_field = build_decl (BUILTINS_LOCATION,
34 FIELD_DECL,
35
36=== added file 'gcc/testsuite/gcc.target/arm/pr45447.c'
37--- gcc/testsuite/gcc.target/arm/pr45447.c 1970-01-01 00:00:00 +0000
38+++ gcc/testsuite/gcc.target/arm/pr45447.c 2010-10-15 06:36:08 +0000
39@@ -0,0 +1,3 @@
40+/* { dg-do compile } */
41+/* { dg-options "-g -femit-struct-debug-baseonly" } */
42+typedef __builtin_va_list x;

Subscribers

People subscribed via source and target branches