[Bug 731033] New: gfortran: internal compiler error: Segmentation fault
https://bugzilla.novell.com/show_bug.cgi?id=731033 https://bugzilla.novell.com/show_bug.cgi?id=731033#c0 Summary: gfortran: internal compiler error: Segmentation fault Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@suse.com ReportedBy: zmi007@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=462631) --> (http://bugzilla.novell.com/attachment.cgi?id=462631) fortran file test.f90 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 during compilation with default gfortran compiler in opensuse 11.4 I get "internal compiler error: Segmentation fault" gfortran -v Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.5/lto-wrapper 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 --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.5 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.5 --enable-linux-futex --without-system-libunwind --enable-gold --with-plugin-ld=/usr/bin/gold --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux Thread model: posix gcc version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux) test code: gfortran -c test.f90 ---------------------------- module test use iso_c_binding, only: c_null_char, c_null_ptr, c_null_funptr, c_ptr, c_funptr, c_char implicit none ! Some useful parameters character(kind=c_char), parameter :: CNULL = c_null_char type(c_ptr), parameter :: NULL = c_null_ptr type(c_funptr), parameter :: FNULL = c_null_funptr contains function f1(a, b, c) bind(c) use iso_c_binding, only: c_long, c_ptr, c_funptr integer(c_long) :: f1 type(c_ptr), value :: a type(c_ptr), value :: b type(c_funptr), value :: c f1=0 end function subroutine f2 (a) use iso_c_binding, only: c_ptr, c_long type(c_ptr) :: a integer(c_long) :: d d = f1 (a, NULL, FNULL) end subroutine end module test ---------------------------- Reproducible: Always Steps to Reproduce: 1. gfortran -c test.f90 2. 3. Actual Results: gfortran -c test.f90 test.f90: In function ‘f2’: test.f90:26:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.opensuse.org/> for instructions. Expected Results: gfortran produces test.o file gfortran-4.3 compiles this test.f90 without problems gfortran-4.3 -v Using built-in specs. 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 --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux Thread model: posix gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731033 https://bugzilla.novell.com/show_bug.cgi?id=731033#c Philipp Thomas <pth@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@suse.com AssignedTo|pth@suse.com |rguenther@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731033 https://bugzilla.novell.com/show_bug.cgi?id=731033#c1 Richard Guenther <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Richard Guenther <rguenther@suse.com> 2011-12-01 16:29:32 UTC --- Fixed in openSUSE 12.1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com