Remove assert in reshape_init_r.
authorMarek Polacek <polacek@redhat.com>
Mon, 30 Dec 2019 16:07:33 +0000 (16:07 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 30 Dec 2019 16:07:33 +0000 (16:07 +0000)
commita5650762680ea88c789906de91ded06ee48e1e67
tree33f39687b65b22c03f7cd1dba3cdcce56905ce54
parent04e4997a567142f56dc83eba67b9590c0431d7da
Remove assert in reshape_init_r.

Asserting !BRACE_ENCLOSED_INITIALIZER_P seems pretty pointless, since
that checks for init_list_type_node, and a compound literal won't have
that type, nor will we see that type if we just checked that it's
something else.

* decl.c (reshape_init_r): Remove assert.

From-SVN: r279771
gcc/cp/ChangeLog
gcc/cp/decl.c