aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-07-04 20:51:02 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2017-07-04 20:51:02 +0200
commit06a1b2334039de170886563546096fffa79c804d (patch)
tree0174d2500cde815a5d8c154caefe473443bc47e6 /gcc/tree-vectorizer.c
parent242ae26aefeddb4f42001672bcca0a33ae71afaa (diff)
downloadgcc-06a1b2334039de170886563546096fffa79c804d.zip
gcc-06a1b2334039de170886563546096fffa79c804d.tar.gz
gcc-06a1b2334039de170886563546096fffa79c804d.tar.bz2
re PR debug/81278 (-fcompare-debug failure (length))
PR debug/81278 * tree-vrp.c (compare_assert_loc): Turn into a function template with stable template parameter. Only test if a->e is NULL, !a->e == !b->e has been verified already. Use e == NULL or e != NULL instead of e or ! e tests. If stable is true, don't use iterative_hash_expr, on the other side allow a or b or both NULL and sort the NULLs last. (process_assert_insertions): Sort using compare_assert_loc<false> instead of compare_assert_loc, later sort using compare_assert_loc<true> before calling process_assert_insertions_for in a loop. Use break instead of continue once seen NULL pointer. From-SVN: r249975
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions