From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 098FE385DC1B; Wed, 15 Apr 2020 23:47:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 098FE385DC1B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1586994431; bh=cWuIZsZS6c8XH7NUNvJIcuyki29y4mUD74bEY+tS+QU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=B8Sg/5mfp0GW04DuMCJNT2pI6PDQ4IMp5P5MPA66g4CzthsBqqxtzlW5qZ+SbUzRn DNrAlrD/a68dYTAe3a2vnMom6/lm/l3RHzntR9pZhgk/y+F8x/4WPQenqRuNXksJP6 2Mccao+K+MWrdZIXoadFH/yqpEqspdAc/x0ZewJI= From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/94609] FAIL: gdc.dg/runnable.d Date: Wed, 15 Apr 2020 23:47:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status everconfirmed cf_reconfirmed_on Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2020 23:47:11 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94609 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2020-04-15 --- Comment #9 from H.J. Lu --- (In reply to Iain Buclaw from comment #7) > > However the front-end for some time now has implemented an isPOD method t= hat > recursively checks all fields too. It would be better to use this instea= d. >=20 > --- a/gcc/d/types.cc > +++ b/gcc/d/types.cc > @@ -915,7 +915,7 @@ public: > /* For structs with a user defined postblit or a destructor, > also set TREE_ADDRESSABLE on the type and all variants. > This will make the struct be passed around by reference. */ > - if (t->sym->postblit || t->sym->dtor) > + if (!t->sym->isPOD ()) > { > for (tree tv =3D t->ctype; tv !=3D NULL_TREE; tv =3D TYPE_NEXT_VA= RIANT > (tv)) > TREE_ADDRESSABLE (tv) =3D 1; >=20 >=20 >=20 > The test itself now passes with the above, but going to rebuild the libra= ry > and run it on the wider testsuite. I tested with glibc 2.30 with fix for https://sourceware.org/bugzilla/show_bug.cgi?id=3D25810 I got FAIL: libphobos.phobos_shared/std/algorithm/mutation.d execution test FAIL: libphobos.phobos_shared/std/algorithm/mutation.d execution test FAIL: libphobos.phobos_shared/std/algorithm/mutation.d execution test FAIL: libphobos.phobos_shared/std/conv.d execution test FAIL: libphobos.phobos_shared/std/conv.d execution test FAIL: libphobos.phobos_shared/std/conv.d execution test FAIL: libphobos.phobos_shared/std/datetime/systime.d execution test FAIL: libphobos.phobos_shared/std/datetime/systime.d execution test FAIL: libphobos.phobos_shared/std/datetime/systime.d execution test FAIL: libphobos.phobos_shared/std/range/primitives.d (test for excess error= s) FAIL: libphobos.phobos/std/algorithm/mutation.d execution test FAIL: libphobos.phobos/std/algorithm/mutation.d execution test FAIL: libphobos.phobos/std/algorithm/mutation.d execution test FAIL: libphobos.phobos/std/conv.d execution test FAIL: libphobos.phobos/std/conv.d execution test FAIL: libphobos.phobos/std/conv.d execution test FAIL: libphobos.phobos/std/datetime/systime.d execution test FAIL: libphobos.phobos/std/datetime/systime.d execution test FAIL: libphobos.phobos/std/datetime/systime.d execution test FAIL: libphobos.phobos/std/range/primitives.d (test for excess errors) with $ make check RUNTESTFLAGS=3D"--target_board=3D'unix{-mx32,-m32,}'"=