gcc-patches@gcc.gnu.org
[Top] [All Lists]

[Patch, fortran] PR40402 - Problem with data statement involving struc

Subject: [Patch, fortran] PR40402 - Problem with data statement involving structure constructors containing non-initialisation expressions
From: Paul Richard Thomas
Date: Thu, 11 Jun 2009 22:00:41 +0200
Dear All,

It's surprising that bugs like this still exist but quite rewarding
when they turn up:-)

Bootstrapped and regtested on FC9/x86_64 - OK for trunk?

Paul


2009-06-10  Paul Thomas  <pault@xxxxxxxxxxx>

        PR fortran/40402
        * resolve.c (next_data_value): It is an error if the value is
        not constant.

2009-06-10  Paul Thomas  <pault@xxxxxxxxxxx>

        PR fortran/40402
        * gfortran.dg/data_value_1.f90: New test.

Attachment: submit.diff
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>