From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C931D385F02A; Fri, 20 Mar 2020 17:41:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C931D385F02A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1584726062; bh=oo8MwJtlwDGFW2NIhLFRKYeN0BDR3SFQOSJ5cOdCJyw=; h=From:To:Subject:Date:From; b=ZxnTFfPdCDy3Oq+56lmMF/mjbA9oPsUDG4PNf0IqkBA3AVkOzA5F/9K9LzcFhNFs4 iuyyRNT9iO7V+2t5xzppFiAn1fgKt9Yc28ESZAYhwGXUxFAa8aTC8zsYJgfxWKlDVZ Q4gbrkHKZ1CIccZ4P71w1AxuXF39iIFmkmoKgdFo= From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/94240] New: [D] lto1: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:215 Date: Fri, 20 Mar 2020 17:41:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: Fri, 20 Mar 2020 17:41:02 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94240 Bug ID: 94240 Summary: [D] lto1: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:215 Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- lto1: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:215^M 0x5d0032 add_symbol_to_partition_1^M ../../gcc/lto/lto-partition.c:215^M 0x7e261b add_references_to_partition^M ../../gcc/lto/lto-partition.c:111^M 0x7e276d add_symbol_to_partition_1^M ../../gcc/lto/lto-partition.c:188^M 0x7e4a00 lto_1_to_1_map()^M ../../gcc/lto/lto-partition.c:340^M 0x7dc60d do_whole_program_analysis^M ../../gcc/lto/lto.c:493^M 0x7dc60d lto_main()^M ../../gcc/lto/lto.c:642^M Please submit a full bug report,^M with preprocessed source if appropriate.^M Please include the complete backtrace with any bug report.^M See for instructions.^M lto-wrapper: fatal error: /gcc/testsuite/gdc/../../gdc returned 1 exit stat= us^M compilation terminated.^M collect2: fatal error: lto-wrapper returned 1 exit status^M compilation terminated.^M compiler exited with status 1 FAIL: gdc.dg/lto/ltotests d_lto_ltotests_0.o-d_lto_ltotests_1.o link, -O0 -= flto -flto-partition=3D1to1 -fno-use-linker-plugin (internal compiler error) This has been failing in the testsuite since introduction of the D front-en= d.=20 However weirdly I was not able to reproduce until after upgrading my OS. A fix is ready for this to be committed to trunk, it should be backported to the gcc-9 branch as well.=