[Bug sanitizer/107374] Please expand the size of flag_sanitize to uint64_t

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

[Bug sanitizer/107048] GCC lacks -fsanitize=kcfi

2023-03-31 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107048 Xi Ruoyao changed: What|Removed |Added Severity|normal |enhancement Status|UNCONFIRMED

[Bug c++/109356] Enhancement idea to provide clearer missing brace line number

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

[Bug c++/109357] [12/13 Regression] internal compiler error in cp/constexpr.cc:1685

2023-03-31 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109357 Xi Ruoyao changed: What|Removed |Added Target Milestone|--- |12.3 Known to work|

[Bug web/109355] Add a text warning to old gcc online manual stating it is out of date

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

[Bug lto/109368] LTO drops entry point symbol

2023-04-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109368 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Statu

[Bug analyzer/109190] GCC Static Analyzer cannot handle the initialization of an array with a for loop

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

[Bug c++/109356] Enhancement idea to provide clearer missing brace line number

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

[Bug tree-optimization/109417] [13 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault

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

[Bug libstdc++/109405] Should class final decoration result in larger unique_ptr with deleter ?

2023-04-05 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109405 Xi Ruoyao changed: What|Removed |Added Resolution|--- |WONTFIX CC|

[Bug libstdc++/109418] -Werror=maybe-uninitialized triggered by /usr/include/c++/12.2.1/bits/random.tcc

2023-04-05 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109418 --- Comment #1 from Xi Ruoyao --- (In reply to Gareth Anthony Hulse from comment #0) > Created attachment 54812 [details] > Output of `make -B 2> /tmp/errors.txt` > > `/usr/include/c++/12.2.1/bits/random.tcc` has variables that are possibly > u

[Bug libstdc++/109418] -Werror=maybe-uninitialized triggered by /usr/include/c++/12.2.1/bits/random.tcc

2023-04-05 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109418 Xi Ruoyao changed: What|Removed |Added Keywords|easyhack| CC|

[Bug c/109426] Gcc runs into Infinite loop

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

[Bug c/109426] Gcc runs into Infinite loop

2023-04-06 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109426 --- Comment #5 from Xi Ruoyao --- (In reply to Jonathan Wakely from comment #4) > N.B. this code is just copied from PR 54402. It might have been helpful to > say where you found the code. > > zhonghao, it's really not helpful to just copy&past

[Bug lto/109428] GCC did not fix CVE-2022-37434, a heap overflow bug introduced by its dependency zlib code.

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

[Bug tree-optimization/109443] missed optimization of std::vector access (Related to issue 35269)

2023-04-06 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109443 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Statu

[Bug tree-optimization/109443] missed optimization of std::vector access (Related to issue 35269)

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

[Bug c++/109356] Enhancement idea to provide clearer missing brace line number

2023-04-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109356 --- Comment #7 from Xi Ruoyao --- (In reply to Jonny Grant from comment #6) > Tried a few other compilers on godbolt. > > ICC gets the warning on line 6 > https://godbolt.org/z/fYb9c8f61 > > nvc++ gives the warning on line 6 > https://godbol

[Bug target/109456] `-ffixed` is ignored for `a` registers on RISC-V.

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

[Bug target/109465] New: LoongArch: The expansion of memcpy is slow and bloated for some sizes

2023-04-10 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109465 Bug ID: 109465 Summary: LoongArch: The expansion of memcpy is slow and bloated for some sizes Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug target/109465] LoongArch: The expansion of memcpy is slow and bloated for some sizes

2023-04-10 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109465 Xi Ruoyao changed: What|Removed |Added Last reconfirmed||2023-04-10 CC|

[Bug c++/109470] unexpected const & behavior

2023-04-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109470 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Resolutio

[Bug c++/109470] unexpected const & behavior

2023-04-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109470 --- Comment #2 from Xi Ruoyao --- With "-Wall -O1" this is diagnosed properly, but with a spurious maybe-uninitialized warning: In file included from /usr/include/c++/12.2.0/cassert:44, from t.c:2: t.c: In function 'int main()'

[Bug sanitizer/109446] Possible destination array overflow without diagnosis in memcpy

2023-04-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109446 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Ever confirme

[Bug tree-optimization/109471] Missing loop unrolling for small std::vector?

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

[Bug sanitizer/109446] Possible destination array overflow without diagnosis in memcpy

2023-04-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109446 --- Comment #4 from Xi Ruoyao --- (In reply to Martin Liška from comment #3) > The problem here is that we normally preserve memcpy calls and then > __interceptor_memcpy is used from the run-time library. However, in this > case the second argum

[Bug target/109481] Bug in openEuler/gcc (13.0.1) support for ARM SVE openmp

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

[Bug sanitizer/109446] Possible destination array overflow without diagnosis in memcpy

2023-04-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109446 --- Comment #13 from Xi Ruoyao --- (In reply to rguent...@suse.de from comment #12) > On Wed, 12 Apr 2023, marxin at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109446 > > > > --- Comment #9 from Martin Li?ka ---

[Bug middle-end/101018] ICE when enabling OpenMP on a simple loop with SVE intrinsics (aarch64)

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

[Bug lto/109369] LTO drops explicitly referenced symbol _pei386_runtime_relocator

2023-04-13 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109369 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Resolutio

[Bug middle-end/109493] Broken O2 optimization on s390x in GCC 13

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

[Bug middle-end/109484] [Wrong Code][inline-asm] output operands overlap with output

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

[Bug tree-optimization/108357] [13 Regression] Dead Code Elimination Regression at -O2 since r13-4607-g2dc5d6b1e7ec88

2023-04-13 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108357 --- Comment #11 from Xi Ruoyao --- (In reply to chenglulu from comment #10) > (In reply to Xi Ruoyao from comment #5) > > The test fails on loongarch64-linux-gnu. foo is kept in 114t.threadfull1, > > but removed in 135t.forwprop3. > > > > Does

[Bug tree-optimization/108357] [13 Regression] Dead Code Elimination Regression at -O2 since r13-4607-g2dc5d6b1e7ec88

2023-04-13 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108357 --- Comment #14 from Xi Ruoyao --- (In reply to rguent...@suse.de from comment #13) > On Thu, 13 Apr 2023, chenglulu at loongson dot cn wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108357 > > > > --- Comment #10 from chenglulu --

[Bug tree-optimization/108357] [13 Regression] Dead Code Elimination Regression at -O2 since r13-4607-g2dc5d6b1e7ec88

2023-04-14 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108357 --- Comment #18 from Xi Ruoyao --- (In reply to Richard Biener from comment #17) > Isn't this the same issue as seen in another bug, most targets defining > TARGET_PROMOTE_PROTOTYPES to hook_bool_const_tree_true but loongarch not? > That will ca

[Bug other/109522] New: Spurious "cc1: error: no include path in which to search for stdc-predef.h" building a cross compiler

2023-04-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109522 Bug ID: 109522 Summary: Spurious "cc1: error: no include path in which to search for stdc-predef.h" building a cross compiler Product: gcc Version: 13.0 Status: UNCONFIR

[Bug other/109522] Spurious "cc1: error: no include path in which to search for stdc-predef.h" building a cross compiler

2023-04-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109522 --- Comment #2 from Xi Ruoyao --- (In reply to Jakub Jelinek from comment #1) > I bet we really don't need the macros from stdc-predef.h, so perhaps we > could use -nostdinc. > stdc-predef.h currently (sometimes) predefines > __STDC_IEC_559__ >

[Bug other/109522] Spurious "cc1: error: no include path in which to search for stdc-predef.h" building a cross compiler

2023-04-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109522 Xi Ruoyao changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug c++/21038] report unmatched brace as a note

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

[Bug c/109526] New: Broken type name for anonymous struct containing a VLA member in diagnostic message

2023-04-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109526 Bug ID: 109526 Summary: Broken type name for anonymous struct containing a VLA member in diagnostic message Product: gcc Version: 13.0 Status: UNCONFIRMED Seve

[Bug c/109542] bad detection of null dereferance cause ud2a in valid inline function code

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

[Bug c/109542] bad detection of null dereferance cause ud2a in valid inline function code

2023-04-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109542 --- Comment #4 from Xi Ruoyao --- (In reply to Amos Maimon from comment #3) > 1. the same will occur if you will do : > p[0xe] = 0xfc; Yes, it's undefined behavior too as C defines a[b] as *(a+b). > 2. how do you explin the fact that if th

[Bug target/109465] LoongArch: The expansion of memcpy is slow and bloated for some sizes

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

[Bug c++/109554] Compiler generates incorrect code when the function declared with returned parameterm but no 'return' in its body

2023-04-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109554 --- Comment #2 from Xi Ruoyao --- And it's clearly documented in https://gcc.gnu.org/gcc-8/changes.html: Flowing off the end of a non-void function is considered unreachable and may be subject to optimization on that basis. As a result of this

[Bug c/109553] Atomic operations vs const locations

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

[Bug c/109553] Atomic operations vs const locations

2023-04-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109553 --- Comment #4 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #3) > Note I disagree with load_uint32_t having a warning. the pointer might be > have a const qualifier on it does not mean the location is const overall. And the doc di

[Bug tree-optimization/109590] array-bounds does not warn about address 0x0 dereference

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

[Bug tree-optimization/109590] array-bounds does not warn about address 0x0 dereference

2023-04-22 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109590 --- Comment #4 from Xi Ruoyao --- (In reply to Jonny Grant from comment #2) > (In reply to Andrew Pinski from comment #1) > > There is -Wnull-dereference for this ... > > I agree. I set that -Wnull-dereference in usual projects (it doesn't seem

[Bug rtl-optimization/109585] Carla/sord miscompiled with -O2 on ARM64 with flexible array member

2023-04-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109585 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #16 f

[Bug rtl-optimization/109585] [10/11/12/13/14 regression] Carla/sord miscompiled with -O2 on ARM64 with flexible array member

2023-04-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109585 Xi Ruoyao changed: What|Removed |Added Summary|Carla/sord miscompiled with |[10/11/12/13/14 regression]

[Bug c++/109633] segfault using cout after set with simple prog from cppreference.com

2023-04-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109633 Xi Ruoyao changed: What|Removed |Added Resolution|INVALID |DUPLICATE CC|

[Bug libstdc++/108969] [13/14 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol

2023-04-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 Xi Ruoyao changed: What|Removed |Added CC||bremende55 at gmail dot com --- Comment #26

[Bug other/109522] Spurious "cc1: error: no include path in which to search for stdc-predef.h" building a cross compiler

2023-05-06 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109522 Xi Ruoyao changed: What|Removed |Added Target Milestone|--- |14.0 Status|UNCONFIRMED

[Bug c/109792] New: RFE: Warn about misuse of "pure" attribute

2023-05-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109792 Bug ID: 109792 Summary: RFE: Warn about misuse of "pure" attribute Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/109792] RFE: Warn about misuse of "pure" attribute

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

[Bug target/109811] libxjl 0.7 is a lot slower in GCC 13.1 vs Clang 16

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

[Bug libstdc++/109814] freestanding using cmath does not compile anymore

2023-05-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109814 --- Comment #1 from Xi Ruoyao --- It seems a deliberate change. See PR103626.

[Bug c++/106943] GCC building clang/llvm with LTO flags causes ICE in clang

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

[Bug c++/106943] GCC building clang/llvm with LTO flags causes ICE in clang

2023-05-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106943 --- Comment #11 from Xi Ruoyao --- Is it supported to use different -flifetime-dse settings for TUs when LTO is enabled? If yes we can submit a LLVM change to add -flifetime-dse=1 for User.cpp.o and mark this MOVED.

[Bug c++/106943] GCC building clang/llvm with LTO flags causes ICE in clang

2023-05-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106943 --- Comment #16 from Xi Ruoyao --- (In reply to Alexander Monakov from comment #14) > (In reply to Jan Hubicka from comment #13) > > Indeed it is quite long time problem with clang not building with lifetime > > DSE and strict aliasing. I wonde

[Bug c++/106943] GCC building clang/llvm with LTO flags causes ICE in clang

2023-05-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106943 --- Comment #18 from Xi Ruoyao --- (In reply to Alexander Monakov from comment #12) > Is there any need to over-engineer this like that? I would hope enabling > -fno-lifetime-dse globally would not be controversial for LLVM Maybe. Should we s

[Bug c++/106943] GCC building clang/llvm with LTO flags causes ICE in clang

2023-05-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106943 --- Comment #20 from Xi Ruoyao --- (In reply to Jan Hubicka from comment #19) > > > Is there any need to over-engineer this like that? I would hope enabling > > > -fno-lifetime-dse globally would not be controversial for LLVM > > It would be re

[Bug c++/106943] GCC building clang/llvm with LTO flags causes ICE in clang

2023-05-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106943 --- Comment #28 from Xi Ruoyao --- (In reply to Alexander Monakov from comment #21) > (In reply to Xi Ruoyao from comment #18) > > Maybe. Should we send a patch? > > Yes, if we have a volunteer. I'm creating it, but from the description of th

[Bug c++/106943] GCC building clang/llvm with LTO flags causes ICE in clang

2023-05-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106943 --- Comment #29 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #28) > (In reply to Alexander Monakov from comment #21) > > (In reply to Xi Ruoyao from comment #18) > > > Maybe. Should we send a patch? > > > > Yes, if we have a voluntee

[Bug c++/106943] GCC building clang/llvm with LTO flags causes ICE in clang

2023-05-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106943 --- Comment #30 from Xi Ruoyao --- https://reviews.llvm.org/D150505.

[Bug tree-optimization/107855] gcc.dg/vect/vect-ifcvt-18.c FAILs

2023-05-13 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107855 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/109842] GCC-12 hangs on simple piece of inline assembly code

2023-05-13 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109842 Xi Ruoyao changed: What|Removed |Added Known to fail||12.1.0, 12.2.0 Known to work|

[Bug tree-optimization/109842] GCC-12 hangs on simple piece of inline assembly code

2023-05-13 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109842 Xi Ruoyao changed: What|Removed |Added Resolution|--- |FIXED Component|middle-end

[Bug c++/106943] GCC building clang/llvm with LTO flags causes ICE in clang

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

[Bug tree-optimization/109852] Making of gcc13 errors out compiling libcpp/charset.cc with Wstringop-overflow Error with "-march=native -O3 "

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

[Bug c/109863] RFE: more consistent flex array initialization: lift static storage requirement in gnu2x

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

[Bug c/109863] RFE: more consistent flex array initialization: lift static storage requirement in gnu2x

2023-05-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109863 --- Comment #2 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #1) > Note that the entire "initializing a flexible array member" thing is a GNU > extension and not supported by the standard. So GCC is free to support the > constexpr case

[Bug analyzer/109570] detect fclose on unopened or NULL files

2023-05-16 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109570 Xi Ruoyao changed: What|Removed |Added URL|https://sourceware.org/pipe |https://sourceware.org/git/

[Bug target/114590] [14 Regression] FAIL: gcc.target/i386/apx-ndd-ti-shift.c (test for excess errors)

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

[Bug c/114597] [GCC-14] Miscompilation of pointer assignment with inline assembly

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

[Bug lto/114574] [14 regression] ICE when building curl with LTO (fld_incomplete_type_of, at ipa-free-lang-data.cc:257) since r14-9763

2024-04-05 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114574 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Priorit

[Bug target/113233] LoongArch: target options from LTO objects not respected during linking

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

[Bug target/113233] LoongArch: target options from LTO objects not respected during linking

2024-04-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113233 Xi Ruoyao changed: What|Removed |Added Target Milestone|12.4|---

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

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

[Bug c++/114638] Hang and Memory Consumption Increase during Compilation with Recursive Template Instantiation

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

[Bug sanitizer/114637] Problems when compiling with both undefined and address sanitizer

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

[Bug target/110027] [11/12/13/14 regression] Misaligned vector store on detect_stack_use_after_return

2024-04-08 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110027 Xi Ruoyao changed: What|Removed |Added CC||teodor_spaeren at riseup dot net --- Comme

[Bug middle-end/93041] GCC 10 removes an infinite loop and causes a null pointer to dereferenced

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

[Bug libstdc++/114645] std::chrono::current_zone ignores $TZ on Linux

2024-04-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114645 --- Comment #10 from Xi Ruoyao --- > rust's `chrono` Note that this is really a bad example because of CVE-2020-26235.

[Bug target/113233] LoongArch: target options from LTO objects not respected during linking

2024-04-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113233 --- Comment #13 from Xi Ruoyao --- Will we back port the fix to 13 and 12?

[Bug target/113233] LoongArch: target options from LTO objects not respected during linking

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

[Bug middle-end/114700] Front-end optimization generates wrong code with -fsanitize=undefined

2024-04-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114700 Xi Ruoyao changed: What|Removed |Added Summary|Front-end optimization |Front-end optimization |g

[Bug middle-end/114700] Front-end optimization generates wrong code with -fsanitize=undefined

2024-04-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114700 --- Comment #13 from Xi Ruoyao --- And IIRC there are various suggestion saying "if you want -fwrapv, you are likely actually wanting -fsanitize=signed-integer-overflow" and some plan deprecating -fwrapv. So it's more important to fix the sanit

[Bug rust/113499] crab1 fails to link when configuring with --disable-plugin

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

[Bug c/114773] Raw string literals are not supported in C89 mode

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

[Bug c/114773] Raw string literals are not supported in C89 mode

2024-04-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114773 Xi Ruoyao changed: What|Removed |Added Resolution|FIXED |INVALID --- Comment #6 from Xi Ruoyao ---

[Bug rtl-optimization/114800] redundant set-zero when initiate a struct

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

[Bug c/114808] Qualified void return type is not diagnosed

2024-04-22 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114808 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Resolutio

[Bug demangler/114830] c++filt stack overflows in rust demangler

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

[Bug target/113235] SMHasher SHA3-256 benchmark is almost 40% slower vs. Clang (not enough complete loop peeling)

2024-04-24 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113235 --- Comment #13 from Xi Ruoyao --- (In reply to David Malcolm from comment #10) > (In reply to Jan Hubicka from comment #4) > > I keep mentioning to Larabel that he should use -fno-semantic-interposition, > > but he doesn't. > > Possibly a sill

[Bug target/114848] longarch: epilogue in _Unwind_RaiseException corrupts return value due to __builtin_eh_return

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

[Bug target/114848] loongarch: epilogue in _Unwind_RaiseException corrupts return value due to __builtin_eh_return

2024-04-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114848 Xi Ruoyao changed: What|Removed |Added Summary|longarch: epilogue in |loongarch: epilogue in |_

[Bug target/114861] New: LoongArch: Fail to build the kernel with -Os

2024-04-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114861 Bug ID: 114861 Summary: LoongArch: Fail to build the kernel with -Os Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tar

[Bug target/114861] LoongArch: ICE building the kernel with -Os

2024-04-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114861 --- Comment #1 from Xi Ruoyao --- Created attachment 58044 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58044&action=edit Preprocessed source

[Bug target/114861] LoongArch: ICE building the kernel with -Os

2024-04-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114861 Xi Ruoyao changed: What|Removed |Added Priority|P3 |P2 --- Comment #2 from Xi Ruoyao --- It se

<    1   2   3   4   5   6   7   8   9   10   >