re PR tree-optimization/90576 (SPEC CPU2006 450.soplex miscompiled with -Os -flto...
authorJan Hubicka <jh@suse.cz>
Thu, 23 May 2019 16:07:07 +0000 (18:07 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 23 May 2019 16:07:07 +0000 (16:07 +0000)
commita44ae25817b7d796c0c1d57eaa3101f682f80a57
treea12fca07aed108f69318ae5b88c45ec1a979f9b7
parent1a4f7c1b05389e5d4469571ca510e4c519d5fe51
re PR tree-optimization/90576 (SPEC CPU2006 450.soplex miscompiled with -Os -flto after r271413)

PR tree-optimization/90576
* tree-ssa-alias.c (compare_sizes): Remove dead calls to
poly_int_tree_p.
(aliasing_component_refs_p): Fix three way size compare conditional;
give up earlier in case we can not decide on equivalence.

Co-Authored-By: Martin Liska <mliska@suse.cz>
From-SVN: r271572
gcc/ChangeLog
gcc/tree-ssa-alias.c