[Bug tree-optimization/100653] usage of scalar_storage_order produces incorrect result

2021-05-26 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100653 --- Comment #5 from Eric Botcazou --- > Not at the moment, although this could probably be implemented. But a > simple rule of thumb is to avoid using scalar_storage_order with unions at > all. I'm going to implement a simple warning for

[Bug tree-optimization/100653] usage of scalar_storage_order produces incorrect result

2021-05-26 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100653 --- Comment #4 from Eric Botcazou --- > Is there some way there can be warned against such invalid usages? Because > these things are really hard to see on a 'macro' level. Not at the moment, although this could probably be implemented. But a

[Bug tree-optimization/100653] usage of scalar_storage_order produces incorrect result

2021-05-26 Thread jan.smets at nokia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100653 --- Comment #3 from Jan Smets --- Is there some way there can be warned against such invalid usages? Because these things are really hard to see on a 'macro' level.

[Bug tree-optimization/100653] usage of scalar_storage_order produces incorrect result

2021-05-26 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100653 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/100653] usage of scalar_storage_order produces incorrect result

2021-05-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100653 Andrew Pinski changed: What|Removed |Added Known to fail||10.1.0, 11.1.0, 12.0, 7.3.0 Ever