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

2024-03-27 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 Status|REOPENED|NEW Keywords|

[Bug lto/114505] static archives built with gcc --without-zstd cause ICE when read by gcc with zstd support

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

[Bug lto/114505] static archives built with gcc --without-zstd cause ICE when read by gcc with zstd support

2024-03-27 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114505 Xi Ruoyao changed: What|Removed |Added Keywords||needs-reduction --- Comment #5 from Xi Ruoy

[Bug tree-optimization/114511] [11/12/13/14 Regression] Missed optimization: x = -y; x = c + x + y; ==> x=c;

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

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

2024-03-31 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 Resolution|---

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

2024-04-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112919 --- Comment #20 from Xi Ruoyao --- (In reply to chenglulu from comment #19) > (In reply to Xi Ruoyao from comment #18) > > (In reply to chenglulu from comment #17) > > > > > The results of spec2006 on LA464 are: > > > -falign-labels=4 -falign-f

[Bug c++/110754] assume create spurious load for volatile variable

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

[Bug middle-end/110754] assume create spurious load for volatile variable

2023-07-20 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110754 --- Comment #4 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #2) > (In reply to Xi Ruoyao from comment #1) > > Is this a bug? The standard defines accessing volatile objects as > > side-effects so it's not allowed to merge volatile

[Bug rtl-optimization/110791] [12/13/14 Regression] arm: Wrong code with -Os -march=armv8.1-m.main

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

[Bug rtl-optimization/110791] [12/13/14 Regression] arm: Wrong code with -Os -march=armv8.1-m.main

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

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

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

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

2023-07-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 Xi Ruoyao changed: What|Removed |Added Keywords||needs-bisection, |

[Bug c/110789] Internal Compiler Error: Illegal instruction

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

[Bug c/110789] Internal Compiler Error: Illegal instruction

2023-07-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110789 --- Comment #9 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #7) > If you compile GMP (MPFR and MPC) as part of GCC build rather than > seperately, the build will do the correct thing and not use the "native" > options by default. >

[Bug c/110789] Internal Compiler Error: Illegal instruction

2023-07-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110789 --- Comment #10 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #9) > (In reply to Andrew Pinski from comment #7) > > If you compile GMP (MPFR and MPC) as part of GCC build rather than > > seperately, the build will do the correct thing a

[Bug tree-optimization/110819] Missed optimization: when vector's size is 0 but vector::reserve has been called.

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

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

2023-07-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 --- Comment #9 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #8) > (In reply to CTC from comment #7) > > No errors or warnings raised and 0 alarms generated by the analysis when > > analyzed by frama-c. > > Still undefined reduced

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

2023-07-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 Xi Ruoyao changed: What|Removed |Added Summary|Segmentation fault with |[11 Regression] |'-O3 -fn

[Bug c++/110845] Function call when it should inline?

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

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

2023-07-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 --- Comment #13 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #11) > (In reply to Xi Ruoyao from comment #9) > > https://godbolt.org/z/5vr1oPExb > > > > Looks like .LC0 is not aligned but GCC 11 attempts to use movdqa to load it. >

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

2023-07-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 --- Comment #14 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #12) > Created attachment 55656 [details] > Assembly code > > The only difference between GCC 9 and GCC 10 is: > #cmpl%edx, 0 > > GCC 10 has this line uncommented.

[Bug ipa/93385] [11 Regression] wrong code with u128 modulo at -O2 -fno-dce -fno-ipa-cp -fno-tree-dce

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

[Bug bootstrap/109250] Invalid configuration `loongarch64-linux-gnu': machine `loongarch64-unknown' not recognized

2023-07-31 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109250 --- Comment #8 from Xi Ruoyao --- Should be fixed with GMP 6.3.0.

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

2023-08-04 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 Target Milestone|--- |14.0

[Bug rtl-optimization/110939] [14 Regression] 14.0 ICE at rtl.h:2297 while bootstrapping on loongarch64

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

[Bug rtl-optimization/110867] [14 Regression] ICE in combine after 7cdd0860949c6c3232e6cff1d7ca37bb5234074c

2023-08-08 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110867 Xi Ruoyao changed: What|Removed |Added CC||panchenghui at loongson dot cn --- Comment

[Bug rtl-optimization/110867] [14 Regression] ICE in combine after 7cdd0860949c6c3232e6cff1d7ca37bb5234074c

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

[Bug rtl-optimization/110939] [14 Regression] 14.0 ICE at rtl.h:2297 while bootstrapping on loongarch64

2023-08-08 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110939 Xi Ruoyao changed: What|Removed |Added Resolution|DUPLICATE |--- Ever confirmed|1

[Bug c/111058] New: __builtin_nans (and its friends) compiles to an external call to __builtin_nans for unsupported tag

2023-08-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111058 Bug ID: 111058 Summary: __builtin_nans (and its friends) compiles to an external call to __builtin_nans for unsupported tag Product: gcc Version: 14.0 Status: UNCONFIRME

[Bug c/111058] __builtin_nans (and its friends for other floating-point types) compiles to an external call to __builtin_nans for unsupported tag

2023-08-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111058 --- Comment #6 from Xi Ruoyao --- (In reply to jos...@codesourcery.com from comment #5) > We should absolutely *not* generate calls to a non-existent function > "nans" based on a long-obsolescent standard proposal. The modern way to > generat

[Bug driver/111084] Support configurable dynamic linker path

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

[Bug driver/111084] Support configurable dynamic linker path

2023-08-20 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111084 --- Comment #6 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #5) > Also buildroot uses sysroots and chroot/containers instead. > > Containers/chroot is the better approach anyways. We use sysroot and chroot since Linux From Scratc

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

2023-08-23 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 Resolution|--- |FIXED Status|NEW

[Bug rtl-optimization/111124] ICE on narrowing memory-constant comparison on loongarch

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

[Bug rtl-optimization/110939] [14 Regression] 14.0 ICE at rtl.h:2297 while bootstrapping on loongarch64

2023-08-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110939 Xi Ruoyao changed: What|Removed |Added CC||xen0n at gentoo dot org --- Comment #12 fro

[Bug rtl-optimization/110939] [14 Regression] 14.0 ICE at rtl.h:2297 while bootstrapping on loongarch64

2023-08-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110939 Xi Ruoyao changed: What|Removed |Added Priority|P3 |P1

[Bug rtl-optimization/110939] [14 Regression] 14.0 ICE at rtl.h:2297 while bootstrapping on loongarch64

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

[Bug c/111210] Wrong code at -Os on x86_64-linux-gnu since r12-4849-gf19791565d7

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

[Bug target/111171] [14 Regression] ICE: in decompose, at rtl.h:2297 at -O1 on riscv64-unknown-linux-gnu

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

[Bug tree-optimization/111221] Floating point handling a*1.0 vs. a+0.0

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

[Bug c++/111224] New: modules: xtreme-header-1_a.H etc. ICE (in core_vals, at cp/module.cc:6108) on AArch64

2023-08-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111224 Bug ID: 111224 Summary: modules: xtreme-header-1_a.H etc. ICE (in core_vals, at cp/module.cc:6108) on AArch64 Product: gcc Version: 14.0 Status: UNCONFIRMED Se

[Bug c++/111224] modules: xtreme-header-1_a.H etc. ICE (in core_vals, at cp/module.cc:6108) on AArch64

2023-08-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111224 --- Comment #1 from Xi Ruoyao --- The stack trace in g++.log: /home/xry111/git-repos/gcc/gcc/testsuite/g++.dg/modules/xtreme-header-1_a.H: internal compiler error: in core_vals, at cp/module.cc:6108 0x9563a3 trees_out::core_vals(tree_node*)

[Bug c++/111224] modules: xtreme-header-1_a.H etc. ICE (in core_vals, at cp/module.cc:6108) on AArch64

2023-08-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111224 --- Comment #2 from Xi Ruoyao --- It seems related to Glibc version.

[Bug c++/111224] modules: xtreme-header-1_a.H etc. ICE (in core_vals, at cp/module.cc:6108) on AArch64

2023-08-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111224 Xi Ruoyao changed: What|Removed |Added Keywords|needs-reduction |ice-on-valid-code --- Comment #3 from Xi Ru

[Bug c++/111224] modules: xtreme-header-1_a.H etc. ICE (in core_vals, at cp/module.cc:6108) on AArch64

2023-08-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111224 Xi Ruoyao changed: What|Removed |Added Known to fail||11.1.0, 11.4.0, 12.3.0 --- Comment #4 from

[Bug tree-optimization/111233] [14 Regression] Wrong code at -O3 on x86_64-linux-gnu since r14-2852-gf5fb9ff2396

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

[Bug target/111252] New: LoongArch: Suboptimal code for (a & ~mask) | (b & mask) where mask is a constant with value ((1 << n) - 1) << m

2023-08-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111252 Bug ID: 111252 Summary: LoongArch: Suboptimal code for (a & ~mask) | (b & mask) where mask is a constant with value ((1 << n) - 1) << m Product: gcc Version: 14.

[Bug target/111252] LoongArch: Suboptimal code for (a & ~mask) | (b & mask) where mask is a constant with value ((1 << n) - 1) << m

2023-08-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111252 Xi Ruoyao changed: What|Removed |Added CC||chenglulu at loongson dot cn,

[Bug target/111252] LoongArch: Suboptimal code for (a & ~mask) | (b & mask) where mask is a constant with value ((1 << n) - 1) << m

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

[Bug target/111252] LoongArch: Suboptimal code for (a & ~mask) | (b & mask) where mask is a constant with value ((1 << n) - 1) << m

2023-08-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111252 --- Comment #4 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #2) > Interesting: > int test(int a, int b) > { > return (a & ~0x8000) | (b & 0x8000); > } > > Produces better code: > lu12i.w $r12,-2147483648>>12

[Bug target/111252] LoongArch: Suboptimal code for (a & ~mask) | (b & mask) where mask is a constant with value ((1 << n) - 1) << m

2023-08-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111252 --- Comment #5 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #4) > Hmm, this seems a separate issue. The compiler knows to optimize (a & mask) > if mask is ((1 << a) - 1) << b iff a + b = 32 or b = 0, but not for any I mean "32 or 64

[Bug c/111256] Wrong code at -O2/3/s since r10-1615-g75efe9cb1f8

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

[Bug c/111256] Wrong code at -O2/3/s since r10-1615-g75efe9cb1f8

2023-08-31 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111256 --- Comment #2 from Xi Ruoyao --- If you don't have Clang, you can also reproduce the timeout with -ftrivial-auto-var-init=zero or -ftrivial-auto-var-init=pattern (in GCC 12 or later).

[Bug middle-end/111243] The -Og option inlines functions, making for a poor debugging experience.

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

[Bug middle-end/111243] The -Og option inlines functions, making for a poor debugging experience.

2023-09-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111243 --- Comment #9 from Xi Ruoyao --- (In reply to Alex Mohr from comment #8) > (In reply to Jonathan Wakely from comment #5) > > A 4x slowdown isn't really acceptable IMHO. At that point, why not just use > > -O0 instead? > > I've been using -O0 f

[Bug middle-end/111243] The -Og option inlines functions, making for a poor debugging experience.

2023-09-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111243 --- Comment #11 from Xi Ruoyao --- (In reply to Alex Mohr from comment #10) > (In reply to Xi Ruoyao from comment #9) > > I believe the only real issue is imprecise documentation: "It is a better > > choice than -O0" has some caveats and it's no

[Bug c/111319] Wrong code at -O2 on x86_64-linux-gnu

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

[Bug target/111252] LoongArch: Suboptimal code for (a & ~mask) | (b & mask) where mask is a constant with value ((1 << n) - 1) << m

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

[Bug libstdc++/111323] [RISC_V]with CFLAGS +=-std=gnu11 "unknown relocation type 57" observed during Insmod

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

[Bug libstdc++/111315] libstdc++ stacktrace testsuite failures with --enable-default-pie

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

[Bug libstdc++/111315] libstdc++ stacktrace testsuite failures with --enable-default-pie

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

[Bug target/111334] ICE is reported during the combine pass optimization

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

[Bug target/111334] ICE is reported during the combine pass optimization

2023-09-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111334 --- Comment #6 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #5) > (In reply to chenglulu from comment #3) > > This involves the template di3_fake: > > (define_insn "di3_fake" > > [(set (match_operand:DI 0 "register_operand" "=r,&r,&r

[Bug target/111334] [14 regression] ICE is reported during the combine pass optimization

2023-09-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111334 Xi Ruoyao changed: What|Removed |Added Target Milestone|--- |14.0 Summary|ICE is reported dur

[Bug target/111334] [14 regression] ICE is reported during the combine pass optimization

2023-09-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111334 --- Comment #9 from Xi Ruoyao --- (In reply to chenglulu from comment #7) > (In reply to Xi Ruoyao from comment #6) > > (In reply to Xi Ruoyao from comment #5) > > > (In reply to chenglulu from comment #3) > > > > This involves the template di3_

[Bug target/111334] [14 regression] ICE is reported during the combine pass optimization

2023-09-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111334 --- Comment #10 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #9) > (define_insn "di3_fake" >[(set (match_operand:DI 0 "register_operand" "=r,&r,&r") > - (sign_extend:DI > - (any_div:SI (match_operand:DI 1 "register_oper

[Bug target/111334] [14 regression] ICE is reported during the combine pass optimization

2023-09-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111334 --- Comment #12 from Xi Ruoyao --- (In reply to chenglulu from comment #11) > (In reply to Xi Ruoyao from comment #10) > > (In reply to Xi Ruoyao from comment #9) > > > > > (define_insn "di3_fake" > > >[(set (match_operand:DI 0 "register_o

[Bug target/111334] [14 regression] ICE is reported during the combine pass optimization

2023-09-08 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111334 --- Comment #14 from Xi Ruoyao --- I'm trying diff --git a/gcc/config/loongarch/loongarch.md b/gcc/config/loongarch/loongarch.md index 75f641b38ee..44d9b99b2f5 100644 --- a/gcc/config/loongarch/loongarch.md +++ b/gcc/config/loongarch/loongarch.

[Bug target/111334] [14 regression] ICE is reported during the combine pass optimization

2023-09-08 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111334 --- Comment #15 from Xi Ruoyao --- (In reply to chenglulu from comment #13) > (In reply to Xi Ruoyao from comment #12) > > (In reply to chenglulu from comment #11) > > > (In reply to Xi Ruoyao from comment #10) > > > > (In reply to Xi Ruoyao fro

[Bug tree-optimization/111336] [14 Regression] Wrong code at -O2/3 since r14-2472-g14b10ff30ad

2023-09-08 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111336 Xi Ruoyao changed: What|Removed |Added Summary|Wrong code at -O2/3 since |[14 Regression] Wrong code

[Bug tree-optimization/111336] [14 Regression] Wrong code at -O2/3 since r14-2472-g14b10ff30ad

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

[Bug target/111334] [14 regression] ICE is reported during the combine pass optimization

2023-09-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111334 --- Comment #17 from Xi Ruoyao --- I think the proper description should be: diff --git a/gcc/config/loongarch/loongarch.md b/gcc/config/loongarch/loongarch.md index 75f641b38ee..000d17b0ba6 100644 --- a/gcc/config/loongarch/loongarch.md +++ b/

[Bug target/111334] [14 regression] ICE is reported during the combine pass optimization

2023-09-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111334 --- Comment #19 from Xi Ruoyao --- (In reply to chenglulu from comment #18) > This problem has been fixed on LA664. > I don't quite understand why this operation is still needed in !TARGET_64BIT? It's not needed with !TARGET_64BIT. I just mea

[Bug c++/111356] Segmentation fault when compiling large static data structure

2023-09-10 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111356 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Known to wor

[Bug c++/111356] Segmentation fault when compiling large static data structure

2023-09-10 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111356 --- Comment #4 from Xi Ruoyao --- BTW it works with 13.2.0 with "ulimit -s 131072" too, so it's a stack usage issue.

[Bug tree-optimization/111365] Wrong code at -O3 since r13-1268-g8c99e307b20

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

[Bug tree-optimization/111365] Wrong code at -O3 since r13-1268-g8c99e307b20

2023-09-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111365 --- Comment #2 from Xi Ruoyao --- int a, c, d, e = -1233286202, f = -1233286202; ... if (l <= 0 || &c + l > &d) I suppose this is invoking undefined behavior.

[Bug tree-optimization/111365] Wrong code at -O3 since r13-1268-g8c99e307b20

2023-09-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111365 --- Comment #3 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #2) > int a, c, d, e = -1233286202, f = -1233286202; > > ... > > if (l <= 0 || &c + l > &d) > > I suppose this is invoking undefined behavior. Nope, the problematic &c + l

[Bug tree-optimization/111365] Wrong code at -O3 since r13-1268-g8c99e307b20

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

[Bug tree-optimization/111383] Wrong code at -Os on x86_64-linux-gnu since r12-5138-ge82c382971

2023-09-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111383 Xi Ruoyao changed: What|Removed |Added Component|c |tree-optimization CC|

[Bug c++/111379] comparison between unequal pointers to void should be illegal during constant evaluation

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

[Bug c++/111379] comparison between unequal pointers to void should be illegal during constant evaluation

2023-09-13 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111379 --- Comment #3 from Xi Ruoyao --- If CWG 2749 is accepted we should just close this as WONTFIX.

[Bug target/111403] New: LoongArch: Wrong code with -O -mlasx -fopenmp-simd

2023-09-13 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111403 Bug ID: 111403 Summary: LoongArch: Wrong code with -O -mlasx -fopenmp-simd Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/111403] LoongArch: Wrong code with -O -mlasx -fopenmp-simd

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

[Bug c/111405] Problem with incorrect optimizion for "constexpr" function with possible overflow

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

[Bug tree-optimization/111393] ICE: Segmentation fault src/gcc/toplev.cc:314

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

[Bug target/111424] New: LoongArch: Enable vect test suite

2023-09-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111424 Bug ID: 111424 Summary: LoongArch: Enable vect test suite Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target

[Bug tree-optimization/111472] Wrong code at -Os on x86_64-linux-gnu since r11-4563-gd0d8b5d836

2023-09-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111472 Xi Ruoyao changed: What|Removed |Added Component|c |tree-optimization --- Comment #1 from Xi Ru

[Bug tree-optimization/111472] [11/12/13/14 Regression] Wrong code at -Os on x86_64-linux-gnu since r11-4563-gd0d8b5d836

2023-09-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111472 Xi Ruoyao changed: What|Removed |Added Ever confirmed|0 |1 Summary|Wrong code at -Os on

[Bug fortran/107716] Getting negative values with NINT when using doubleprecision values in range on i386

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

[Bug target/110622] x87: Miscompilation at O2 level (O1 is working)

2023-09-21 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110622 --- Comment #15 from Xi Ruoyao --- (In reply to Mathieu Malaterre from comment #14) > (In reply to Andrew Pinski from comment #13) > > (In reply to Mathieu Malaterre from comment #12) > > > I am seeing a difference in result (log1p computation)

[Bug c++/111569] Problem finding in Library functions with parametres: 32, 8 , 32 Bits

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

[Bug target/108575] Bug in gcc arm non eabi

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

[Bug middle-end/109967] [11/12/13/14 Regression] Wrong code at -O2 on x86_64-linux-gnu

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

[Bug middle-end/109967] [11/12/13/14 Regression] Wrong code at -O2 on x86_64-linux-gnu

2023-09-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109967 Xi Ruoyao changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/111231] armhf: Miscompilation with -O2/-fno-exceptions level (-O2 is working)

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

[Bug middle-end/111646] cos function giving different result for the same input value

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

[Bug middle-end/111646] cos function giving different result for the same input value

2023-10-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111646 --- Comment #5 from Xi Ruoyao --- (In reply to vishwambhar.rathi from comment #4) > I am not using any optimization flag in compiling. Where should I post about > this bug? Thanks. I don't know because maybe this is a Glibc issue or a QEMU issu

[Bug rtl-optimization/110939] [14 Regression] 14.0 ICE at rtl.h:2297 while bootstrapping on loongarch64

2023-10-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110939 --- Comment #13 from Xi Ruoyao --- The patch is pushed. I'm running a bootstrap and I'll close this PR after it successes.

[Bug bootstrap/111642] [14 Regression] bootstrap4 or profiledbootstrap failure: poly-int.h:453:5: error: too many initializers for ‘long int [1]’ (possibly since r14-4339-geaa41a6dc127d8)

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

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