[Bug c/111490] Segmentation fault with '-O3 -fno-dce -fno-tree-dce -fno-tree-dse -fno-tree-sink'

2023-09-19 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111490 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55943 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55943=edit The compiler output

[Bug c/111490] New: Segmentation fault with '-O3 -fno-dce -fno-tree-dce -fno-tree-dse -fno-tree-sink'

2023-09-19 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111490 Bug ID: 111490 Summary: Segmentation fault with '-O3 -fno-dce -fno-tree-dce -fno-tree-dse -fno-tree-sink' Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c/111491] ICE: Segmentation fault signal terminated program cc1

2023-09-19 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111491 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55945 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55945=edit The compiler output

[Bug c/111491] New: ICE: Segmentation fault signal terminated program cc1

2023-09-19 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111491 Bug ID: 111491 Summary: ICE: Segmentation fault signal terminated program cc1 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/111554] New: Timeout with with "-O3 -fno-dse -fno-inline -fno-store-merging -fno-toplevel-reorder -fno-tree-dce -fno-tree-dse"

2023-09-23 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111554 Bug ID: 111554 Summary: Timeout with with "-O3 -fno-dse -fno-inline -fno-store-merging -fno-toplevel-reorder -fno-tree-dce -fno-tree-dse" Product: gcc Version:

[Bug c/111554] Timeout with with "-O3 -fno-dse -fno-inline -fno-store-merging -fno-toplevel-reorder -fno-tree-dce -fno-tree-dse"

2023-09-23 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111554 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55975 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55975=edit The compiler output

[Bug c/111574] Illegal instruction with "-O3 -fno-toplevel-reorder -fno-tree-bit-ccp -fno-tree-dce"

2023-09-24 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111574 --- Comment #2 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55981 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55981=edit The preprocessed file

[Bug c/111574] Illegal instruction with

2023-09-24 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111574 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- *** OS and Platform: Ubuntu 20.04.4 LTS

[Bug c/111574] Illegal instruction with "-O3 -fno-toplevel-reorder -fno-tree-bit-ccp -fno-tree-dce"

2023-09-24 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111574 --- Comment #3 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55982 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55982=edit The compiler output

[Bug c/111574] New: Illegal instruction with

2023-09-24 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111574 Bug ID: 111574 Summary: Illegal instruction with Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug c/111458] New: ICE in in dfs_enumerate_from, at cfganal.c:1560

2023-09-18 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111458 Bug ID: 111458 Summary: ICE in in dfs_enumerate_from, at cfganal.c:1560 Product: gcc Version: 11.4.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/111458] ICE in in dfs_enumerate_from, at cfganal.c:1560

2023-09-18 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111458 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55922 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55922=edit The compiler output

[Bug c/111599] New: ICE: Segmentation fault

2023-09-26 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111599 Bug ID: 111599 Summary: ICE: Segmentation fault Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug c/111599] ICE: Segmentation fault

2023-09-26 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111599 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55995 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55995=edit The compiler output

[Bug c/111678] New: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2023-10-03 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111678 Bug ID: 111678 Summary: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c/111678] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2023-10-03 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111678 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 56040 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56040=edit The compiler output

[Bug c/111508] New: Floating point exception with '-O3 -fno-dce -fno-early-inlining -fno-tree-dce -fno-tree-dse'

2023-09-20 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111508 Bug ID: 111508 Summary: Floating point exception with '-O3 -fno-dce -fno-early-inlining -fno-tree-dce -fno-tree-dse' Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c/111509] New: Floating point exception with '-O3 -fno-dce -fno-inline-small-functions -fno-tree-dce -fno-tree-dominator-opts -fno-tree-dse'

2023-09-20 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111509 Bug ID: 111509 Summary: Floating point exception with '-O3 -fno-dce -fno-inline-small-functions -fno-tree-dce -fno-tree-dominator-opts -fno-tree-dse' Product: gcc

[Bug c/111509] Floating point exception with '-O3 -fno-dce -fno-inline-small-functions -fno-tree-dce -fno-tree-dominator-opts -fno-tree-dse'

2023-09-20 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111509 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55955 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55955=edit The compiler output

[Bug c/111507] Floating point exception with '-O3'

2023-09-20 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111507 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55951 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55951=edit The compiler output

[Bug c/111508] Floating point exception with '-O3 -fno-dce -fno-early-inlining -fno-tree-dce -fno-tree-dse'

2023-09-20 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111508 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55953 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55953=edit The compiler output

[Bug c/111507] New: Floating point exception with '-O3'

2023-09-20 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111507 Bug ID: 111507 Summary: Floating point exception with '-O3' Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/111483] ICE in to_sreal, at profile-count.cc:472

2023-09-19 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111483 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55936 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55936=edit The compiler output

[Bug c/111483] New: ICE in to_sreal, at profile-count.cc:472

2023-09-19 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111483 Bug ID: 111483 Summary: ICE in to_sreal, at profile-count.cc:472 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/111540] New: Segmentation fault with '-O3 -fno-dce -fno-tree-dce -fno-tree-sra'

2023-09-22 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111540 Bug ID: 111540 Summary: Segmentation fault with '-O3 -fno-dce -fno-tree-dce -fno-tree-sra' Product: gcc Version: 11.4.1 Status: UNCONFIRMED Severity: normal

[Bug c/111540] Segmentation fault with '-O3 -fno-dce -fno-tree-dce -fno-tree-sra'

2023-09-22 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111540 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55968 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55968=edit The compiler output

[Bug c/111734] wrong code with '-O3 -fno-inline-functions-called-once -fno-inline-small-functions -fno-omit-frame-pointer -fno-toplevel-reorder -fno-tree-fre'

2023-10-09 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111734 --- Comment #2 from CTC <19373742 at buaa dot edu.cn> --- A reduced testcase: #include #include struct a {}; struct { uint32_t b; int16_t c; } d, f = {9, 1}; int32_t e; static int32_t *g(); static uint32_t h() { int32_t *i = struct a

[Bug c/111789] New: Segmentation fault with '-O3 -fno-inline -fno-toplevel-reorder'

2023-10-12 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111789 Bug ID: 111789 Summary: Segmentation fault with '-O3 -fno-inline -fno-toplevel-reorder' Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c/111789] Segmentation fault with '-O3 -fno-inline -fno-toplevel-reorder'

2023-10-12 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111789 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 56100 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56100=edit The compiler output

[Bug c/111863] New: Wrong code with "-O3 -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-vrp"

2023-10-18 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111863 Bug ID: 111863 Summary: Wrong code with "-O3 -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-vrp" Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug c/111863] Wrong code with "-O3 -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-vrp"

2023-10-18 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111863 --- Comment #2 from CTC <19373742 at buaa dot edu.cn> --- A reduced testcase: $ cat a.c #include int a; volatile int *b = volatile int **c = static int d = 1; static int e() { unsigned long f = 2; *b = 0 || 5; *b = ((**c & f) != d)%11;

[Bug c/111863] Wrong code with "-O3 -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-vrp"

2023-10-18 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111863 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 56139 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56139=edit The compiler output

[Bug c/111873] New: runtime Segmentation fault with '-O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-loop-optimize -fno-tree-pre'

2023-10-19 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111873 Bug ID: 111873 Summary: runtime Segmentation fault with '-O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-loop-optimize -fno-tree-pre' Product: gcc

[Bug c/111873] runtime Segmentation fault with '-O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-loop-optimize -fno-tree-pre'

2023-10-19 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111873 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 56149 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56149=edit The compiler output

[Bug middle-end/111873] runtime Segmentation fault with '-O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-loop-optimize -fno-tree-pre'

2023-10-19 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111873 --- Comment #2 from CTC <19373742 at buaa dot edu.cn> --- A reduced testcase: struct a { short b; }; int d; const struct a c; void e(short x) {} void f(short x) {} int g(const struct a i) {return 0;} void h(const struct a i) { d = g(i);

[Bug c/111734] wrong code with '-O3 -fno-inline-functions-called-once -fno-inline-small-functions -fno-omit-frame-pointer -fno-toplevel-reorder -fno-tree-fre'

2023-10-09 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111734 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 56078 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56078=edit The compiler output

[Bug c/111734] New: wrong code with '-O3 -fno-inline-functions-called-once -fno-inline-small-functions -fno-omit-frame-pointer -fno-toplevel-reorder -fno-tree-fre'

2023-10-09 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111734 Bug ID: 111734 Summary: wrong code with '-O3 -fno-inline-functions-called-once -fno-inline-small-functions -fno-omit-frame-pointer -fno-toplevel-reorder -fno-tree-fre'

[Bug c/111804] wrong code with '-O3 -fno-inline-functions-called-once -fno-inline-small-functions -fno-toplevel-reorder -fno-tree-fre'

2023-10-13 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111804 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 56104 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56104=edit The compiler output

[Bug c/111804] New: wrong code with '-O3 -fno-inline-functions-called-once -fno-inline-small-functions -fno-toplevel-reorder -fno-tree-fre'

2023-10-13 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111804 Bug ID: 111804 Summary: wrong code with '-O3 -fno-inline-functions-called-once -fno-inline-small-functions -fno-toplevel-reorder -fno-tree-fre' Product: gcc

[Bug c/111951] New: ICE: verify_ssa failed

2023-10-24 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111951 Bug ID: 111951 Summary: ICE: verify_ssa failed Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug c/111951] ICE: verify_ssa failed

2023-10-24 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111951 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- A reduced testcase: int a; int b() {return 0;} void c(int d) { int e; for (;;) { if (a) return; if (d) a = e = 0; for (; e != 27; e++) b() && (d = 1);

[Bug c/110526] ICE: Segmentation fault

2023-07-02 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110526 --- Comment #2 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55458 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55458=edit The preprocessed file

[Bug c/110526] ICE: Segmentation fault

2023-07-02 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110526 --- Comment #3 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55459 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55459=edit The compiler output

[Bug c/110528] New: Timeout with with specific optimizations

2023-07-02 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110528 Bug ID: 110528 Summary: Timeout with with specific optimizations Product: gcc Version: 12.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/110526] New: ICE

2023-07-02 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110526 Bug ID: 110526 Summary: ICE Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc

[Bug c/110526] ICE: Segmentation fault

2023-07-02 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110526 CTC <19373742 at buaa dot edu.cn> changed: What|Removed |Added Version|13.2.1 |13.1.1

[Bug c/110528] Timeout with with specific optimizations

2023-07-02 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110528 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55461 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55461=edit C Source Code

[Bug c/110525] New: ICE in create_block_for_bookkeeping, at sel-sched.cc:4549

2023-07-02 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110525 Bug ID: 110525 Summary: ICE in create_block_for_bookkeeping, at sel-sched.cc:4549 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c/110525] ICE in create_block_for_bookkeeping, at sel-sched.cc:4549

2023-07-02 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110525 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55457 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55457=edit The compiler output

[Bug middle-end/110528] Timeout with with specific optimizations

2023-07-03 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110528 --- Comment #3 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55463 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55463=edit The preprocessed file

[Bug c/110662] Segmentation fault with '-O3'

2023-07-13 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110662 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55540 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55540=edit The compiler output

[Bug c/110662] Segmentation fault with '-O3'

2023-07-14 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110662 --- Comment #2 from CTC <19373742 at buaa dot edu.cn> --- The reduced sequence is -O3 -fno-dce -fno-tree-dce -fno-tree-sink

[Bug c/110662] New: Segmentation fault with '-O3'

2023-07-13 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110662 Bug ID: 110662 Summary: Segmentation fault with '-O3' Product: gcc Version: 11.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/110721] New: Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-18 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110721 Bug ID: 110721 Summary: Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink' Product: gcc Version: 11.4.1 Status: UNCONFIRMED

[Bug c/110721] Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-18 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110721 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55571 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55571=edit The compiler output

[Bug c/110683] New: wrong code with '-O2' and specific optimizations

2023-07-16 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110683 Bug ID: 110683 Summary: wrong code with '-O2' and specific optimizations Product: gcc Version: 12.3.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/110683] wrong code with '-O2' and specific optimizations

2023-07-16 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110683 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 2 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=2=edit The compiler output

[Bug c/110683] wrong code with '-O2' and specific optimizations

2023-07-16 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110683 --- Comment #2 from CTC <19373742 at buaa dot edu.cn> --- The reduced optimizations is -O2 -fpack-struct

[Bug c/110683] wrong code with '-O2 -fpack-struct'

2023-07-16 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110683 --- Comment #3 from CTC <19373742 at buaa dot edu.cn> --- The reduced program is # cat mss.i struct a { char b; int c; }; union { struct a b; short c; } d = {8, 1}; void main() { printf("%d\n", d.c); }

[Bug c/110556] Floating point exception with specific optimizations

2023-07-05 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110556 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55474 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55474=edit The compiler output

[Bug c/110556] Floating point exception with specific optimizations

2023-07-05 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110556 --- Comment #2 from CTC <19373742 at buaa dot edu.cn> --- The reduced sequence: -O3 -fno-inline-small-functions -fno-tree-fre -fno-delete-dead-exceptions -fexpensive-optimizations -fipa-pure-const -fipa-sra -fthread-jumps -ftree-dce

[Bug c/110556] New: Floating point exception with specific optimizations

2023-07-05 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110556 Bug ID: 110556 Summary: Floating point exception with specific optimizations Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/110556] Floating point exception with specific optimizations

2023-07-05 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110556 --- Comment #6 from CTC <19373742 at buaa dot edu.cn> --- (In reply to Andrew Pinski from comment #4) > Reducing this but it is taking a little longer as I get to the case where we > get undefined code on accident so I need to test it using >

[Bug c/110123] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2023-06-05 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110123 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55260 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55260=edit the compiler output

[Bug c/110123] New: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2023-06-05 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110123 Bug ID: 110123 Summary: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c/110169] New: wrong code with '-Ofast'

2023-06-08 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110169 Bug ID: 110169 Summary: wrong code with '-Ofast' Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug c/110169] wrong code with '-Ofast'

2023-06-08 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110169 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55283 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55283=edit The compiler output

[Bug c/110135] New: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2023-06-05 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110135 Bug ID: 110135 Summary: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c/110135] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2023-06-05 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110135 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55266 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55266=edit The compiler output

[Bug c/110169] wrong code with '-Ofast'

2023-06-11 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110169 --- Comment #3 from CTC <19373742 at buaa dot edu.cn> --- (In reply to Alexander Monakov from comment #2) > It seems csmith was run with the --float argument. Differences under -Ofast > are expected (but even without -Ofast, it seems csmith can

[Bug c/110818] New: Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-26 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 Bug ID: 110818 Summary: Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink' Product: gcc Version: 11.4.1 Status: UNCONFIRMED

[Bug c/110818] Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-26 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 --- Comment #2 from CTC <19373742 at buaa dot edu.cn> --- (In reply to Andrew Pinski from comment #1) > The reduced testcase is undefined code > Though the original is most likely well defined valid code. I tried to add

[Bug c/110818] Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-26 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 --- Comment #3 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55641 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55641=edit The compiler output

[Bug middle-end/110818] Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-28 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 --- Comment #7 from CTC <19373742 at buaa dot edu.cn> --- Reduced testcase: # cat testcase.i struct a { short b; } d, g; int c; static struct a e(short); static struct a f(int *i) { long h[] = {1, 1, 1, 1, 1, 1, 1}; for (; c <= 8; ++c)

[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

[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

[Bug c/110282] New: Segmentation fault with specific optimizations

2023-06-16 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110282 Bug ID: 110282 Summary: Segmentation fault with specific optimizations Product: gcc Version: 11.4.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/110282] Segmentation fault with specific optimizations

2023-06-16 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110282 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55344 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55344=edit The compiler output

[Bug c/110281] New: 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 Bug ID: 110281 Summary: wrong code with '-O3' Product: gcc Version: 11.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug c/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 #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55342 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55342=edit The compiler output

[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/110282] Segmentation fault with specific optimizations

2023-06-19 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110282 --- Comment #4 from CTC <19373742 at buaa dot edu.cn> --- (In reply to Richard Biener from comment #3) > Confirmed behavior also with GCC 10, with -fno-bit-tests -fbit-tests > -fno-ipa-modref -fipa-modref removed. > > Can you please adjust your

[Bug middle-end/110282] Segmentation fault with specific optimizations

2023-06-30 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110282 --- Comment #6 from CTC <19373742 at buaa dot edu.cn> --- Another related and smaller reproducer: # cat tmp.i main() { int *a = 0; int b = *a; }

[Bug middle-end/110294] [10/11 Regression] Segmentation fault with '-O3 -fno-dce -fno-toplevel-reorder -fno-tree-dce -fno-tree-pta -fno-tree-sink -ftoplevel-reorder'

2023-06-30 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110294 --- Comment #3 from CTC <19373742 at buaa dot edu.cn> --- Another related and smaller reproducer: # cat tmp.i a; *const b; main() { a != *b; }

[Bug c/110517] ICE in create_block_for_bookkeeping, at sel-sched.cc:4549

2023-07-02 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110517 --- Comment #2 from CTC <19373742 at buaa dot edu.cn> --- The reduced reproducer: a, b, c, d; e() { for (;; a++) { short *f = if (b && ++*f) d = e; } } main() {}

[Bug c/110517] New: ICE in in create_block_for_bookkeeping, at sel-sched.cc:4549

2023-07-02 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110517 Bug ID: 110517 Summary: ICE in in create_block_for_bookkeeping, at sel-sched.cc:4549 Product: gcc Version: 12.3.1 Status: UNCONFIRMED Severity: normal

[Bug c/110517] ICE in in create_block_for_bookkeeping, at sel-sched.cc:4549

2023-07-02 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110517 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55449 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55449=edit The compiler output

[Bug c/110518] New: ICE in alloc_succs_info, at sel-sched-ir.cc:4723

2023-07-02 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110518 Bug ID: 110518 Summary: ICE in alloc_succs_info, at sel-sched-ir.cc:4723 Product: gcc Version: 12.3.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/110518] ICE in alloc_succs_info, at sel-sched-ir.cc:4723

2023-07-02 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110518 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55451 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55451=edit The preprocessed file

[Bug c/110272] New: ICE in as_a, at machmode.h:381

2023-06-15 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110272 Bug ID: 110272 Summary: ICE in as_a, at machmode.h:381 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/110272] ICE in as_a, at machmode.h:381

2023-06-15 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110272 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55332 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55332=edit The compiler output

[Bug c/110294] New: Segmentation fault with '-O3 -fno-dce -fno-toplevel-reorder -fno-tree-dce -fno-tree-pta -fno-tree-sink -ftoplevel-reorder'

2023-06-16 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110294 Bug ID: 110294 Summary: Segmentation fault with '-O3 -fno-dce -fno-toplevel-reorder -fno-tree-dce -fno-tree-pta -fno-tree-sink -ftoplevel-reorder' Product: gcc

[Bug c/110294] Segmentation fault with '-O3 -fno-dce -fno-toplevel-reorder -fno-tree-dce -fno-tree-pta -fno-tree-sink -ftoplevel-reorder'

2023-06-16 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110294 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55353 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55353=edit The compiler output