Created attachment 558094 [details] Preprocessed x09f.f90 Description of problem: While building plplot in rawhide: cd /builddir/build/BUILD/plplot-5.9.9/fedora/examples/f95 && /usr/bin/gfortran -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/builddir/build/BUILD/plplot-5.9.9/fedora/bindings/f95 -I/builddir/build/BUILD/plplot-5.9.9/fedora/examples/f95 -c /builddir/build/BUILD/plplot-5.9.9/examples/f95/x09f.f90 -o CMakeFiles/x09f95.dir/x09f.f90.o /builddir/build/BUILD/plplot-5.9.9/examples/f95/x09f.f90:152.22: lev(NLEVEL), t, r, theta, delta 1 Warning: Unused variable 't' declared at (1) /builddir/build/BUILD/plplot-5.9.9/examples/f95/x09f.f90: In function 'x09f95': /builddir/build/BUILD/plplot-5.9.9/examples/f95/x09f.f90:66:0: internal compiler error: in gfc_conv_variable, at fortran/trans-expr.c:1080 Full log: http://koji.fedoraproject.org/koji/getfile?taskID=3742426&name=build.log Version-Release number of selected component (if applicable): 4.7.0-0.10.fc17
Created attachment 558096 [details] plplot.mod
Compiles fine with 4.6.2-1.fc16
plf95demolib.mod hasn't been provided.
Created attachment 558221 [details] plf95demolib.mod
That last mod file looks to be gcc 4.6* generated rather than 4.7.
Created attachment 558361 [details] plf95demolib.mod Sorry about that, this should be the right one.
Narrowed down to: program x09f95 use plf95demolib integer, parameter :: nptsx=35, xdim=99 real(kind=8) :: xg1(xdim), distort xg1 = foo (arange(0,nptsx) / dble(nptsx-1), distort) contains elemental real(kind=8) function foo( coord, factor ) real(kind=8), intent(in) :: coord, factor foo = 1 end function foo end program x09f95 but it doesn't fail without the plf95demolib use, could you please attach the *.f90 file in which the module is defined?
Created attachment 558410 [details] plf95demolib.f90
The upstream Link: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52059 -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
That link is already in the External Trackers section.
Can we get this into rawhide soon (before the branch maybe)? I can't build plplot until this gets in and I need to fix broken dependencies. Thanks!