From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70447 invoked by alias); 4 Jul 2015 12:25:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 70362 invoked by uid 48); 4 Jul 2015 12:25:49 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66762] New: ICE when compiling gfortran.dg/submodule_[16].f90 with -flto Date: Sat, 04 Jul 2015 12:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.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 cc blocked target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-07/txt/msg00322.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66762 Bug ID: 66762 Summary: ICE when compiling gfortran.dg/submodule_[16].f90 with -flto Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dominiq at lps dot ens.fr CC: hubicka at gcc dot gnu.org, pault at gcc dot gnu.org Blocks: 52846 Target Milestone: --- When compiling gfortran.dg/submodule_[16].f90 with -flto I get the following ICE: lto1: error: two or more sections for .gnu.lto___foo_interface_MOD___vtab_foo_interface_Foo.b6ec16be3917c0c lto1: internal compiler error: cannot read LTO decls from /var/folders/8q/sh_swgz96r7f5vnn08f7fxr00000gn/T//cc71MURs.o lto1: internal compiler error: Abort trap: 6 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52846 [Bug 52846] [F2008] Support submodules