[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #28 from Xi Ruoyao --- (In reply to Jakub Jelinek from comment #27) > For GCC 13, I think it is important that we e.g. don't miscompile glibc > libm, so > the libm testsuite should be clean. PR107967 fixed some of the failures, > a

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #42 from Xi Ruoyao --- (In reply to Richard Biener from comment #41) > We could fix the testcase with > > diff --git a/gcc/testsuite/gcc.dg/pr95115.c b/gcc/testsuite/gcc.dg/pr95115.c > index 69c4f83250c..09273e445d2 100644 > --- a/g

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #44 from Xi Ruoyao --- (In reply to rguent...@suse.de from comment #43) > On Thu, 19 Jan 2023, xry111 at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 > > > > --- Comment #42 from Xi Ruoyao --- >

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-27 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #46 from Xi Ruoyao --- (In reply to Richard Biener from comment #45) > (In reply to Xi Ruoyao from comment #44) > > (In reply to rguent...@suse.de from comment #43) > > > If the result is unused then no, GCC will happily elide excep

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-27 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #48 from Xi Ruoyao --- (In reply to rguent...@suse.de from comment #47) > On Fri, 27 Jan 2023, xry111 at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 > > > > --- Comment #46 from Xi Ruoyao --- >

[Bug target/109000] New: LoongArch: "unmatched" -mabi and -mfpu setting can break ABI silently

2023-03-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109000 Bug ID: 109000 Summary: LoongArch: "unmatched" -mabi and -mfpu setting can break ABI silently Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug target/109000] LoongArch: "unmatched" -mabi and -mfpu setting can break ABI silently

2023-03-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109000 Xi Ruoyao changed: What|Removed |Added Known to fail||12.2.0, 13.0 Last reconfirmed|

[Bug libffi/108682] libffi needs to merge upstream to get LoongArch support

2023-03-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682 Xi Ruoyao changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libffi/108682] libffi needs to merge upstream to get LoongArch support

2023-03-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682 --- Comment #1 from Xi Ruoyao --- Merging libffi is a big change and not suitable for stage 3 IMO. Can we can apply the LoongArch patch locally instead? It will not affect other targets and even if does not work perfectly on LoongArch we don't

[Bug libffi/108682] libffi needs to merge upstream to get LoongArch support

2023-03-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682 --- Comment #2 from Xi Ruoyao --- I applied the LoongArch port patch (upstream PR 678, config.guess and config.sub changes stripped and Makefile.am conflict resolved manually) and use autogen.sh to regenerate the build system. But libgo build s

[Bug libffi/108682] libffi needs to merge upstream to get LoongArch support

2023-03-03 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682 --- Comment #4 from Xi Ruoyao --- (In reply to Andreas Schwab from comment #3) > libgo/goarch.sh is missing LoongArch support. We ship a go 1.18 runtime but LoongArch support was added in 1.19. Updating go runtime in stage 3 is definitely not

[Bug rtl-optimization/109035] New: meaningless memory store on RISC-V and LoongArch

2023-03-05 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109035 Bug ID: 109035 Summary: meaningless memory store on RISC-V and LoongArch Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug rtl-optimization/109035] meaningless memory store on RISC-V and LoongArch

2023-03-05 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109035 Xi Ruoyao changed: What|Removed |Added Ever confirmed|0 |1 Target|

[Bug target/109000] LoongArch: "unmatched" -mabi and -mfpu setting can break ABI silently

2023-03-05 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109000 Xi Ruoyao changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug rtl-optimization/109035] meaningless memory store on RISC-V and LoongArch

2023-03-06 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109035 --- Comment #1 from Xi Ruoyao --- Forgot to mention: a very strange aspect of this issue is adding "-fPIE" covers it up.

[Bug testsuite/70150] Additonal test failures with --enable-default-pie

2023-03-06 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #29 fr

[Bug rtl-optimization/109035] meaningless memory store on RISC-V and LoongArch

2023-03-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109035 --- Comment #3 from Xi Ruoyao --- (In reply to chenglulu from comment #2) > I think this is most likely caused by the implementation of the public code. Agree, so I filled the component as rtl-optimization. I tracked a (non root) cause to the

[Bug target/106828] cc1plus: warning: '-fsanitize=address' not supported for this target for loongarch64-linux-gnu

2023-03-14 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106828 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2023-03-14 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109086 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #5 fr

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

2023-03-14 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109086 --- Comment #6 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #5) > Definitely not a __builtin_strlen expansion issue. Things start to go wrong > in 318r.bbro pass. In 317r.rtl.dce: > > note 42 17 18 4 [bb 4] NOTE_INSN_BASIC_BLOCK) >

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

2023-03-14 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109086 --- Comment #7 from Xi Ruoyao --- 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])) (label_ref 20) (pc))) "t.c":4:23 discrim 1 -1

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

2023-03-14 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109086 --- Comment #9 from Xi Ruoyao --- (In reply to Richard Biener from comment #4) > > Maybe the expand_binop function does not consider the case of dependency > > with `target` when generating rtx for the case of promote MODE_INT mode, and > > may

[Bug other/109086] __builtin_strcmp generates wrong code if expand_simple_binop assigns new pseudo-register for result

2023-03-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109086 Xi Ruoyao changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |xry111 at gcc dot gnu.org

[Bug other/109086] __builtin_strcmp generates wrong code if expand_simple_binop assigns new pseudo-register for result

2023-03-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109086 Xi Ruoyao changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/107453] [13 Regression] New stdarg tests in r13-3549-g4fe34cdcc80ac2 fail

2023-03-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107453 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #9 fr

[Bug c++/109142] auto tmp=*(data_type*)&v: expected primary-expression before ')' token

2023-03-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142 --- Comment #4 from Xi Ruoyao --- template using data_type = decltype([](){return 1;}()); template auto get_precision(T v) { auto tmp = *(data_type *)&v; return tmp; } Clang and MSVC accept this with C++20, though I'm not sure if it's re

[Bug sanitizer/105614] mips64: sanitizer_platform_limits_linux.cpp:75:38: error: static assertion failed

2022-08-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105614 --- Comment #16 from Xi Ruoyao --- (In reply to gagan sidhu (broly) from comment #15) > and also: https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=9f943b2446f2d0 Please don't use this. I've already said why this is not correct in previous repli

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2022-11-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #5 from Xi Ruoyao --- After r13-3924 this brings PR95115 back. Note that Glibc has added an ugly hack for RISC-V and old compilers, but other ports may be haunted as well.

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX

2022-11-13 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 Xi Ruoyao changed: What|Removed |Added Summary|gcc and libatomic can use |gcc and libatomic can use

[Bug target/107713] Wrong implementation atomic_exchange on LoongArch

2022-11-16 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107713 Xi Ruoyao changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/107713] Wrong implementation atomic_exchange on LoongArch

2022-11-16 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107713 --- Comment #3 from Xi Ruoyao --- Created attachment 53907 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53907&action=edit testcase A more straightforward test (in C++).

[Bug target/107713] Wrong implementation atomic_exchange on LoongArch

2022-11-16 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107713 Xi Ruoyao changed: What|Removed |Added Attachment #53907|0 |1 is obsolete|

[Bug target/107731] loongarch Operand Modifiers are not documented

2022-11-16 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107731 --- Comment #2 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #1) > %c does not mean anything in loongarch. > > The codes are not documented in the documentation for loonarch though but > they currently only documented in loongarch.

[Bug target/107731] loongarch Operand Modifiers are not documented

2022-11-16 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107731 --- Comment #5 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #4) > (In reply to Xi Ruoyao from comment #2) > > Interestingly it "worked" with GCC 12.2... No it does not work. I guess I typed the test command in a wrong SSH session

[Bug target/107713] Wrong implementation atomic_exchange on LoongArch

2022-11-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107713 --- Comment #6 from Xi Ruoyao --- Fixed for trunk. Should we backport it to gcc-12 branch too?

[Bug target/107713] Wrong implementation atomic_exchange on LoongArch

2022-11-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107713 Xi Ruoyao changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/107713] Wrong implementation atomic_exchange on LoongArch

2022-11-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107713 Xi Ruoyao changed: What|Removed |Added Target Milestone|--- |12.3 Version|13.0

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX

2022-11-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #20 from Xi Ruoyao --- >From Mayshao (Zhaoxin engineer): "On Zhaoxin CPUs with AVX, the VMOVDQA instruction is atomic if the accessed memory is Write Back, but it's not guaranteed for other memory types." Is it allowed to use VMOVD

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX

2022-11-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #22 from Xi Ruoyao --- (In reply to Jakub Jelinek from comment #21) > What about loads? That is even more important than the stores. While > atomic store can be worst case done through cmpxchg16b, even when it is > slower, we can't

[Bug target/106097] undefined behaviors regarding integer shifts in loongarch_build_integer

2022-06-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106097 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2022-06-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 106097, which changed state. Bug 106097 Summary: undefined behaviors regarding integer shifts in loongarch_build_integer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106097 What|Removed

[Bug sanitizer/105614] mips64: sanitizer_platform_limits_linux.cpp:75:38: error: static assertion failed

2022-06-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105614 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #10 f

[Bug sanitizer/105614] mips64: sanitizer_platform_limits_linux.cpp:75:38: error: static assertion failed

2022-06-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105614 --- Comment #11 from Xi Ruoyao --- > Removing my "fix" resolves the issue for GCC 12 but I suspect something like > the suggestion from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105614#c7 > might resolve the issue properly. I don't think so.

[Bug sanitizer/106136] gcc-12.1.1 - libsanitizer fails when compiled for MIPS

2022-06-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106136 Xi Ruoyao changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED CC|

[Bug sanitizer/105614] mips64: sanitizer_platform_limits_linux.cpp:75:38: error: static assertion failed

2022-06-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105614 Xi Ruoyao changed: What|Removed |Added Status|NEW |WAITING --- Comment #12 from Xi Ruoyao ---

[Bug sanitizer/106136] gcc-12.1.1 - libsanitizer fails when compiled for MIPS

2022-06-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106136 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at g

[Bug sanitizer/105614] mips64: sanitizer_platform_limits_linux.cpp:75:38: error: static assertion failed

2022-06-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105614 --- Comment #14 from Xi Ruoyao --- (In reply to Chris Packham from comment #13) > (In reply to Xi Ruoyao from comment #12) > > Please provide info about how libsanitizer end up building with GCC 11.3 and > > MIPS64 (such a combination is not sup

[Bug target/106096] [13 regression] ICE building stage 2 libgcc on loongarch64-linux-gnu because stage 2 gcc is miscompiled

2022-07-03 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106096 Xi Ruoyao changed: What|Removed |Added Target Milestone|13.0|12.2 --- Comment #14 from Xi Ruoyao --- Th

[Bug target/106097] undefined behaviors regarding integer shifts in loongarch_build_integer

2022-07-03 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106097 Xi Ruoyao changed: What|Removed |Added Target Milestone|--- |12.2 --- Comment #13 from Xi Ruoyao --- (I

[Bug target/113838] regression of redundant load operation introduced by -fno-tree-forwprop introduce

2024-02-08 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113838 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #6 fr

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

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

[Bug target/113955] Finish LRA transition for mips by removing -mlra

2024-02-16 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113955 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #1 fr

[Bug rtl-optimization/113985] redundant copy of return values at O0

2024-02-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113985 Xi Ruoyao changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/113994] Probable C++ code generation bug with -O2 on s390x platform

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

[Bug c++/107745] long double constexprs don't work with * or /, but work with + and - (JUST ON PPC)

2024-02-20 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107745 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #6 fr

[Bug target/113955] Finish LRA transition for mips by removing -mlra

2024-02-21 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113955 --- Comment #4 from Xi Ruoyao --- (In reply to YunQiang Su from comment #3) > -mlra has been set to default since it was added (2014). > So, It is ok for us to remove it. Then let's just remove it (maybe after GCC 14 release).

[Bug sanitizer/114037] ASAN fork should ensure no unwind is in progress

2024-02-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114037 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |WAITING CC|

[Bug c/114088] Please provide __builtin_c16slen and __builtin_c32slen to complement __builtin_wcslenw

2024-02-24 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114088 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #2 fr

[Bug tree-optimization/113622] [11/12/13 Regression] ICE with vectors in named registers

2024-02-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113622 --- Comment #24 from Xi Ruoyao --- It looks I can rewrite the LoongArch test case (still broken though ICE is stopped) using check-function-bodies. Will try later...

[Bug libquadmath/114140] different results for std::fmin/std::fmax and quadmath fminq/fmaxq if one argument=signaling_NaN

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

[Bug target/112919] LoongArch: Alignments in tune parameters are not precise and they regress performance

2024-02-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112919 --- Comment #9 from Xi Ruoyao --- (In reply to chenglulu from comment #8) > (In reply to Xi Ruoyao from comment #7) > > Any update? :) > > Well, I haven't run it yet. Since this does not have a big impact on the > spec score, I am currently tes

[Bug target/112919] LoongArch: Alignments in tune parameters are not precise and they regress performance

2024-03-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112919 --- Comment #11 from Xi Ruoyao --- (In reply to chenglulu from comment #10) > (In reply to Xi Ruoyao from comment #9) > > (In reply to chenglulu from comment #8) > > > (In reply to Xi Ruoyao from comment #7) > > > > Any update? :) > > > > > > W

[Bug tree-optimization/114206] recursive function call vs local variable addresses

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

[Bug c++/114225] False positive -Werror=dangling-reference

2024-03-04 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114225 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/114220] False positive warning: possibly dangling reference to a temporary [-Wdangling-reference]

2024-03-04 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114220 Xi Ruoyao changed: What|Removed |Added CC||asharafutdinov at adalisk dot com --- Comm

[Bug c++/114225] False positive -Werror=dangling-reference

2024-03-04 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114225 --- Comment #3 from Xi Ruoyao --- (In reply to Fedor Chelnokov from comment #2) > Please note that this is a regression in GCC 13. GCC 12 (or other compilers) > do not show a warning here: https://godbolt.org/z/Yhfad47xs No, GCC 12 does not hav

[Bug target/112919] LoongArch: Alignments in tune parameters are not precise and they regress performance

2024-03-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112919 --- Comment #15 from Xi Ruoyao --- > Hi,Ruoyao: > > The results of spec2006 on 3A6000 were obtained, I removed the more volatile > test items, '-falign-loops=8 -falign-functions=8 -falign-jumps=32 > -falign-lables=4' this set of parameters got

[Bug tree-optimization/114281] [14 Regression] Multiple 2-10% exec time regressions of 465.tonto since r14-9193-ga0b1798042d033

2024-03-08 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114281 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/114269] [14 Regression] Multiple 3-27% exec time regressions of 434.zeusmp since r14-9193-ga0b1798042d033

2024-03-08 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114269 --- Comment #2 from Xi Ruoyao --- *** Bug 114281 has been marked as a duplicate of this bug. ***

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2024-03-08 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 114281, which changed state. Bug 114281 Summary: [14 Regression] Multiple 2-10% exec time regressions of 465.tonto since r14-9193-ga0b1798042d033 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114281 What|Re

[Bug tree-optimization/110992] [13/14 Regression] missed VRP optimization due to transformation of `a & -zero_one_valued_p` into `a * zero_one_valued_p`

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

[Bug target/114175] [13/14] RISC-V: Execution test failures on gcc.dg/c23-stdarg-6.c

2024-03-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114175 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #20 f

[Bug target/114175] [13/14] RISC-V: Execution test failures on gcc.dg/c23-stdarg-6.c

2024-03-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114175 --- Comment #22 from Xi Ruoyao --- (In reply to Sam James from comment #21) > (In reply to Xi Ruoyao from comment #20) > > Also failing on LoongArch. > > The testcase from comment 19 or the test? > > Not sure if we should move the comment 19 i

[Bug sanitizer/113430] [11/12/13 only] Trivial program segfaults intermittently with ASAN with large CONFIG_ARCH_MMAP_RND_BITS in kernel configuration

2024-03-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113430 --- Comment #12 from Xi Ruoyao --- (In reply to Dimitrij Mijoski from comment #8) > This bug manifested at large on Github Actions CI/CI system in the last few > days most likely because Ubuntu's kernel also got updated to use 32 random > bits.

[Bug tree-optimization/114363] inconsistent optimization of pow(x,2)+pow(y,2)

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

[Bug target/114175] [13/14] RISC-V: Execution test failures on gcc.dg/c23-stdarg-6.c

2024-03-17 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114175 Xi Ruoyao changed: What|Removed |Added Target|riscv, loongarch, x86_64|riscv, loongarch, x86_64,

[Bug target/114175] [13/14] Execution test failures on gcc.dg/c23-stdarg-6.c on multiple targets

2024-03-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114175 --- Comment #28 from Xi Ruoyao --- LoongArch patch (tested): https://gcc.gnu.org/pipermail/gcc-patches/2024-March/647928.html

[Bug target/114175] [13/14] Execution test failures on gcc.dg/c23-stdarg-6.c on multiple targets

2024-03-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114175 --- Comment #36 from Xi Ruoyao --- Do we need a backport to releases/gcc-13?

[Bug target/112470] [11/12/13/14 regression] [AARCH64] stack-protector vulnerability fixing solution impact code size and performance

2024-03-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112470 --- Comment #14 from Xi Ruoyao --- (In reply to Jakub Jelinek from comment #13) > So, is there anything we should do about this PR, or just close it as > necessary outcome of trying to be more secure when user asked for it? At least it shouldn'

[Bug analyzer/114285] Use of uninitialized value when copying a struct field by field

2024-03-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114285 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #9 fr

[Bug middle-end/59863] const array in function is placed on stack

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

[Bug target/114175] [13/14] Execution test failures on gcc.dg/c23-stdarg-6.c on multiple targets

2024-03-20 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114175 --- Comment #40 from Xi Ruoyao --- mips patch: https://gcc.gnu.org/pipermail/gcc-patches/2024-March/648070.html (tested with -mabi=64)

[Bug middle-end/114406] Optimizations with ">>", div, mod and mul where operands are all positive

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

[Bug tree-optimization/89163] Missed optimization: sar and shr equivalent for non-negative numbers

2024-03-20 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89163 Xi Ruoyao changed: What|Removed |Added CC||Explorer09 at gmail dot com --- Comment #2 f

[Bug tree-optimization/89163] Missed optimization: sar and shr equivalent for non-negative numbers

2024-03-20 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89163 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #3 fro

[Bug target/114407] Typo 'enabing' in loongarch-opts.cc

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

[Bug c++/114421] arm-none-eabi thumb -Os (and -O2) incorrectly optimizes out needed class member call

2024-03-21 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114421 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #3 fr

[Bug target/114441] Relocation issues when compiling with -O1,-O2,and -Os

2024-03-24 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114441 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #4 fr

[Bug c++/114439] [14 Regression] icu4c-73.2 build failure: invalid initializer for array member with initialization of array of struct containing arrays since r14-9622

2024-03-24 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114439 Xi Ruoyao changed: What|Removed |Added Priority|P3 |P1 --- Comment #3 from Xi Ruoyao --- To me

[Bug middle-end/114449] bswap64 not optimized

2024-03-24 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114449 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #1 fr

[Bug middle-end/114449] bswap64 not optimized

2024-03-24 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114449 Xi Ruoyao changed: What|Removed |Added Keywords||missed-optimization Ever confirmed|0

[Bug rtl-optimization/114452] Functions invoked through compile-time table of function pointers not inlined

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

[Bug ipa/111573] lambda functions often not inlined and optimized out

2024-03-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111573 Xi Ruoyao changed: What|Removed |Added CC||chfast at gmail dot com --- Comment #3 from

[Bug rtl-optimization/114452] Functions invoked through compile-time table of function pointers not inlined

2024-03-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114452 --- Comment #3 from Xi Ruoyao --- (In reply to Paweł Bylica from comment #2) > I don't think this is related to lambdas. The following is also not > optimized: > > > using F = int (*)(int) noexcept; > > inline int impl(int x) noexcept { retur

[Bug tree-optimization/114465] New: "x % const1 % const2" should be optimized if const1 % const2 == 0

2024-03-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114465 Bug ID: 114465 Summary: "x % const1 % const2" should be optimized if const1 % const2 == 0 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/114465] "x % const1 % const2" should be optimized if const1 % const2 == 0

2024-03-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114465 Xi Ruoyao changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug target/114466] mips: ICE during RTL pass: zero_call_used_regs

2024-03-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114466 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #5 fr

[Bug tree-optimization/114464] [14 regression] ICE when building tdscpp-20240212

2024-03-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114464 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #4 fr

[Bug target/104817] mips: ICE in mips_output_move, at config/mips/mips.cc:5323 with -fzero-call-used-regs=all

2024-03-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104817 Xi Ruoyao changed: What|Removed |Added CC||qing.zhao at oracle dot com --- Comment #3

[Bug target/112919] LoongArch: Alignments in tune parameters are not precise and they regress performance

2024-03-27 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112919 --- Comment #18 from Xi Ruoyao --- (In reply to chenglulu from comment #17) > The results of spec2006 on LA464 are: > -falign-labels=4 -falign-functions=32 -falign-loops=16 -falign-jumps=16 Would you send a patch for them or prefer I to do it?

  1   2   3   4   5   6   7   8   9   10   >