When compiling the attached code with the following flags: gfortran -g -O2 -c state_matrices.f90 (actually the default from libtool for the debug mode), this triggers the following internal compiler error: gfortran45.old -g -O2 -c state_matrices.f90 <conj_expr 0x403c6780 type <complex_type 0x4033b1b0 complex(kind=4) type <real_type 0x40332a20 real(kind=4) SF size <integer_cst 0x40325498 constant 32> unit size <integer_cst 0x40325284 constant 4> align 32 symtab 0 alias set -1 canonical type 0x40332a20 precision 32 pointer_to_this <pointer_type 0x40332b64>> SC size <integer_cst 0x40325594 constant 64> unit size <integer_cst 0x403255b0 constant 8> align 32 symtab 0 alias set -1 canonical type 0x4033b1b0 pointer_to_this <pointer_type 0x403a1870>>
arg 0 <debug_expr_decl 0x4032c6e0 D.4294967293 type <complex_type 0x4033b1b0 complex(kind=4)> SC file state_matrices.f90 line 106 col 0 align 1 (debug_expr:SC D#3)> state_matrices.f90:100:0> state_matrices.f90: In function ‘state_matrix_test’: state_matrices.f90:83:0: internal compiler error: in expand_debug_expr, at cfgexpand.c:2944 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: [4.5.0 regression] internal compiler error: in expand_debug_expr Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reuter at physik dot uni-freiburg dot de GCC build triplet: i686-pc-linux-gnu, i386-apple-darwin9.8.0 GCC host triplet: i686-pc-linux-gnu, i386-apple-darwin9.8.0 GCC target triplet: i686-pc-linux-gnu, i386-apple-darwin9.8.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41717