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] |
Am 01.05.2011 11:49, schrieb Thomas Koenig:Hello world,
after Paul's fix for allocate on assignment (thanks Paul!), here is a patch for the original test case from PR 22572, where the bounds of the function are unknown at compile time. This uses an allocatable temporary.
Ping?
There's been a bit of offline discussion with Tobias regarding -Os and timings. At least for a simple test case, the patch made the resulting program shorter. As for timing, I would confidently expect that, even with -fstack-arrays, any useful function would take longer than a malloc()/free() pair.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |