https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109483
--- Comment #5 from Andrew Pinski ---
(In reply to Uroš Bizjak from comment #4)
> Even the above is not optimal. I'd expect:
>
> ...
> .L8:
> #APP
> # 6 "t.c" 1
> int3
> # 0 "" 2
> #NO_APP
> je .L2
> xorl%eax, %
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109483
--- Comment #4 from Uroš Bizjak ---
(In reply to Richard Biener from comment #2)
> Note that clang seems to propagate the constant equivalence which we
> instead un-propagate. With -fdisable-tree-uncprop1 you'll get the
> expected code:
>
> f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109483
--- Comment #3 from Richard Biener ---
Oh, the uncprop pass is gated with flag_tree_dom, so -fno-tree-dominator-opts
also "fixes" this.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109483
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|