d: Fix internal compiler error: in d_init_builtins, at d/d-builtins.cc:1121
authorIain Buclaw <ibuclaw@gdcproject.org>
Wed, 21 Aug 2019 07:53:05 +0000 (07:53 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Wed, 21 Aug 2019 07:53:05 +0000 (07:53 +0000)
commit2ee3ea4b9061e3bb5e19e9d9c02c273dc2585263
treed5b6b4f31cb4f8c9880a9d519232a4079534486e
parentdcb6ebe3d672317d3596d8facdf2625afad1cac2
d: Fix internal compiler error: in d_init_builtins, at d/d-builtins.cc:1121

gcc/d/ChangeLog:

PR d/90444
* d-builtins.cc (build_frontend_type): Build anonymous RECORD_TYPE
nodes as well, push all fields to the struct members.
(d_build_builtins_module): Push anonymous va_list structs to the
builtins module, naming them __builtin_va_list.
(d_init_builtins): Use sorry instead of gcc_unreachable if va_list did
not succeed in being represented as a D type.

From-SVN: r274765
gcc/d/ChangeLog
gcc/d/d-builtins.cc