- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hello
Following code results in a catastrophic error:
program test20100518
implicit none
class(*), allocatable :: first
class(*), allocatable :: second
allocate (first, source = 150)
call move_alloc (first, second)
deallocate (second)
end program
source /opt/intel/Compiler/11.1/072/bin/ifortvars.sh intel64; ifort -c ../src/test/test20100518.f90
../src/test/test20100518.f90(7): catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
call move_alloc (first, second)
--------^
compilation aborted for ../src/test/test20100518.f90 (code 3)
Replacing class (*) with integer allows a clean build and run.
Ben
Following code results in a catastrophic error:
program test20100518
implicit none
class(*), allocatable :: first
class(*), allocatable :: second
allocate (first, source = 150)
call move_alloc (first, second)
deallocate (second)
end program
source /opt/intel/Compiler/11.1/072/bin/ifortvars.sh intel64; ifort -c ../src/test/test20100518.f90
../src/test/test20100518.f90(7): catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
call move_alloc (first, second)
--------^
compilation aborted for ../src/test/test20100518.f90 (code 3)
Replacing class (*) with integer allows a clean build and run.
Ben
- Marcas:
- Intel® Fortran Compiler
Link copiado
2 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Thanks - this is similar to an issue we are working on already. The issue ID is DPD200151581.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
This bug will be fixed in the next major release, scheduled for November.
Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora