re PR debug/45447 (ICE with `-g -femit-struct-debug-baseonly')
gcc/ PR target/45447 * config/arm/arm.c (arm_build_builtin_va_list): Assign va_list_name to TYPE_STUB_DECL (va_list_type). gcc/testsuite/ PR target/45447 * gcc.target/arm/pr45447.c: New test. From-SVN: r165493
This commit is contained in:
parent
97ba0040a8
commit
56f01f0b41
4 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-10-14 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
PR target/45447
|
||||
* config/arm/arm.c (arm_build_builtin_va_list): Assign
|
||||
va_list_name to TYPE_STUB_DECL (va_list_type).
|
||||
|
||||
2010-10-14 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR middle-end/45621
|
||||
|
|
|
@ -1218,6 +1218,7 @@ arm_build_builtin_va_list (void)
|
|||
va_list_type);
|
||||
DECL_ARTIFICIAL (va_list_name) = 1;
|
||||
TYPE_NAME (va_list_type) = va_list_name;
|
||||
TYPE_STUB_DECL (va_list_type) = va_list_name;
|
||||
/* Create the __ap field. */
|
||||
ap_field = build_decl (BUILTINS_LOCATION,
|
||||
FIELD_DECL,
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2010-10-14 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
PR target/45447
|
||||
* gcc.target/arm/pr45447.c: New test.
|
||||
|
||||
2010-10-14 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR middle-end/45621
|
||||
|
|
3
gcc/testsuite/gcc.target/arm/pr45447.c
Normal file
3
gcc/testsuite/gcc.target/arm/pr45447.c
Normal file
|
@ -0,0 +1,3 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-g -femit-struct-debug-baseonly" } */
|
||||
typedef __builtin_va_list x;
|
Loading…
Add table
Reference in a new issue