[Bug 1842164] Re: internal compiler error: in gfc_typenode_for_spec, at fortran/trans-types.c:1157
Bug Watch Updater
1842164 at bugs.launchpad.net
Thu Jun 1 20:10:44 UTC 2023
** Changed in: gcc
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1842164
Title:
internal compiler error: in gfc_typenode_for_spec, at fortran/trans-
types.c:1157
Status in gcc:
In Progress
Status in gcc-8 package in Ubuntu:
Triaged
Status in gcc-9 package in Ubuntu:
Triaged
Bug description:
I think internal compiler error should not appear for compilation of module.f90.
The information about source and compiler and so on are as follows.
$ cat module.f90
module minpack
implicit none
type :: hybrdtype
integer :: info=-1
integer :: n,lwa
double precision :: tol=1d-10
double precision,dimension(:),allocatable :: x,fvec,wa
procedure(),nopass,pointer :: fcn => null()
end type
contains
subroutine run_hybrd(self)
class(hybrdtype),intent(inout) :: self
call hybrd1(self%fcn,self%n,self%x,self%fvec,self%tol,self%info,self%wa,self%lwa)
end subroutine
end module
$ gfortran -c module.f90
module.f90:13:0:
call hybrd1(self%fcn,self%n,self%x,self%fvec,self%tol,self%info,self%wa,self%lwa)
internal compiler error: in gfc_typenode_for_spec, at fortran/trans-types.c:1157
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.
$ gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 8.3.0-6ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 8.3.0 (Ubuntu 8.3.0-6ubuntu1)
$ lsb_release -rd
Description: Ubuntu 19.04
Release: 19.04
$ apt-cache policy gfortran
gfortran:
Installed: 4:8.3.0-1ubuntu3
Candidate: 4:8.3.0-1ubuntu3
Version table:
*** 4:8.3.0-1ubuntu3 500
500 http://jp.archive.ubuntu.com/ubuntu disco/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1842164/+subscriptions
More information about the foundations-bugs
mailing list