aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/runtime/stop.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-02-21 11:35:46 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2018-02-21 11:35:46 +0100
commitc8602fe6127fde5e75b4f9288f86d33a5b885660 (patch)
treef3981f123f3057a2fd6c9ed37212047a644e425f /libgfortran/runtime/stop.c
parentb22dbd03f06c5d3b5e71ae99b55b5d7d21a11cd9 (diff)
downloadgcc-c8602fe6127fde5e75b4f9288f86d33a5b885660.zip
gcc-c8602fe6127fde5e75b4f9288f86d33a5b885660.tar.gz
gcc-c8602fe6127fde5e75b4f9288f86d33a5b885660.tar.bz2
re PR tree-optimization/84478 (pdftex miscompilation on i386)
PR tree-optimization/84478 * gimple-fold.h (get_range_strlen): Add a bool argument defaulted to false. * gimple-fold.c (get_range_strlen): Make minlen const and assume it can't be NULL. Change FUZZY from bool to int, for 1 add PHI/COND_EXPR support which is conservatively correct, for 2 only stay conservative for maxlen. Formatting and comment capitalization fixes. Add STRICT argument to the 2 argument get_range_strlen, adjust 6 arg get_range_strlen caller and clear minmaxlen[0] and [1] if it returned false. (get_maxval_strlen): Adjust 6 arg get_range_strlen caller. (gimple_fold_builtin_strlen): Pass true as last argument to get_range_strlen. * gcc.c-torture/execute/pr84478.c: New test. Co-Authored-By: Martin Sebor <msebor@redhat.com> From-SVN: r257870
Diffstat (limited to 'libgfortran/runtime/stop.c')
0 files changed, 0 insertions, 0 deletions