[Bug tree-optimization/106822] "Boolean-or" optimization opportunity not consistently used

2022-09-05 Thread benjamin.meier70 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106822 --- Comment #5 from Benjamin B. Meier --- Thx for the very quick reaction and also you additional example:)!

[Bug tree-optimization/106822] "Boolean-or" optimization opportunity not consistently used

2022-09-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106822 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug tree-optimization/106822] "Boolean-or" optimization opportunity not consistently used

2022-09-03 Thread benjamin.meier70 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106822 --- Comment #3 from Benjamin B. Meier --- > The reason for the difference is because in the case where there is an int in > the structure, the alignment is 4 bytes so a 2 or 4 byte read for a and b > will not cause an fault while in the first

[Bug tree-optimization/106822] "Boolean-or" optimization opportunity not consistently used

2022-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106822 --- Comment #2 from Andrew Pinski --- The reason for the difference is because in the case where there is an int in the structure, the alignment is 4 bytes so a 2 or 4 byte read for a and b will not cause an fault while in the first case where t