This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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?
2012-06-06 Thomas König <tkoenig@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 <tkoenig@gcc.gnu.org>
PR fortran/52861 * gfortran.dg/string_assign_1.f90: New test case.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |