[Bug c/113727] csmith: differences from nothing to -O1

2024-02-03 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113727 --- Comment #12 from Xi Ruoyao --- (In reply to David Binderman from comment #11) > Created attachment 57310 [details] > C source code static uint32_t (safe_mul_func_uint32_t_u_u)(uint32_t ui1, uint32_t ui2 ) { } This thing is UB if you use

[Bug c/113727] csmith: differences from nothing to -O1

2024-02-03 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113727 --- Comment #11 from David Binderman --- Created attachment 57310 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57310=edit C source code

[Bug c/113727] csmith: differences from nothing to -O1

2024-02-03 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113727 --- Comment #10 from David Binderman --- (In reply to Sam James from comment #7) > Can you try produce a testcase without UB please? I have some partly reduced code that seems to have no UB. cvise $ ~/gcc/results/bin/gcc -w

[Bug c/113727] csmith: differences from nothing to -O1

2024-02-03 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113727 Xi Ruoyao changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill |

[Bug c/113727] csmith: differences from nothing to -O1

2024-02-03 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113727 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org See

[Bug c/113727] csmith: differences from nothing to -O1

2024-02-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113727 --- Comment #7 from Sam James --- Can you try produce a testcase without UB please?

[Bug c/113727] csmith: differences from nothing to -O1

2024-02-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113727 --- Comment #6 from David Binderman --- As expected: trunk.20210101 $ git bisect good 35b5bb475375dba4 6decda1a35be5764101987c210b5693a0d914e58 is the first bad commit commit 6decda1a35be5764101987c210b5693a0d914e58 Author: Richard Biener

[Bug c/113727] csmith: differences from nothing to -O1

2024-02-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113727 David Binderman changed: What|Removed |Added CC||rguenth at gcc dot gnu.org ---

[Bug c/113727] csmith: differences from nothing to -O1

2024-02-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113727 --- Comment #4 from David Binderman --- (In reply to David Binderman from comment #3) > (In reply to David Binderman from comment #2) > > I have a bisection running too. I am trying out g:0f2e2080685e7509 > > That seems bad. Trying

[Bug c/113727] csmith: differences from nothing to -O1

2024-02-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113727 --- Comment #3 from David Binderman --- (In reply to David Binderman from comment #2) > I have a bisection running too. I am trying out g:0f2e2080685e7509 That seems bad. Trying g:328745607c5d403a.

[Bug c/113727] csmith: differences from nothing to -O1

2024-02-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113727 --- Comment #2 from David Binderman --- I have a bisection running too. I am trying out g:0f2e2080685e7509

[Bug c/113727] csmith: differences from nothing to -O1

2024-02-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113727 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #1