From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A2BBA3857C72; Wed, 5 Aug 2020 08:46:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A2BBA3857C72 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1596617208; bh=khFRxj4Xq4B/DrNAr9Nh21Ssq9TSlkCshWGJlPzBnlY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Qygu545COaKxe6Rrk+Pj/gWKKPNqppjFHNFRV2/OwhQycqC2jhnZtSCtupHP+LZ+d CD2uiiZs6aVDtreap3w+3yZ/ndVgKMnrVhe271vpFFy0kDH6B4HXb6+1/vul+4RTHS X1TOvBZVnJlyw6EeLAAO+dg5y6WF9Btg86y6/5ng= From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/96153] d: struct literals have non-deterministic hash values Date: Wed, 05 Aug 2020 08:46:48 +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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: cc 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, 05 Aug 2020 08:46:48 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96153 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro at gcc dot gnu.org --- Comment #2 from Rainer Orth --- The new test FAILs on 64-bit Solaris/SPARC: +FAIL: gdc.dg/pr96153.d -O1 execution test +FAIL: gdc.dg/pr96153.d -O1 -frelease execution test +FAIL: gdc.dg/pr96153.d -O1 -frelease -g execution test +FAIL: gdc.dg/pr96153.d -O1 -g execution test +FAIL: gdc.dg/pr96153.d -O2 execution test +FAIL: gdc.dg/pr96153.d -O2 -frelease execution test +FAIL: gdc.dg/pr96153.d -O2 -frelease -g execution test +FAIL: gdc.dg/pr96153.d -O2 -g execution test +FAIL: gdc.dg/pr96153.d -O3 execution test +FAIL: gdc.dg/pr96153.d -O3 -frelease execution test +FAIL: gdc.dg/pr96153.d -O3 -frelease -g execution test +FAIL: gdc.dg/pr96153.d -O3 -g execution test core.exception.AssertError@/vol/gcc/src/hg/master/local/gcc/testsuite/gdc.d= g/pr96153.d(30): unittest failure ---------------- /vol/gcc/src/hg/master/local/libphobos/libdruntime/gcc/deh.d:500 _d_throw [0x10008262b] /vol/gcc/src/hg/master/local/libphobos/libdruntime/core/exception.d:459 onAssertErrorMsg [0x100063503] ??:? void pr96153.__unittestL21_1() [0x10005c603] ??:? void pr96153.__modtest() [0x10005c613] /vol/gcc/src/hg/master/local/libphobos/libdruntime/core/runtime.d:561 __foreachbody2 [0x100075167] /vol/gcc/src/hg/master/local/libphobos/libdruntime/object.d:1599 __lambda2 [0x10006fce7] /vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/minfo.d:777 __foreachbody2 [0x10006ab07] /vol/gcc/src/hg/master/local/libphobos/libdruntime/gcc/sections/elf_shared.= d:109 int gcc.sections.elf_shared.DSO.opApply(scope int delegate(ref gcc.sections.elf_shared.DSO)) [0x10005dadf] /vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/minfo.d:770 int rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo*)= )) [0x10006c1cf] /vol/gcc/src/hg/master/local/libphobos/libdruntime/object.d:1598 int object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo*)) [0x100071= bc3] /vol/gcc/src/hg/master/local/libphobos/libdruntime/core/runtime.d:551 runModuleUnitTests [0x1000754bb] /vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/dmain2.d:496 runAll [0x10005d1ff] /vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/dmain2.d:472 tryExec [0x10005d3c3] /vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/dmain2.d:505 _d_run_m= ain [0x10005d3c3] ??:? main [0x10005c63b] ??:? _start [0x10005be4b] The test PASSes with -O0 and -Os, as well as with -m32.=