Thomas Koenig wrote:
his rather simple patch makes sure that only memset is used for
assigning empty strings when front-end optimization is used.

Regression-tested.  OK for trunk?

OK, thanks for the quick patch.

Tobias


2012-06-06  Thomas König <tkoe...@gcc.gnu.org>

        PR fortran/52861
        * frontend-passes (empty_string):  Add prototype.
        (optimize_assignment):  Set the length of an empty string
        constant to zero.

2012-06-06  Thomas König <tkoe...@gcc.gnu.org>

        PR fortran/52861
        * gfortran.dg/string_assign_1.f90:  New test case.

Reply via email to