[Bug fortran/68401] improve 'Allocation would exceed memory limit'

Joost.VandeVondele at mat dot ethz.ch gcc-bugzilla@gcc.gnu.org
Thu Nov 19 05:56:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68401

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |Joost.VandeVondele at mat dot ethz
                   |                            |.ch

--- Comment #2 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
(In reply to Dominique d'Humieres from comment #1)
> > This would help users and/or developers to take the right actions.
> 
> Would this really help? I am not convinced. 
> 

In our code, we have about a 400 allocates that are checked for istat, and do
nothing else than abort after signalling the size of the allocation. It is
error prone (e.g. wrong sizes, missing check after istat, etc. etc.), and would
like to get rid of this, as the compiler can do this much better.


More information about the Gcc-bugs mailing list