[Bug tree-optimization/111595] New: detection of MIN/MAX with truncation and sign change for the result

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111595 Bug ID: 111595 Summary: detection of MIN/MAX with truncation and sign change for the result Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug middle-end/111594] RISC-V: Failed to fold VEC_COND_EXPR and COND_LEN_ADD

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111594 --- Comment #4 from Andrew Pinski --- (In reply to JuzheZhong from comment #3) > (In reply to Andrew Pinski from comment #1) > > The SVE one was added with r12-4402-g62b505a4d5fc89: > > ``` > > /* Detect simplication for a conditional reduction

[Bug middle-end/111594] RISC-V: Failed to fold VEC_COND_EXPR and COND_LEN_ADD

2023-09-25 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111594 --- Comment #3 from JuzheZhong --- (In reply to Andrew Pinski from comment #1) > The SVE one was added with r12-4402-g62b505a4d5fc89: > ``` > /* Detect simplication for a conditional reduction where > >a = mask1 ? b : 0 >c = mask2 ? d

[Bug middle-end/111594] RISC-V: Failed to fold VEC_COND_EXPR and COND_LEN_ADD

2023-09-25 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111594 --- Comment #2 from JuzheZhong --- Oh, I see. Thanks a lot! I will have a try.

[Bug middle-end/111594] RISC-V: Failed to fold VEC_COND_EXPR and COND_LEN_ADD

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111594 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal

[Bug c/111594] New: RISC-V: Failed to fold VEC_COND_EXPR and COND_LEN_ADD

2023-09-25 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111594 Bug ID: 111594 Summary: RISC-V: Failed to fold VEC_COND_EXPR and COND_LEN_ADD Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/111533] [14 Regression] ICE: RTL check: expected code 'reg', have 'const_int' in rhs_regno, at rtl.h:1934

2023-09-25 Thread xuli1 at eswincomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111533 --- Comment #3 from xuli1 at eswincomputing dot com --- The problem has been reproduced, thank you.

[Bug middle-end/110148] [14 Regression] TSVC s242 regression between g:c0df96b3cda5738afbba3a65bb054183c5cd5530 and g:e4c986fde56a6248f8fbe6cf0704e1da34b055d8

2023-09-25 Thread lili.cui at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110148 --- Comment #7 from cuilili --- (In reply to Martin Jambor from comment #6) > I believe this has been fixed? Yes.

[Bug target/111545] [14 Regression] RISC-V gfortran.dg/host_assoc_function_7.f09 Illegal instruction error

2023-09-25 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111545 --- Comment #4 from JuzheZhong --- Confirm this is the latent bug in VSETVL PASS which is already existed for a long time. Lehua is working on refactoring Phase 1 and Phase 2 of VSETVL PASS which will fix all potential issues of VSETVL PASS.

[Bug middle-end/94267] Missed folding of _MEM_REF

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94267 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > Right now we depend on not doing the folding, PR 110702. Well rather we depend on not folding *(_MEM_REF) ...

[Bug middle-end/94267] Missed folding of _MEM_REF

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94267 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/111497] [11/12/13/14 Regression] ICE building mariadb on i686 since r8-470

2023-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111497 --- Comment #5 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:3c23defed384cf17518ad6c817d94463a445d21b commit r14-4256-g3c23defed384cf17518ad6c817d94463a445d21b Author: Vladimir N. Makarov

[Bug libstdc++/111588] Provide opt-out of shared_ptr single-threaded optimization

2023-09-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111588 --- Comment #2 from Jonathan Wakely --- This needs numbers, not opinions.

[Bug target/111593] New: wrong code for 128-bit multiplication on MIPS64R6

2023-09-25 Thread mikulas at artax dot karlin.mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111593 Bug ID: 111593 Summary: wrong code for 128-bit multiplication on MIPS64R6 Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug gcov-profile/110827] C++20 coroutines aren't being measured by gcov

2023-09-25 Thread mwd at md5i dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110827 --- Comment #10 from Michael Duggan --- To sum up what I have figured out, C++ transforms the coroutine "function" into a trio of functions: a ramp function, an actor function, and a destruction function. The ramp function acts as the actual

[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 fortran/59298] ICE when initialising PARAMETER array of derived-type (containing an array) using array constructor

2023-09-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59298 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/84693] scalar DT not broadcast across an array in an initialization expression

2023-09-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84693 Bug 84693 depends on bug 59298, which changed state. Bug 59298 Summary: ICE when initialising PARAMETER array of derived-type (containing an array) using array constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59298 What

[Bug target/111570] -march=generic prints error

2023-09-25 Thread brjd_epdjq36 at kygur dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111570 --- Comment #2 from Brjd --- Thank you and I also read this guide. My point is that the generic arch might be possible in theory. If the gcc builds for the oldest CPU with x86_64, is it possible that code will run on all modern CPU since their

[Bug target/109166] Built-in __atomic_test_and_set does not seem to be atomic on ARMv4T

2023-09-25 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109166 --- Comment #9 from Hans-Peter Nilsson --- (In reply to Richard Earnshaw from comment #8) > I'm going to close this as WONTFIX. I guess I'll have to find another PR to lean on, for fixing the underlying cause for the nonatomic code.

[Bug target/104831] RISCV libatomic LR.aq/SC.rl pair insufficient for SEQ_CST

2023-09-25 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104831 Patrick O'Neill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/111533] [14 Regression] ICE: RTL check: expected code 'reg', have 'const_int' in rhs_regno, at rtl.h:1934

2023-09-25 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111533 --- Comment #2 from Patrick O'Neill --- Hi, I believe the issue is that you're using rv64gc, not rv64gcv. I haven't tried building with multilib, so my commands are: ../configure --with-arch=rv64gcv --with-abi=lp64d --enable-gcc-checking=rtl

[Bug target/111546] [14 Regression] ICE: gfortran.dg/overload_5.f90:53:2: internal compiler error: in emit_move_insn, at expr.cc:4219 since r14-4163-gbea89f78f2f

2023-09-25 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111546 Patrick O'Neill changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/111592] [11/12/13/14 Regression] ICE on expanding argument pack into variadic constructor

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111592 Andrew Pinski changed: What|Removed |Added Summary|ICE on expanding argument |[11/12/13/14 Regression]

[Bug libstdc++/111588] Provide opt-out of shared_ptr single-threaded optimization

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111588 --- Comment #1 from Andrew Pinski --- >for programs that know they are effectively always multithreaded they pay for >a runtime branch and .text segment bloat for an optimization that never >applies. The bloat is not much and the overhead

[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

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-09-25 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 Mathieu Malaterre changed: What|Removed |Added Known to work||11.4.0 --- Comment #5 from Mathieu

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-09-25 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 Mathieu Malaterre changed: What|Removed |Added Known to work||10.5.0 --- Comment #4 from Mathieu

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

2023-09-25 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109967 --- Comment #7 from Shaohua Li --- This test case does not reproduce anymore on the current trunk. Maybe one of the recent fixes fixed the underlying issue as well.

[Bug modula2/111530] Unable to build GM2 standard library on BSD due to a `getopt_long_only' GNU extension dependency

2023-09-25 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111530 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c++/111592] New: ICE on expanding argument pack into variadic constructor

2023-09-25 Thread yankel-pro at scialom dot org via Gcc-bugs
constructor. $ g++ --version g++ (Compiler-Explorer-Build-gcc-1eb80f78f114f6582c349f75e08b361a0a582091-binutils-2.40) 14.0.0 20230925 (experimental) $ cat source struct ignore { ignore(...) {} }; template void InternalCompilerError(Args... args) { ignore{ ignore(args) ... }; } int main

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-09-25 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #3 from Mathieu Malaterre --- I can make the upstream code fails using g++-11 / g++-12 version (Debian/sid).

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-09-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 Richard Biener changed: What|Removed |Added Keywords||needs-bisection --- Comment #2 from

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-09-25 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #1 from Mathieu Malaterre --- Created attachment 55989 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55989=edit cvise reduced test case % g++ -std=c++11 -o works -DHWY_COMPILE_ONLY_EMU128 -DHWY_BROKEN_EMU128=0 -maltivec

[Bug target/111591] New: ppc64be: miscompilation with -mstrict-align / -O3

2023-09-25 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 Bug ID: 111591 Summary: ppc64be: miscompilation with -mstrict-align / -O3 Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/111590] New: RISC-V: Multiple ICE in gfortran regression with 'V' Extension enabled

2023-09-25 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111590 Bug ID: 111590 Summary: RISC-V: Multiple ICE in gfortran regression with 'V' Extension enabled Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/109166] Built-in __atomic_test_and_set does not seem to be atomic on ARMv4T

2023-09-25 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109166 Richard Earnshaw changed: What|Removed |Added Resolution|--- |WONTFIX Status|NEW

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization / subs followed by cmp (et alii)

2023-09-25 Thread cptarse-luke at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 Luke changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug rtl-optimization/104773] compare with 1 not merged with subtract 1

2023-09-25 Thread cptarse-luke at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104773 Luke changed: What|Removed |Added CC||cptarse-luke at yahoo dot com --- Comment #3

[Bug target/111522] Different code path for static initialization with flto

2023-09-25 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111522 --- Comment #10 from Mathieu Malaterre --- for reference: % c++ --verbose -O2 -flto base2.cc && ./a.out Using built-in specs. COLLECT_GCC=c++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc64le-linux-gnu/13/lto-wrapper

[Bug target/111522] Different code path for static initialization with flto

2023-09-25 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111522 --- Comment #9 from Mathieu Malaterre --- If you download pr111522.cc from comment #8, you should be able to reproduce exactly the original upstream issue. Steps: % c++ -O2 -flto pr111522.cc && ./a.out vs % c++ -O2 pr111522.cc && ./a.out

[Bug target/111522] Different code path for static initialization with flto

2023-09-25 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111522 --- Comment #8 from Mathieu Malaterre --- Created attachment 55988 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55988=edit gcc -E -P

[Bug target/111522] Different code path for static initialization with flto

2023-09-25 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111522 --- Comment #7 from Mathieu Malaterre --- Created attachment 55987 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55987=edit gcc -E -P

[Bug target/104611] memcmp/strcmp/strncmp can be optimized when the result is tested for [in]equality with 0 on aarch64

2023-09-25 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104611 Mathias Stearn changed: What|Removed |Added CC||redbeard0531 at gmail dot com ---

[Bug tree-optimization/111563] Missed optimization of LICM

2023-09-25 Thread 652023330028 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111563 --- Comment #5 from Yi <652023330028 at smail dot nju.edu.cn> --- (In reply to Andrew Pinski from comment #3) > So this is again reassociation with LIM, the same issue as PR 111560. For this similar code, GCC works as expected:

[Bug libstdc++/111589] New: Use relaxed atomic increment (but not decrement!) in shared_ptr

2023-09-25 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111589 Bug ID: 111589 Summary: Use relaxed atomic increment (but not decrement!) in shared_ptr Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug libstdc++/111588] New: Provide opt-out of shared_ptr single-threaded optimization

2023-09-25 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111588 Bug ID: 111588 Summary: Provide opt-out of shared_ptr single-threaded optimization Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/104831] RISCV libatomic LR.aq/SC.rl pair insufficient for SEQ_CST

2023-09-25 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104831 palmer at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |patrick at rivosinc

[Bug target/111522] Different code path for static initialization with flto

2023-09-25 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111522 --- Comment #6 from Mathieu Malaterre --- (In reply to Andrew Pinski from comment #5) > (In reply to Mathieu Malaterre from comment #4) > > > So the original > > > (upstream) code is somewhat buggy as it rely on lazy init for global var. > > >

[Bug ipa/59948] Optimize std::function

2023-09-25 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59948 --- Comment #8 from Jan Hubicka --- Trunk optimized stuff return 0, but fails to optimize out functions which becomes unused after indirect inlining. With -fno-early-inlining we end up with: int m () { void * D.48296; int __args#0; struct

[Bug c++/111512] GCC's __builtin_memcpy can trigger ADL

2023-09-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111512 --- Comment #3 from Jonathan Wakely --- The library has a workaround, but the front end still does unwanted ADL for __builtin_memcpy (and probably other built-ins).

[Bug libstdc++/111511] Incorrect ADL in std::to_array in GCC 11/12/13

2023-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111511 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:77cf3773021b0a20d89623e09d620747a05588ec commit r14-4252-g77cf3773021b0a20d89623e09d620747a05588ec Author: Jonathan Wakely

[Bug c++/111512] GCC's __builtin_memcpy can trigger ADL

2023-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111512 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:77cf3773021b0a20d89623e09d620747a05588ec commit r14-4252-g77cf3773021b0a20d89623e09d620747a05588ec Author: Jonathan Wakely

[Bug tree-optimization/110982] (unsigned)(signed_char) != (unsigned)-1 is never changed back into signed_char != -1

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110982 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/111570] -march=generic prints error

2023-09-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111570 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-09-25

[Bug target/111584] [aarch64] Redundant movprfx with ptrue

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111584 --- Comment #1 from Andrew Pinski --- Created attachment 55986 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55986=edit Full testcase `-march=armv8.2-a+sve -O2 -msve-vector-bits=256`

[Bug tree-optimization/111583] [13/14 Regression] Wrong code at -Os on x86_64-linux-gnu since r13-3281-g6cc3394507

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111583 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c/111584] New: [aarch64] Redundant movprfx with ptrue

2023-09-25 Thread zhongyunde at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111584 Bug ID: 111584 Summary: [aarch64] Redundant movprfx with ptrue Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization / subs followed by cmp (et alii)

2023-09-25 Thread cptarse-luke at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 --- Comment #7 from Luke --- (In reply to Andrew Pinski from comment #6) > (In reply to Andrew Pinski from comment #5) > > This is most likely a dup of bug 104773. > > Or of bug 3507. i concur... but i do not know which one to choose... they

[Bug tree-optimization/111583] [13/14 Regression] Wrong code at -Os on x86_64-linux-gnu since r13-3281-g6cc3394507

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111583 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.3

[Bug tree-optimization/111583] New: [13/14 Regression] Wrong code at -Os on x86_64-linux-gnu since r13-3281-g6cc3394507

2023-09-25 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111583 Bug ID: 111583 Summary: [13/14 Regression] Wrong code at -Os on x86_64-linux-gnu since r13-3281-g6cc3394507 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/111522] Different code path for static initialization with flto

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111522 --- Comment #5 from Andrew Pinski --- (In reply to Mathieu Malaterre from comment #4) > > So the original > > (upstream) code is somewhat buggy as it rely on lazy init for global var. > > Those global vars are in different namespace, I

[Bug target/111522] Different code path for static initialization with flto

2023-09-25 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111522 --- Comment #4 from Mathieu Malaterre --- > So the original > (upstream) code is somewhat buggy as it rely on lazy init for global var. Those global vars are in different namespace, I actually fail to underwhat why the definition with

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization / subs followed by cmp (et alii)

2023-09-25 Thread cptarse-luke at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 Bug 111500 depends on bug 111581, which changed state. Bug 111581 Summary: [arm-none-eabi-gcc] / suboptimal optimization / uxth/sxth https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111581 What|Removed |Added

[Bug rtl-optimization/60749] combine is overly cautious when operating on volatile memory references

2023-09-25 Thread cptarse-luke at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60749 Luke changed: What|Removed |Added CC||cptarse-luke at yahoo dot com --- Comment #3

[Bug target/111581] [arm-none-eabi-gcc] / suboptimal optimization / uxth/sxth

2023-09-25 Thread cptarse-luke at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111581 Luke changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/110386] [11/12/13 Regression] ICE with ABSU in backprop

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110386 Andrew Pinski changed: What|Removed |Added Summary|[11/12/13/14 Regression]|[11/12/13 Regression] ICE

[Bug tree-optimization/110386] [11/12/13/14 Regression] ICE with ABSU in backprop

2023-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110386 --- Comment #8 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:2bbac12ea7bd8a3eef5382e1b13f6019df4ec03f commit r14-4249-g2bbac12ea7bd8a3eef5382e1b13f6019df4ec03f Author: Andrew Pinski Date:

[Bug target/111522] Different code path for static initialization with flto

2023-09-25 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111522 --- Comment #3 from Mathieu Malaterre --- For reference: * https://github.com/google/highway/commit/fea3dba9cfec3a74ddcd8ecac3a5d4d8429191e4

[Bug target/111522] Different code path for static initialization with flto

2023-09-25 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111522 --- Comment #2 from Mathieu Malaterre --- (In reply to Andrew Pinski from comment #1) > I think this is just broken code. > > It does: > #define HWY_BEFORE_NAMESPACE() > \ >

[Bug ada/111578] GNAT ada.textio.setline gives incorrect result

2023-09-25 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111578 Eric Botcazou changed: What|Removed |Added Resolution|--- |INVALID CC|

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization / subs followed by cmp (et alii)

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > This is most likely a dup of bug 104773. Or of bug 3507.

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization / subs followed by cmp (et alii)

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 --- Comment #5 from Andrew Pinski --- (In reply to Luke from comment #4) > the a.i file for example #1a is: > # 1 "a.c" > # 1 "/tmp//" > # 1 "" > # 1 "" > # 1 "a.c" > void artiSUBS() { > for (int i=100; i>0; i--) > *(volatile int*)0xE000E014

[Bug target/111582] [arm-none-eabi-gcc] / suboptimal optimization / bitfield / superfluous stack write

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111582 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Fixed in GCC 10. artiSP: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization / subs followed by cmp (et alii)

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 Bug 111500 depends on bug 111582, which changed state. Bug 111582 Summary: [arm-none-eabi-gcc] / suboptimal optimization / bitfield / superfluous stack write https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111582 What|Removed

[Bug target/111582] [arm-none-eabi-gcc] / suboptimal optimization / bitfield / superfluous stack write

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111582 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0 Resolution|---

[Bug target/111581] [arm-none-eabi-gcc] / suboptimal optimization / uxth/sxth

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111581 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug ada/111579] gnatpp error at start

2023-09-25 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111579 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/40499] [missed optimization] branch to return not threaded on thumb

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40499 Andrew Pinski changed: What|Removed |Added CC||cptarse-luke at yahoo dot com ---

[Bug target/111580] [arm-none-eabi-gcc] / suboptimal optimization / b.n to bx lr

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111580 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization / subs followed by cmp (et alii)

2023-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 Bug 111500 depends on bug 111580, which changed state. Bug 111580 Summary: [arm-none-eabi-gcc] / suboptimal optimization / b.n to bx lr https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111580 What|Removed |Added

[Bug target/111581] [arm-none-eabi-gcc] / suboptimal optimization / uxth/sxth

2023-09-25 Thread cptarse-luke at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111581 --- Comment #1 from Luke --- in the unsigned case: furthermore the ldrh already cleared the high half-word, so that a uxth would be superfluous, even if there would be a subsequent str...

[Bug target/111582] New: [arm-none-eabi-gcc] / suboptimal optimization / bitfield / superfluous stack write

2023-09-25 Thread cptarse-luke at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111582 Bug ID: 111582 Summary: [arm-none-eabi-gcc] / suboptimal optimization / bitfield / superfluous stack write Product: gcc Version: 9.3.0 Status: UNCONFIRMED

[Bug middle-end/111548] RISC-V Vector: ICE in validate_change_or_fail (vsetvl pass)

2023-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111548 --- Comment #1 from CVS Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:9d5f20fc4a6b3254d2d379309193da4be2747987 commit r14-4248-g9d5f20fc4a6b3254d2d379309193da4be2747987 Author: Juzhe-Zhong Date: Sun Sep