public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/66695] New: [4.9, 5 Regression] ICE with binding-name equal to overloaded name of use-associated procedure
@ 2015-06-29 14:23 vladimir.fuka at gmail dot com
2015-07-06 16:02 ` [Bug fortran/66695] [4.9, 5 Regression] ICE with binding-name equal to the name of a " vladimir.fuka at gmail dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: vladimir.fuka at gmail dot com @ 2015-06-29 14:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66695
Bug ID: 66695
Summary: [4.9, 5 Regression] ICE with binding-name equal to
overloaded name of use-associated procedure
Product: gcc
Version: 5.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: vladimir.fuka at gmail dot com
Target Milestone: ---
The following code compiles with 4.8.5, and 4.9.0 and causes ICE with 4.9.2 and
5.1.1
module mod
implicit none
contains
integer function F()
end function
end module
module mod_C
use mod
implicit none
contains
subroutine s() bind(C, name="f")
integer :: x
x = F()
end subroutine
end module
> gfortran-5 -v -c binding_ice.f90
Using built-in specs.
COLLECT_GCC=gfortran-5
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada,go
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/5
--enable-ssp --disable-libssp --disable-libvtv --enable-libmpx --disable-plugin
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux'
--disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--with-default-libstdcxx-abi=c++98 --enable-version-specific-runtime-libs
--enable-linker-build-id --enable-linux-futex --program-suffix=-5
--without-system-libunwind --enable-multilib --with-arch-32=i586
--with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
gcc version 5.1.1 20150622 [gcc-5-branch revision 224722] (SUSE Linux)
COLLECT_GCC_OPTIONS='-v' '-c' '-mtune=generic' '-march=x86-64'
/usr/lib64/gcc/x86_64-suse-linux/5/f951 binding_ice.f90 -quiet -dumpbase
binding_ice.f90 -mtune=generic -march=x86-64 -auxbase binding_ice -version
-fintrinsic-modules-path /usr/lib64/gcc/x86_64-suse-linux/5/finclude -o
/tmp/ccpIdj5s.s
GNU Fortran (SUSE Linux) version 5.1.1 20150622 [gcc-5-branch revision 224722]
(x86_64-suse-linux)
compiled by GNU C version 5.1.1 20150622 [gcc-5-branch revision
224722], GMP version 5.1.3, MPFR version 3.1.2, MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Fortran2008 (SUSE Linux) version 5.1.1 20150622 [gcc-5-branch revision
224722] (x86_64-suse-linux)
compiled by GNU C version 5.1.1 20150622 [gcc-5-branch revision
224722], GMP version 5.1.3, MPFR version 3.1.2, MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
binding_ice.f90:15:0:
x = F()
1
internal compiler error: in fold_convert_loc, at fold-const.c:2235
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/66695] [4.9, 5 Regression] ICE with binding-name equal to the name of a use-associated procedure
2015-06-29 14:23 [Bug fortran/66695] New: [4.9, 5 Regression] ICE with binding-name equal to overloaded name of use-associated procedure vladimir.fuka at gmail dot com
@ 2015-07-06 16:02 ` vladimir.fuka at gmail dot com
2015-07-06 16:22 ` dominiq at lps dot ens.fr
2015-10-16 8:25 ` [Bug fortran/66695] [4.9/5/6 " rguenth at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: vladimir.fuka at gmail dot com @ 2015-07-06 16:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66695
--- Comment #1 from Vladimir Fuka <vladimir.fuka at gmail dot com> ---
Anyone can confirm this behaviour?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/66695] [4.9, 5 Regression] ICE with binding-name equal to the name of a use-associated procedure
2015-06-29 14:23 [Bug fortran/66695] New: [4.9, 5 Regression] ICE with binding-name equal to overloaded name of use-associated procedure vladimir.fuka at gmail dot com
2015-07-06 16:02 ` [Bug fortran/66695] [4.9, 5 Regression] ICE with binding-name equal to the name of a " vladimir.fuka at gmail dot com
@ 2015-07-06 16:22 ` dominiq at lps dot ens.fr
2015-10-16 8:25 ` [Bug fortran/66695] [4.9/5/6 " rguenth at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-07-06 16:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66695
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-07-06
Ever confirmed|0 |1
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Anyone can confirm this behaviour?
Indeed! It appeared between revisions r199034 (2013-05-17, OK) and r199221
(2013-05-22, ICE).
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/66695] [4.9/5/6 Regression] ICE with binding-name equal to the name of a use-associated procedure
2015-06-29 14:23 [Bug fortran/66695] New: [4.9, 5 Regression] ICE with binding-name equal to overloaded name of use-associated procedure vladimir.fuka at gmail dot com
2015-07-06 16:02 ` [Bug fortran/66695] [4.9, 5 Regression] ICE with binding-name equal to the name of a " vladimir.fuka at gmail dot com
2015-07-06 16:22 ` dominiq at lps dot ens.fr
@ 2015-10-16 8:25 ` rguenth at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-10-16 8:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66695
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Target Milestone|--- |4.9.4
Summary|[4.9, 5 Regression] ICE |[4.9/5/6 Regression] ICE
|with binding-name equal to |with binding-name equal to
|the name of a |the name of a
|use-associated procedure |use-associated procedure
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Still broken.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-10-16 8:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-29 14:23 [Bug fortran/66695] New: [4.9, 5 Regression] ICE with binding-name equal to overloaded name of use-associated procedure vladimir.fuka at gmail dot com
2015-07-06 16:02 ` [Bug fortran/66695] [4.9, 5 Regression] ICE with binding-name equal to the name of a " vladimir.fuka at gmail dot com
2015-07-06 16:22 ` dominiq at lps dot ens.fr
2015-10-16 8:25 ` [Bug fortran/66695] [4.9/5/6 " rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).