[Bug tree-optimization/105990] Dead code elimination failed at -O3

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105990 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|

[Bug tree-optimization/105990] Dead code elimination failed at -O3

2022-06-16 Thread Painololo at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105990 John Klein changed: What|Removed |Added CC||Painololo at protonmail dot com --- Commen

[Bug tree-optimization/105990] Dead code elimination failed at -O3

2022-06-15 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105990 --- Comment #1 from Hongtao.liu --- Another case static short a; static int b; void foo(void); void bar9_(void); int main() { char c; b = a = 23; for (; b <= 1;) a = 1; bar9_(); c = a >= 18 || 2 > 2 >> a ? 1 : 1 <<