https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61824
Bug ID: 61824
Summary: ICE using dble() and -march=native
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: abensonca at gmail dot com
The following causes an ICE with the latest gfortran if I compile with
-march=native:
module hs
contains
subroutine extend()
implicit none
integer :: a
double precision :: t
t=dble(a)
end subroutine extend
end module hs
$ gfortran -v
Usando especificaciones internas.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/home/abenson/Galacticus/Tools/libexec/gcc/x86_64-unknown-linux-gnu/4.10.0/lto-wrapper
Objetivo: x86_64-unknown-linux-gnu
Configurado con: ../trunk/configure --prefix=/home/abenson/Galacticus/Tools
--enable-languages=c++,c,fortran --disable-multilib
Modelo de hilos: posix
gcc versión 4.10.0 20140716 (experimental) (GCC)
$ gfortran -c tmp3.F90 -o tmp3.o -march=native
tmp3.F90: En la función ‘extend’:
tmp3.F90:11:0: error interno del compilador: en lra_update_insn_recog_data, en
lra.c:1219
end subroutine extend
^
0x93323b lra_update_insn_recog_data(rtx_def*)
../../trunk/gcc/lra.c:1218
0x949b54 eliminate_regs_in_insn
../../trunk/gcc/lra-eliminations.c:1077
0x949b54 process_insn_for_elimination
../../trunk/gcc/lra-eliminations.c:1344
0x949b54 lra_eliminate(bool, bool)
../../trunk/gcc/lra-eliminations.c:1408
0x934eca lra(_IO_FILE*)
../../trunk/gcc/lra.c:2272
0x8f4806 do_reload
../../trunk/gcc/ira.c:5325
0x8f4806 execute
../../trunk/gcc/ira.c:5484
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.
For reference:
$ uname -a
Linux taurus 3.2.0-57-generic #87-Ubuntu SMP Tue Nov 12 21:35:10 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux