This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/71642] New: [7 Regression] ICE: in gen_type_die_with_usage, at dwarf2out.c:22729
- From: "Joost.VandeVondele at mat dot ethz.ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 24 Jun 2016 07:47:57 +0000
- Subject: [Bug debug/71642] New: [7 Regression] ICE: in gen_type_die_with_usage, at dwarf2out.c:22729
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71642
Bug ID: 71642
Summary: [7 Regression] ICE: in gen_type_die_with_usage, at
dwarf2out.c:22729
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: Joost.VandeVondele at mat dot ethz.ch
Target Milestone: ---
overnight trunk regression:
> cat bug.f90
MODULE gauss_colloc
INTEGER, PARAMETER :: dp=8
CONTAINS
SUBROUTINE collocGauss(h,h_inv,grid,poly,alphai,posi,max_r2,&
periodic,gdim,local_bounds,local_shift,poly_shift,scale,lgrid,error)
REAL(dp), DIMENSION(0:, 0:, 0:), &
INTENT(inout) :: grid
INTEGER, INTENT(inout), OPTIONAL :: lgrid
CONTAINS
SUBROUTINE kloop6
IF (kJump/=1 .AND. (ikstart+kmax-kstart>=ndim(2)+l_shift(2) .OR.&
ikstart2+kmin-kstart2<=l_ub(2)-ndim(2))) THEN
DO
DO k=kstart2,kend2,-1
IF ( PRESENT ( lgrid ) ) THEN
grid(ik,ij,ii) = grid(ik,ij,ii) + p_v*res_k
END IF
END DO
END DO
END IF
END SUBROUTINE
END SUBROUTINE
END MODULE gauss_colloc
> gfortran -c -g bug.f90
bug.f90:21:0:
END SUBROUTINE
internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:22729
0x826d80 gen_type_die_with_usage
../../gcc/gcc/dwarf2out.c:22729
0x825fa5 gen_type_die_with_usage
../../gcc/gcc/dwarf2out.c:22811
0x827246 gen_type_die
../../gcc/gcc/dwarf2out.c:22907
0x820c1b gen_decl_die
../../gcc/gcc/dwarf2out.c:23522
0x82239c process_scope_var
../../gcc/gcc/dwarf2out.c:23029
0x822607 decls_for_scope
../../gcc/gcc/dwarf2out.c:23054
0x823177 gen_subprogram_die
../../gcc/gcc/dwarf2out.c:20773
0x820e5c gen_decl_die
../../gcc/gcc/dwarf2out.c:23476
0x821bce dwarf2out_decl
../../gcc/gcc/dwarf2out.c:23959
0x821f69 dwarf2out_early_global_decl
../../gcc/gcc/dwarf2out.c:23632
0x7b0bd8 symbol_table::finalize_compilation_unit()
../../gcc/gcc/cgraphunit.c:2557
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
> gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/data/vjoost/gnu/gcc_trunk/install/libexec/gcc/x86_64-pc-linux-gnu/7.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/data/vjoost/gnu/gcc_trunk/install
--enable-languages=c,c++,fortran --disable-multilib --enable-plugins
--enable-lto --disable-bootstrap
Thread model: posix
gcc version 7.0.0 20160624 (experimental) [trunk revision 237753] (GCC)