From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25881 invoked by alias); 7 May 2014 15:33:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 25853 invoked by uid 48); 7 May 2014 15:33:21 -0000 From: "barry.j.mcinnes at noaa dot gov" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/61099] New: Mac 2GB file limit error Date: Wed, 07 May 2014 15:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: barry.j.mcinnes at noaa dot gov X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-05/txt/msg00525.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61099 Bug ID: 61099 Summary: Mac 2GB file limit error Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: barry.j.mcinnes at noaa dot gov ifort has this fixed in versions >11.0 gfortran 4.8 on linux compiles On Mac intel any gfortran version above 4.5 gives errors [mac27:~] bmcinnes% gfortran-mp-4.5 -c -m64 dave.f90 [mac27:~] bmcinnes% gfortran-mp-4.7 -c -m64 dave.f90 /var/folders/48/zp9tz0_s69184wg24qr7gxph00021n/T//ccgHcRj2.s:71:zerofill size (2304000000.) <0! Ignored. /var/folders/48/zp9tz0_s69184wg24qr7gxph00021n/T//ccgHcRj2.s:71:Rest of line ignored. 1st junk character valued 44 (,). [mac27:~] bmcinnes% gfortran-mp-4.8 -c -m64 dave.f90 /var/folders/48/zp9tz0_s69184wg24qr7gxph00021n/T//ccSh0IQg.s:60:zerofill size (2304000000.) <0! Ignored. /var/folders/48/zp9tz0_s69184wg24qr7gxph00021n/T//ccSh0IQg.s:60:Rest of line ignored. 1st junk character valued 44 (,). [mac27:~] bmcinnes% gfortran-mp-4.9 -c -m64 dave.f90 /var/folders/48/zp9tz0_s69184wg24qr7gxph00021n/T//ccIqDBDn.s:60:zerofill size (2304000000.) <0! Ignored. /var/folders/48/zp9tz0_s69184wg24qr7gxph00021n/T//ccIqDBDn.s:60:Rest of line ignored. 1st junk character valued 44 (,). [mac27:~] bmcinnes% cat dave.f90 ! Works for d = 23000, fails at 24000. ! Threshold appears to be the 2 Gb limit for total array size ! with 4-byte integers. integer, parameter :: d = 24000 integer x(d,d) print *, size (x) end [mac27:~/info] bmcinnes% gfortran-mp-4.9 -v Using built-in specs. COLLECT_GCC=gfortran-mp-4.9 COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin13/4.9.0/lto-wrapper Target: x86_64-apple-darwin13 Configured with: /opt/local/var/macports/build/_opt_mports_dports_lang_gcc49/gcc49/work/gcc-4.9-20140416/configure --prefix=/opt/local --build=x86_64-apple-darwin13 --enable-languages=c,c++,objc,obj-c++,fortran,java --libdir=/opt/local/lib/gcc49 --includedir=/opt/local/include/gcc49 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.9 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.9 --with-gxx-include-dir=/opt/local/include/gcc49/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-cloog=/opt/local --enable-cloog-backend=isl --disable-cloog-version-check --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --with-pkgversion='MacPorts gcc49 4.9-20140416_0' Thread model: posix gcc version 4.9.0 20140416 (prerelease) (MacPorts gcc49 4.9-20140416_0) [mac27:~/info] bmcinnes%