[Bug tree-optimization/109483] Unoptimal uncprop with assembler flag output

2023-04-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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, %

[Bug tree-optimization/109483] Unoptimal uncprop with assembler flag output

2023-04-12 Thread ubizjak at gmail dot com via Gcc-bugs
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

[Bug tree-optimization/109483] Unoptimal uncprop with assembler flag output

2023-04-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
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.

[Bug tree-optimization/109483] Unoptimal uncprop with assembler flag output

2023-04-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109483 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|