This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33339] GFORTRAN OPTIMIZATION ERROR ABOVE -O0 FOR MPICH2 TEST F90_RMA/BASEATTRWINF90.F90
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2007 21:03:09 -0000
- Subject: [Bug fortran/33339] GFORTRAN OPTIMIZATION ERROR ABOVE -O0 FOR MPICH2 TEST F90_RMA/BASEATTRWINF90.F90
- References: <bug-33339-14710@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from kargl at gcc dot gnu dot org 2007-09-07 21:03 -------
(In reply to comment #0)
> > ftn -o x -O2 bug2867.f90
> > aprun -n 1 ./x
> Got incorrect value for WIN_SIZE ( 140733193389056 , should be
>
> 1024 )
> Got wrong value for WIN_DISP_UNIT ( 140733193388036 , should be
What is ftn? On my system, when I build MPICH2 I get mpf90.
I added an else clause for printing the right values
node10:kargl[227] ../mpich2/bin/mpif90 -o z -O2 long.f90
node10:kargl[228] ./z
Got right value for WIN_DISP_UNIT ( 4 , should be 4 )
node10:kargl[229] ../mpich2/bin/mpiexec -machinefile mf1 -n 1 ./z
Got right value for WIN_DISP_UNIT ( 4 , should be 4 )
node10:kargl[231] ../mpich2/bin/mpif90 --version
GNU Fortran (GCC) 4.2.1 20070523 (prerelease)
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33339