[Patch, fortran] PR35680 - [4.3/4.4 regression] ICE on invalid transfer in variable declaration

Paul Richard Thomas paul.richard.thomas@gmail.com
Mon Oct 6 04:38:00 GMT 2008


Sorry - I attached the wrong patch.

Paul

On Sun, Oct 5, 2008 at 8:56 PM, Paul Richard Thomas
<paul.richard.thomas@gmail.com> wrote:
> Dominique,
>
> Committed to trunk as revision 140892, using an error flag attached to
> the expression.  This, I am sure can be recycled because there are
> several places where a kludge has been made to prevent errors from
> being repeated.
>
> I'll do 4.3 later on in the week.
>
> Thanks for the help.
>
> Paul
>
> 2008-10-05  Paul Thomas  <pault@gcc.gnu.org>
>
>        PR fortran/35680
>        * gfortran.h : Add 'error' bit field to gfc_expr structure.
>        * expr.c (check_inquiry): When checking a restricted expression
>        check that arguments are either variables or restricted.
>        (check_restricted): Do not emit error if the expression has
>        'error' set.  Clean up detection of host-associated variable.
>
> 2008-10-05  Paul Thomas  <pault@gcc.gnu.org>
>
>        PR fortran/35680
>        * gfortran.dg/transfer_array_intrinsic_5.f90: New test.
>



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 4511 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20081006/13d57369/attachment.bin>


More information about the Fortran mailing list