This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/66762] New: ICE when compiling gfortran.dg/submodule_[16].f90 with -flto


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]