On 9 May 2017 at 17:14, Nathan Sidwell <nat...@acm.org> wrote: > On 05/09/2017 08:06 AM, Ville Voutilainen wrote: >> >> Tested on Linux-x64, not tested with the full suite yet. >> >> 2017-05-09 Ville Voutilainen <ville.voutilai...@gmail.com> >> >> gcc/ >> >> PR c++/80682 >> * cp/method.c (is_trivially_xible): Reject void types. >> >> testsuite/ >> >> PR c++/80682 >> * g++.dg/ext/is_trivially_constructible1.C: Add tests for void >> target. >> > > + if (to == void_type_node) > + return false; > > VOID_TYPE_P. > > ok with that change
Full testsuite run is clean. Is it ok to backport this change to gcc-6? (And gcc-7, too)