[Bug rtl-optimization/109086] Bug of builtin_strcmp in the case of using the adddi3 instruction patterns

2023-03-14 Thread liwei at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109086 --- Comment #10 from liwei at loongson dot cn --- (In reply to Richard Biener from comment #4) > (In reply to liwei from comment #3) > > Thank you for your quick reply! > > > > The final call of the expand_simple_binop function returns part of t

[Bug rtl-optimization/109086] Bug of builtin_strcmp in the case of using the adddi3 instruction patterns

2023-03-14 Thread liwei at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109086 --- Comment #8 from liwei at loongson dot cn --- (In reply to Xi Ruoyao from comment #7) > Things are already wrong in 255r: > > (jump_insn 17 16 42 4 (set (pc) > (if_then_else (ne (reg:DI 90) > (const_int 0 [0])) >

[Bug rtl-optimization/109086] Bug of builtin_strcmp in the case of using the adddi3 instruction patterns

2023-03-10 Thread liwei at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109086 --- Comment #3 from liwei at loongson dot cn --- Thank you for your quick reply! The final call of the expand_simple_binop function returns part of the code as follows (optabs.cc): 1671 xop0 = widen_operand (xop0, wider_mode, mode, unsignedp,

[Bug target/109086] Bug of builtin_strcmp in the case of using the adddi3 instruction patterns

2023-03-09 Thread liwei at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109086 --- Comment #1 from liwei at loongson dot cn --- Created attachment 54632 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54632&action=edit try to fix builtin_strcmp bug patch

[Bug target/109086] New: Bug of builtin_strcmp in the case of using the adddi3 instruction patterns

2023-03-09 Thread liwei at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109086 Bug ID: 109086 Summary: Bug of builtin_strcmp in the case of using the adddi3 instruction patterns Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: nor