public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/61099] New: Mac 2GB file limit error
@ 2014-05-07 15:33 barry.j.mcinnes at noaa dot gov
  2014-05-07 15:47 ` [Bug fortran/61099] " barry.j.mcinnes at noaa dot gov
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: barry.j.mcinnes at noaa dot gov @ 2014-05-07 15:33 UTC (permalink / raw)
  To: gcc-bugs

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%


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-11-04  0:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-07 15:33 [Bug fortran/61099] New: Mac 2GB file limit error barry.j.mcinnes at noaa dot gov
2014-05-07 15:47 ` [Bug fortran/61099] " barry.j.mcinnes at noaa dot gov
2014-05-07 16:31 ` pinskia at gcc dot gnu.org
2014-05-07 16:43 ` barry.j.mcinnes at noaa dot gov
2014-05-07 17:41 ` dominiq at lps dot ens.fr
2014-05-09 14:29 ` [Bug target/61099] " dominiq at lps dot ens.fr
2014-05-09 15:02 ` barry.j.mcinnes at noaa dot gov
2014-05-09 15:40 ` dominiq at lps dot ens.fr
2014-11-04  0:30 ` fxcoudert 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).