[Patch, fortran] PR35743, PR34745, PR35759 and PR35756 - WHERE problems
Paul Richard Thomas
paul.richard.thomas@gmail.com
Fri May 16 20:24:00 GMT 2008
FX,
>> 2008-05-15 Paul Thomas <pault@gcc.gnu.org>
>>
>> PR fortran/35756
>> PR fortran/35759
>> * trans-stmt.c (gfc_trans_where): Tighten up the dependency
>> check for calling gfc_trans_where_3.
>
> This is OK to commit.
In the course of preparing to commit this, I got diverted and fixed
PRs35743 and 5:)
Since both fixes are harmless and verging on obvious, I propose to
commit as soon as bootstrapping the updated tree and regtesting are
done.
Bootstrapped and regtested on x86_ia64/FC8.
Cheers and thanks
Paul
2008-05-16 Paul Thomas <pault@gcc.gnu.org>
PR fortran/35756
PR fortran/35759
* trans-stmt.c (gfc_trans_where): Tighten up the dependency
check for calling gfc_trans_where_3.
PR fortran/35743
* trans-stmt.c (gfc_trans_where_2): Set the mask size to zero
if it is calculated to be negative.
PR fortran/35745
* trans-stmt.c (gfc_trans_where_3, gfc_trans_where_assign): Set
ss->where for scalar right hand sides.
* trans-array.c (gfc_add_loop_ss_code): If ss->where is set do
not evaluate scalars outside the loop. Clean up whitespace.
* trans.h : Add a bitfield 'where' to gfc_ss.
2008-05-16 Paul Thomas <pault@gcc.gnu.org>
PR fortran/35756
PR fortran/35759
* gfortran.dg/where_1.f90: New test.
PR fortran/35743
PR fortran/35745
* gfortran.dg/where_2.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 10195 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080516/8efd6345/attachment.bin>
More information about the Gcc-patches
mailing list