]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/52861 ((missed optimisation) missed transformation to memset with -O3)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 7 Jun 2012 14:33:51 +0000 (14:33 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 7 Jun 2012 14:33:51 +0000 (14:33 +0000)
commit1acbf7a1bfb1bddb24ea3fc3710f0ddbb097aa72
treeac735e58e700b48825a6f46d36538fddc78a11b0
parent17c4f786f5e5933b39604bf3ed13368b89d76edc
re PR fortran/52861 ((missed optimisation) missed transformation to memset with -O3)

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

PR fortran/52861
* frontend-passes.c (optimize_assignment):  Don't set the
length of an empty string for deferred-length character
variables.

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

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

From-SVN: r188305
gcc/fortran/ChangeLog
gcc/fortran/frontend-passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/string_assign_2.f90 [new file with mode: 0644]