aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorThomas Koenig <tkoenig@gcc.gnu.org>2012-05-11 13:56:06 +0000
committerThomas Koenig <tkoenig@gcc.gnu.org>2012-05-11 13:56:06 +0000
commit91077d4ef9381c153b939267cecd8e9c80bc7ec8 (patch)
treedb9f42f0ecca3a64aeac5cab33193f75cc50545c /gcc/tree-inline.c
parent3feb96d2f40609a8d9a77df21c516420004fbf36 (diff)
downloadgcc-91077d4ef9381c153b939267cecd8e9c80bc7ec8.zip
gcc-91077d4ef9381c153b939267cecd8e9c80bc7ec8.tar.gz
gcc-91077d4ef9381c153b939267cecd8e9c80bc7ec8.tar.bz2
re PR libfortran/52537 (slow trim function)
2012-05-11 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/52537 * frontend-passes.c (optimize_op): Change old-style comparison operators to new-style, simplify switch as a result. (empty_string): New function. (get_len_trim_call): New function. (optimize_comparison): If comparing to an empty string, use comparison of len_trim to zero. Use new-style comparison operators only. (optimize_trim): Use get_len_trim_call. 2012-05-11 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/52537 * gfortran.dg/string_compare_4.f90: New test. From-SVN: r187406
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions