This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/28105] Check for memory allocations bigger than size_t
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Jun 2013 13:54:56 +0000
- Subject: [Bug fortran/28105] Check for memory allocations bigger than size_t
- Auto-submitted: auto-generated
- References: <bug-28105-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28105
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #12 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Since gfortran 4.8.1 up to trunk I get
pr28105.f90:1:0: error: size of variable 'm' is too large
real(4), dimension(1025*1024*1024) :: m
when compiling
real(4), dimension(1025*1024*1024) :: m
m = 0.
print *, m(1025*1024*1024)
end
with -m32. Revision 187017 (2012-05-01) does not give any error, but revision
187060 (2012-05-02) does. Closing as FIXED. Please reopen if I am wrong.