PR tree-optimization/92683 - strncmp incorrect result with equal substrings and non-const bound
gcc/testsuite/ChangeLog: PR tree-optimization/92683 * gcc.dg/strcmpopt_8.c: New test. * gcc.dg/strcmpopt_9.c: New test. gcc/ChangeLog: PR tree-optimization/92683 * gimple-fold.c (gimple_fold_builtin_string_compare): Restore a test inadvertently removed in a previous change. Rename local variable for clarity. From-SVN: r278742
Showing
gcc/testsuite/gcc.dg/strcmpopt_8.c
0 → 100644
gcc/testsuite/gcc.dg/strcmpopt_9.c
0 → 100644
Please
register
or
sign in
to comment