c++: Fix bootstrap failure. [PR97118]
authorJason Merrill <jason@redhat.com>
Fri, 18 Sep 2020 19:34:24 +0000 (15:34 -0400)
committerJason Merrill <jason@redhat.com>
Fri, 18 Sep 2020 19:35:26 +0000 (15:35 -0400)
commite1a1808cd19afd93fc4134fbd8376346d05bdba8
tree82c84c04f165863d7924b878c40856317b2046f9
parent04dc198ce5508b2329c83cda7c0cd9bce4ed83bb
c++: Fix bootstrap failure.  [PR97118]

gcc/cp/ChangeLog:

PR bootstrap/97118
* decl.c (complete_vars): Only call layout_var_decl if completing
the type succeeded.
gcc/cp/decl.c