[Bug c/118344] New: Crash at -O3: internal compiler error: Segmentation fault

2025-01-07 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118344 Bug ID: 118344 Summary: Crash at -O3: internal compiler error: Segmentation fault Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c/118148] New: Miscompilation at -Os

2024-12-20 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118148 Bug ID: 118148 Summary: Miscompilation at -Os Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unas

[Bug c/118064] New: Miscompilation at -O1

2024-12-16 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118064 Bug ID: 118064 Summary: Miscompilation at -O1 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unas

[Bug middle-end/117841] Miscompile with -O3 and -O0/1/2

2024-11-28 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117841 --- Comment #1 from Yunbo Ni --- Bisected to https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=6bf66276e3e41d5d92f7b7260e98b6a111653805

[Bug c/117841] New: Miscompile with -O3 and -O0/1/2

2024-11-28 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117841 Bug ID: 117841 Summary: Miscompile with -O3 and -O0/1/2 Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c As

[Bug c/117723] New: Miscompile with -O1 and -O0/2/3

2024-11-20 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117723 Bug ID: 117723 Summary: Miscompile with -O1 and -O0/2/3 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assi

[Bug c/117574] New: Miscompile with -O2/3 and -O0/1

2024-11-13 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117574 Bug ID: 117574 Summary: Miscompile with -O2/3 and -O0/1 Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Ass

[Bug c/117549] New: Miscompile with -O0 and -O1/2/3

2024-11-12 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117549 Bug ID: 117549 Summary: Miscompile with -O0 and -O1/2/3 Product: gcc Version: 6.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Ass

[Bug c/117543] Miscompile with -O1 and -O0/2/3

2024-11-12 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117543 --- Comment #2 from Yunbo Ni --- After reviewing the commit, I realized it's a duplicate of bug 117476. The mistake was due to using the wrong commit in the bisect process. I’ll be more careful with this next time. Apologies for the oversight.

[Bug c/117543] Miscompile with -O1 and -O0/2/3

2024-11-12 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117543 --- Comment #1 from Yunbo Ni --- Sorry I just found I reverted to the wrong commit. I would check it right now.

[Bug c/117543] Miscompile with -O1 and -O0/2/3

2024-11-12 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117543 Yunbo Ni changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-12 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #26 from Yunbo Ni --- *** Bug 117543 has been marked as a duplicate of this bug. ***

[Bug c/117543] New: Miscompile with -O1 and -O0/2/3

2024-11-12 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117543 Bug ID: 117543 Summary: Miscompile with -O1 and -O0/2/3 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assi

[Bug rtl-optimization/117532] [15 Regression] Miscompile with -Os and -O0/1/2/3

2024-11-11 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117532 --- Comment #6 from Yunbo Ni --- (In reply to Sam James from comment #5) > Given the # of dupes, I recommend that fuzzers revert that commit locally > for now. Thanks for your advice. I'll revert it.

[Bug c/117532] New: Miscompile with -Os and -O0/1/2/3

2024-11-11 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117532 Bug ID: 117532 Summary: Miscompile with -Os and -O0/1/2/3 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c As

[Bug c/117531] New: Miscompile with -O2 and -O0/1/3

2024-11-11 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117531 Bug ID: 117531 Summary: Miscompile with -O2 and -O0/1/3 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assi

[Bug c/117528] New: Miscompile with -O1 and -O0/2/3

2024-11-10 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117528 Bug ID: 117528 Summary: Miscompile with -O1 and -O0/2/3 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assi

[Bug c/117522] New: Miscompile with -O3 and -O0/1/2

2024-11-10 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117522 Bug ID: 117522 Summary: Miscompile with -O3 and -O0/1/2 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assi

[Bug c/117498] New: Miscompile with -O3 and -O0/1/2

2024-11-08 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117498 Bug ID: 117498 Summary: Miscompile with -O3 and -O0/1/2 Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c As

[Bug middle-end/117453] Miscompile with -O3 and -O0/1/2

2024-11-05 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117453 --- Comment #1 from Yunbo Ni --- I'm not sure if it is a duplicate case.

[Bug middle-end/117453] New: Miscompile with -O3 and -O0/1/2

2024-11-05 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117453 Bug ID: 117453 Summary: Miscompile with -O3 and -O0/1/2 Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug c/117451] New: Miscompile with -00/1/2 and -O3

2024-11-05 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117451 Bug ID: 117451 Summary: Miscompile with -00/1/2 and -O3 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assi

[Bug c/117427] New: internal compiler error: verify_gimple failed with O2/3

2024-11-03 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117427 Bug ID: 117427 Summary: internal compiler error: verify_gimple failed with O2/3 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Prior

[Bug c/117426] New: Miscompile with different optimization flags

2024-11-02 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117426 Bug ID: 117426 Summary: Miscompile with different optimization flags Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/117425] Miscompile with different optimization flags

2024-11-02 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117425 --- Comment #6 from Yunbo Ni --- (In reply to Andrew Pinski from comment #5) > A good resource for sequence points is https://c-faq.com/expr/seqpoints.html > . Thanks for your detailed explanation! I'll check it out.

[Bug c/117425] Miscompile with different optimization flags

2024-11-02 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117425 --- Comment #2 from Yunbo Ni --- (In reply to Sam James from comment #1) > (In reply to Yunbo Ni from comment #0) > > The version is gcc 4.7.3. > > When you say this, do you mean that is the first version you saw it on? Sorry for the misunders

[Bug c/117425] New: Miscompile with different optimization flags

2024-11-02 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117425 Bug ID: 117425 Summary: Miscompile with different optimization flags Product: gcc Version: 4.7.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/117424] New: Miscompile with different optimization flags

2024-11-02 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117424 Bug ID: 117424 Summary: Miscompile with different optimization flags Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/117367] [14/15 regression] Miscompile with different optimization flags

2024-10-30 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117367 --- Comment #6 from Yunbo Ni --- I apologize for the trouble I’ve caused due to my lack of understanding. I’ll keep this red line in mind moving forward.

[Bug c/117368] New: Miscompile with different optimization flags

2024-10-30 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117368 Bug ID: 117368 Summary: Miscompile with different optimization flags Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/117367] New: Miscompile with different optimization flags

2024-10-30 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117367 Bug ID: 117367 Summary: Miscompile with different optimization flags Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/116811] New: internal compiler error: verify_ssa failed

2024-09-22 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116811 Bug ID: 116811 Summary: internal compiler error: verify_ssa failed Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/116764] New: SIGSEGV in C

2024-09-18 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116764 Bug ID: 116764 Summary: SIGSEGV in C Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at

[Bug c/116690] Miscompile with different optimization flags

2024-09-11 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116690 --- Comment #6 from Yunbo Ni --- (In reply to Andrew Pinski from comment #5) > (In reply to Yunbo Ni from comment #4) > > Thanks for your kind and detailed explanation! BTW, when I change the value > > of b to 1 in line 3 and compiled this code

[Bug c/116690] Miscompile with different optimization flags

2024-09-11 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116690 --- Comment #4 from Yunbo Ni --- (In reply to Andrew Pinski from comment #3) > Note in C++, it is undefined at the point of return in a rather than > afterwards. > > Also note PR 104690 is filed about catching this with -fsanitize=undefined. >

[Bug c/116690] Miscompile with different optimization flags

2024-09-11 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116690 --- Comment #1 from Yunbo Ni --- (In reply to Yunbo Ni from comment #0) > Created attachment 59101 [details] > The preprocessed file when using -O2 > > When I compiled this code with -O0 and -O2 flags, its outputs were different: > > ```c > #i

[Bug c/116690] New: Miscompile with different optimization flags

2024-09-11 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116690 Bug ID: 116690 Summary: Miscompile with different optimization flags Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/116647] New: Internal compiler error in operator[], at vec.h:910

2024-09-08 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116647 Bug ID: 116647 Summary: Internal compiler error in operator[], at vec.h:910 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c/116487] New: Miscompile with different optimization flags

2024-08-26 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116487 Bug ID: 116487 Summary: Miscompile with different optimization flags Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c