[Bug middle-end/110281] wrong code with '-O3'

2024-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110281 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/110281] wrong code with '-O3'

2024-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110281 --- Comment #9 from Sam James --- Created attachment 59538 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59538&action=edit pr110281-attempted-reduction.c Here's an attempted reduction. It needs to be checked for aliasing violations.

[Bug middle-end/110281] wrong code with '-O3'

2023-06-19 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110281 --- Comment #8 from CTC <19373742 at buaa dot edu.cn> --- The issue can be reproduced with -O3 -fno-tree-dominator-opts -fno-tree-pre.

[Bug middle-end/110281] wrong code with '-O3'

2023-06-16 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110281 --- Comment #7 from CTC <19373742 at buaa dot edu.cn> --- (In reply to Jakub Jelinek from comment #6) > That requires detailed analysis nobody performed yet. csmith is known to > generate invalid programs sometimes, especially with some options,

[Bug middle-end/110281] wrong code with '-O3'

2023-06-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110281 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug middle-end/110281] wrong code with '-O3'

2023-06-16 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110281 --- Comment #5 from CTC <19373742 at buaa dot edu.cn> --- Could you please do me a favor to confirm whether this phenomenon indicates a bug or a normal behavior? Actually, I also found other optimization sequences with -fstrict-aliasing which out

[Bug middle-end/110281] wrong code with '-O3'

2023-06-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110281 --- Comment #4 from Richard Biener --- clang produces the same behavior

[Bug middle-end/110281] wrong code with '-O3'

2023-06-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110281 --- Comment #3 from Richard Biener --- -fno-strict-aliasing avoids the issue.

[Bug middle-end/110281] wrong code with '-O3'

2023-06-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110281 Richard Biener changed: What|Removed |Added Known to fail||10.4.1, 11.3.0, 12.2.1,