AArch64: Fix ICE due to missing TYPE_STUB_DECL on builtin va_list.

2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>

	* config/aarch64/aarch64.c (aarch64_build_builtin_va_list): Set
	TYPE_STUB_DECL.

From-SVN: r194147
This commit is contained in:
Marcus Shawcroft 2012-12-04 14:52:50 +00:00 committed by Marcus Shawcroft
parent 868395e87f
commit 665c56c62a
4 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
* config/aarch64/aarch64.c (aarch64_build_builtin_va_list): Set
TYPE_STUB_DECL.
2012-12-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_select_ccmode): Enable using CC of

View file

@ -5061,6 +5061,7 @@ aarch64_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 fields. */
f_stack = build_decl (BUILTINS_LOCATION,

View file

@ -1,3 +1,7 @@
2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
* gcc.target/aarch64/121127.c: New test.
2012-12-04 Jakub Jelinek <jakub@redhat.com>
PR testsuite/55587

View file

@ -0,0 +1,4 @@
/* { dg-do compile } */
/* { dg-options "-g -femit-struct-debug-baseonly" } */
typedef __builtin_va_list __gnuc_va_list;