[Bug libfortran/46182] New: Run time check for invalid use of unallocated allocatable variables

2010-10-26 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46182 Summary: Run time check for invalid use of unallocated allocatable variables Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3

Re: [Bug libfortran/46182] New: Run time check for invalid use of unallocated allocatable variables

2010-10-26 Thread Mikael Morin
It would be nice to have a run time check for such invalid use of unallocated allocatable variables (such as -fcheck=use_unalloc). If you use an unallocated variable you get a segmentation fault. Isn't this a sufficient runtime check ?