[Fortran-dev, patch, committed] Minor fixes
Tobias Burnus
burnus@net-b.de
Mon Mar 12 12:50:00 GMT 2012
I have committed a fix for one link issue (spurious
GFC_DESCRIPTOR_STRIDE_BYTES which escaped the renaming to
GFC_DESCRIPTOR_SM) - and changed "data" to "base_addr" for consistency.
Rev. 185216.
Additionally, I modified some tree-dump patterns for the extent and for
the base_addr change.
Result: 192 FAIL lines in 23 test-suite files of which 3 also exist on
the trunk.
At some point, the extent calculation should be updated. Dumps like the
following hurt, even if -O1 handles* them:
(((D.1871->dim[0].lower_bound + D.1871->dim[0].extent) + -1) -
D.1871->dim[0].lower_bound) + 1.
[* maybe -fstrict-overflow and/or -fno-protect-parens is required in
addition]
Regarding transpose_optimization_2.f90: Here,
atmp.58.dim[0].lbound = 0;
atmp.58.dim[0].ubound = 2;
is replaced by
atmp.58.dim[0].lower_bound = 0;
atmp.58.dim[0].extent = 3 - atmp.58.dim[0].lower_bound;
which increased the number of "atmp" by 2 (for two dims). Also something
which could be solved in the front end as both lbound and ubound are
known at compile time.
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: committed.diff
Type: text/x-patch
Size: 2307 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120312/62f0904b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commit2.diff
Type: text/x-patch
Size: 8364 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120312/62f0904b/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commit3.diff
Type: text/x-patch
Size: 11235 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120312/62f0904b/attachment-0002.bin>
More information about the Fortran
mailing list