This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The overhead is actually quite small but you are quite right. I had written a TREE_SSA version that does suffer from the problem that you mention. It is intimately mixed up with a patch to deliver zero length arrays in response to request for negative lengths, in various conditions. I will separate the two tonight or tomorrow morning; having done that, I will review your patch. It could stand having one part of my patch incorporated; I replaced the gfc_ref* argument in gfc_allocate array by the gfc_expr*. I'll get the mods to you tomorrow morning.Because I would have had to handle the error conditions in the user program, as well, and I didn't want to bloat the user's program with a call to runtime_error() for each allocate statement.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |