[Bug tree-optimization/111355] [14 Regression] ICE on valid code at -O1 and above: in lower_bound, at value-range.h:1078

2023-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111355 --- Comment #3 from CVS Commits --- The master branch has been updated by Jiu Fu Guo : https://gcc.gnu.org/g:4d80863d7f93c0a839d1fe5dc59be83153e89110 commit r14-4192-g4d80863d7f93c0a839d1fe5dc59be83153e89110 Author: Jiufu Guo Date: Wed Sep

[Bug tree-optimization/111495] [14 regression] ICE in lower_bound, at value-range.h:1078 when building LLVM 17.0.1

2023-09-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111495 --- Comment #1 from Sam James --- Created attachment 55956 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55956=edit reduced.ii Attached minimised reproducer fails with -O3, works with -O2, per original.

[Bug modula2/111510] New: Modula-2 runtime ICE on arm-linux-gnueabihf: iso/RTentity.mod:245:in findChildAndParent has caused internal runtime error, RTentity is either corrupt or the module storage ha

2023-09-20 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111510 Bug ID: 111510 Summary: Modula-2 runtime ICE on arm-linux-gnueabihf: iso/RTentity.mod:245:in findChildAndParent has caused internal runtime error, RTentity is either corrupt or

[Bug target/111450] RISC-V: Missed optimized for strided load/store with stride = element width

2023-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111450 --- Comment #1 from CVS Commits --- The master branch has been updated by Li Xu : https://gcc.gnu.org/g:47065ff360292c683670efb96df4b61f57dc1d9a commit r14-4190-g47065ff360292c683670efb96df4b61f57dc1d9a Author: xuli Date: Thu Sep 21

[Bug tree-optimization/111456] [14 Regression] Dead Code Elimination Regression since r14-3719-gb34f3736356

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111456 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug ipa/108007] [11/12/13/14 Regression] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 --- Comment #14 from Andrew Pinski --- *** Bug 111507 has been marked as a duplicate of this bug. ***

[Bug c/111507] Floating point exception with '-O3'

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111507 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug ipa/108007] [11/12/13/14 Regression] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 --- Comment #13 from Andrew Pinski --- *** Bug 111509 has been marked as a duplicate of this bug. ***

[Bug c/111509] Floating point exception with '-O3 -fno-dce -fno-inline-small-functions -fno-tree-dce -fno-tree-dominator-opts -fno-tree-dse'

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111509 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug ipa/108007] [11/12/13/14 Regression] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 --- Comment #12 from Andrew Pinski --- *** Bug 111508 has been marked as a duplicate of this bug. ***

[Bug c/111508] Floating point exception with '-O3 -fno-dce -fno-early-inlining -fno-tree-dce -fno-tree-dse'

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111508 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c/111509] Floating point exception with '-O3 -fno-dce -fno-inline-small-functions -fno-tree-dce -fno-tree-dominator-opts -fno-tree-dse'

2023-09-20 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111509 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55955 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55955=edit The compiler output

[Bug c/111509] New: Floating point exception with '-O3 -fno-dce -fno-inline-small-functions -fno-tree-dce -fno-tree-dominator-opts -fno-tree-dse'

2023-09-20 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111509 Bug ID: 111509 Summary: Floating point exception with '-O3 -fno-dce -fno-inline-small-functions -fno-tree-dce -fno-tree-dominator-opts -fno-tree-dse' Product: gcc

[Bug c/111508] Floating point exception with '-O3 -fno-dce -fno-early-inlining -fno-tree-dce -fno-tree-dse'

2023-09-20 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111508 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55953 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55953=edit The compiler output

[Bug c/111508] New: Floating point exception with '-O3 -fno-dce -fno-early-inlining -fno-tree-dce -fno-tree-dse'

2023-09-20 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111508 Bug ID: 111508 Summary: Floating point exception with '-O3 -fno-dce -fno-early-inlining -fno-tree-dce -fno-tree-dse' Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c/111507] Floating point exception with '-O3'

2023-09-20 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111507 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55951 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55951=edit The compiler output

[Bug c/111507] New: Floating point exception with '-O3'

2023-09-20 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111507 Bug ID: 111507 Summary: Floating point exception with '-O3' Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/111506] New: RISC-V: Failed to vectorize conversion from INT64 -> _Float16

2023-09-20 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111506 Bug ID: 111506 Summary: RISC-V: Failed to vectorize conversion from INT64 -> _Float16 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/106164] (a > b) & (a >= b) does not get optimized until reassoc1

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106164 --- Comment #21 from Andrew Pinski --- (In reply to Andrew Pinski from comment #18) > I think the only thing left is supporting floating point. Another testcase for integer but with a nop_conversion: ``` int f(int a) { unsigned b = a;

[Bug tree-optimization/111456] [14 Regression] Dead Code Elimination Regression since r14-3719-gb34f3736356

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111456 --- Comment #5 from Andrew Pinski --- Just a quick note, --param=logical-op-non-short-circuit=0 also allows the missed optimization to no longer to be missed.

[Bug c++/111504] compare operator not defined for recursive data types on C++20

2023-09-20 Thread xgao at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111504 --- Comment #2 from Xiang Gao --- (In reply to Andrew Pinski from comment #1) > Fails for the same reason with clang (both with libstdc++ and libc++) > > Are you sure this is valid C++ 20 code? I am not 100% sure, but my understanding

[Bug middle-end/111505] Asan (address-sanitizer) bootstrap fails since r14-4003-geaa8e8541349df

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

[Bug bootstrap/111505] New: Asan (address-sanitizer) bootstrap fails since r14-4003-geaa8e8541349df

2023-09-20 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111505 Bug ID: 111505 Summary: Asan (address-sanitizer) bootstrap fails since r14-4003-geaa8e8541349df Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug c++/111504] compare operator not defined for recursive data types on C++20

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111504 --- Comment #1 from Andrew Pinski --- Fails for the same reason with clang (both with libstdc++ and libc++) Are you sure this is valid C++ 20 code?

[Bug preprocessor/90400] _Pragma not always expanded in the right location within macros

2023-09-20 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90400 Lewis Hyatt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug preprocessor/61474] ICE (segfault) in preprocessor

2023-09-20 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61474 Lewis Hyatt changed: What|Removed |Added CC||lhyatt at gcc dot gnu.org

[Bug preprocessor/90400] _Pragma not always expanded in the right location within macros

2023-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90400 --- Comment #9 from CVS Commits --- The master branch has been updated by Lewis Hyatt : https://gcc.gnu.org/g:d8e08ba9396b1f7da50011468f260250b7afaab7 commit r14-4186-gd8e08ba9396b1f7da50011468f260250b7afaab7 Author: Lewis Hyatt Date: Fri

[Bug preprocessor/61474] ICE (segfault) in preprocessor

2023-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61474 --- Comment #3 from CVS Commits --- The master branch has been updated by Lewis Hyatt : https://gcc.gnu.org/g:601dbf2a799f691688dfe78250b5bea2717b5b5e commit r14-4185-g601dbf2a799f691688dfe78250b5bea2717b5b5e Author: Lewis Hyatt Date: Fri

[Bug c++/111504] New: compare operator not defined for recursive data types on C++20

2023-09-20 Thread xgao at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111504 Bug ID: 111504 Summary: compare operator not defined for recursive data types on C++20 Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal

[Bug middle-end/111502] Suboptimal unaligned 2/4-byte memcpy on strict-align targets

2023-09-20 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111502 --- Comment #6 from Andrew Waterman --- Ack, I misunderstood your earlier message. You're of course right that the load/load/shift/or sequence is preferable to the load/load/store/store/load sequence, on just about any practical

[Bug fortran/111503] New: Issues with POINTER, OPTIONAL, CONTIGUOUS dummy arguments

2023-09-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111503 Bug ID: 111503 Summary: Issues with POINTER, OPTIONAL, CONTIGUOUS dummy arguments Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/111502] Suboptimal unaligned 2/4-byte memcpy on strict-align targets

2023-09-20 Thread lasse.collin at tukaani dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111502 --- Comment #5 from Lasse Collin --- If I understood correctly, PR 50417 is about wishing that GCC would infer that a pointer given to memcpy has alignment higher than one. In my examples the alignment of the uint8_t *b argument is one and thus

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

2023-09-20 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107716 --- Comment #6 from Steve Kargl --- On Wed, Sep 20, 2023 at 07:07:37PM +, mikael at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107716 > > --- Comment #5 from Mikael Morin --- > (In reply to kargl from comment

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization

2023-09-20 Thread gnu.arne at wgboome dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 --- Comment #2 from Luke --- (In reply to Andrew Pinski from comment #1) > Can you attach (compilible) examples code for each issue? Really these > should be filed seperately too. do u mean, i should file 3 further bug reports? i try examples

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

2023-09-20 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107716 Mikael Morin changed: What|Removed |Added CC||mikael at gcc dot gnu.org --- Comment

[Bug middle-end/111502] Suboptimal unaligned 2/4-byte memcpy on strict-align targets

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111502 Andrew Pinski changed: What|Removed |Added Depends on||50417 --- Comment #4 from Andrew

[Bug middle-end/111502] Suboptimal unaligned 2/4-byte memcpy on strict-align targets

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111502 Andrew Pinski changed: What|Removed |Added Component|target |middle-end --- Comment #3 from Andrew

[Bug target/111502] Suboptimal unaligned 2/4-byte memcpy on strict-align targets

2023-09-20 Thread lasse.collin at tukaani dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111502 --- Comment #2 from Lasse Collin --- Byte access by default is good when the compiler doesn't know if unaligned is fast on the target processor. There is no disagreement here. What I suspect is a bug is the instruction sequence used for byte

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

2023-09-20 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107716 --- Comment #4 from kargl at gcc dot gnu.org --- What the heck does "RESOLVED MOVED"?

[Bug tree-optimization/111502] Suboptimal unaligned 2/4-byte memcpy on strict-align targets

2023-09-20 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111502 Andrew Waterman changed: What|Removed |Added CC||andrew at sifive dot com --- Comment

[Bug tree-optimization/111502] New: Suboptimal unaligned 2/4-byte memcpy on strict-align targets

2023-09-20 Thread lasse.collin at tukaani dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111502 Bug ID: 111502 Summary: Suboptimal unaligned 2/4-byte memcpy on strict-align targets Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/111493] [concepts] multidimensional subscript operator inside requires is broken

2023-09-20 Thread elrodc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111493 --- Comment #2 from Chris Elrod --- Note that it also shows up in gcc-13. I put gcc-14 as the version to indicate that I confirmed it is still a problem on latest trunk. Not sure what the policy is on which version we should report.

[Bug middle-end/111483] [14 Regression] ICE in to_sreal, at profile-count.cc:472

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

[Bug middle-end/111054] [14 Regression] ICE: in to_sreal, at profile-count.cc:472 with -O3 -fno-guess-branch-probability

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111054 Andrew Pinski changed: What|Removed |Added CC||19373742 at buaa dot edu.cn ---

[Bug c++/103524] [meta-bug] modules issue

2023-09-20 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 104993, which changed state. Bug 104993 Summary: [modules] Missing diagnostic when exporting using-directive https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104993 What|Removed |Added

[Bug c++/104993] [modules] Missing diagnostic when exporting using-directive

2023-09-20 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104993 Johel Ernesto Guerrero Peña changed: What|Removed |Added Resolution|--- |FIXED

[Bug target/111501] RISC-V: non-optimal casting when shifting

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111501 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug target/111501] RISC-V: non-optimal casting when shifting

2023-09-20 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111501 palmer at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2023-09-20

[Bug c++/111496] Optimizer issue when reinitializing an object of a standard-layout class with a trivial copy constructor and a trivial destructor but with padding bytes

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111496 Andrew Pinski changed: What|Removed |Added Summary|Optimizer issue when|Optimizer issue when

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #42 from CVS Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:27282dc0931484c31fa391772499d878afcc746a commit r14-4179-g27282dc0931484c31fa391772499d878afcc746a Author: Juzhe-Zhong Date: Wed

[Bug c/111501] New: RISC-V: non-optimal casting when shifting

2023-09-20 Thread charlie at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111501 Bug ID: 111501 Summary: RISC-V: non-optimal casting when shifting Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/111500] [arm-none-eabi-gcc] / suboptimal optimization

2023-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 Andrew Pinski changed: What|Removed |Added Component|c |target Status|UNCONFIRMED

[Bug c++/111471] Incorrect NTTP printing in the error messages

2023-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111471 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:75c4b0cde4835b45350da0a5cd82f1d1a0a7a2f1 commit r14-4178-g75c4b0cde4835b45350da0a5cd82f1d1a0a7a2f1 Author: Patrick Palka Date:

[Bug target/111481] MacOS, linker issues with Xcode 15

2023-09-20 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111481 Iain Sandoe changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/111481] MacOS, linker issues with Xcode 15

2023-09-20 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111481 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org,

[Bug c++/111499] std::vector less operator< doesn't compile with optimization due to __builtin_memcmp

2023-09-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111499 --- Comment #4 from Jonathan Wakely --- (In reply to Michal Lachowicz from comment #2) > N.B. Bug exists on current release gcc 13.2 Yes, but you're still not using the devel/omp/gcc-12 branch from Git.

[Bug c++/111499] std::vector less operator< doesn't compile with optimization due to __builtin_memcmp

2023-09-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111499 --- Comment #3 from Jonathan Wakely --- The only reason it doesn't compile is because you explicitly told the compiler to make it not compile. This is just a warning, not an error.

[Bug c++/111499] std::vector less operator< doesn't compile with optimization due to __builtin_memcmp

2023-09-20 Thread mlachowicz at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111499 --- Comment #2 from Michal Lachowicz --- N.B. Bug exists on current release gcc 13.2 https://godbolt.org/z/zeKbhPY4r

[Bug c++/111499] std::vector less operator< doesn't compile with optimization due to __builtin_memcmp

2023-09-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111499 --- Comment #1 from Jonathan Wakely --- N.B. the version is 12.2.0, you're not using the devel/omp/gcc-12 branch in Git.

[Bug c/111500] New: [arm-none-eabi-gcc] / suboptimal optimization

2023-09-20 Thread gnu.arne at wgboome dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111500 Bug ID: 111500 Summary: [arm-none-eabi-gcc] / suboptimal optimization Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

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

2023-09-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111497 --- Comment #3 from Jakub Jelinek --- When comparing RTL dump files between r247719 and r247721, ira dump is pretty much the same (just printed compiler pointers in the dump change), while reload dump has lots of changes including this pseudo

[Bug c++/111499] New: std::vector less operator< doesn't compile with optimalisation due to __builtin_memcmp

2023-09-20 Thread mlachowicz at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111499 Bug ID: 111499 Summary: std::vector less operator< doesn't compile with optimalisation due to __builtin_memcmp Product: gcc Version: og12 (devel/omp/gcc-12) Status:

[Bug tree-optimization/111498] New: 951% profile quality regression between g:93996cfb308ffc63 (2023-09-18 03:40) and g:95d2ce05fb32e663 (2023-09-19 03:22)

2023-09-20 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111498 Bug ID: 111498 Summary: 951% profile quality regression between g:93996cfb308ffc63 (2023-09-18 03:40) and g:95d2ce05fb32e663 (2023-09-19 03:22) Product: gcc

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

2023-09-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111497 Jakub Jelinek changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org ---

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

2023-09-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111497 --- Comment #1 from Jakub Jelinek --- Testcase: class A; struct B { const char *b1; int b2; }; struct C : B { C (const char *x, int y) { b1 = x; b2 = y; } }; struct D : C { D (B x) : C (x.b1, x.b2) {} }; struct E { E (A *); }; struct F : E { D

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

2023-09-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111497 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Priority|P3

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

2023-09-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111497 Bug ID: 111497 Summary: [11/12/13/14 Regression] ICE building mariadb on i686 since r8-470 Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal

[Bug ipa/108007] [11/12/13/14 Regression] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu

2023-09-20 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 Martin Jambor changed: What|Removed |Added CC||19373742 at buaa dot edu.cn ---

[Bug ipa/111490] [12/13/14 Regression] runtime Segmentation fault with '-O3 -fno-dce -fno-tree-dce -fno-tree-dse -fno-tree-sink'

2023-09-20 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111490 Martin Jambor changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug target/103100] [11/12/13/14 Regression] unaligned access generated with memset or {} and -O2 -mstrict-align

2023-09-20 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103100 --- Comment #24 from Wilco --- Patch to avoid emitting unaligned LDP/STP with -mstrict-align: https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631022.html

[Bug c++/111496] New: Optimizer issue when reinitializing an object of a standard-layout class with a trivial copy constructor and a trivial destructor

2023-09-20 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111496 Bug ID: 111496 Summary: Optimizer issue when reinitializing an object of a standard-layout class with a trivial copy constructor and a trivial destructor Product: gcc

[Bug c++/111493] [concepts] multidimensional subscript operator inside requires is broken

2023-09-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111493 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug tree-optimization/111495] [14 regression] ICE in lower_bound, at value-range.h:1078 when building LLVM 17.0.1

2023-09-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111495 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/111495] New: [14 regression] ICE in lower_bound, at value-range.h:1078 when building LLVM 17.0.1

2023-09-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
ind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --without-isl --enable-default-pie --enable-host-pie --disable-host-bind-now --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20230920 (experimen

[Bug target/111411] [14 regression] ICE when building opus-1.4, unrecognizable insn with -fstack-protector-strong

2023-09-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111411 Richard Sandiford changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/111411] [14 regression] ICE when building opus-1.4, unrecognizable insn with -fstack-protector-strong

2023-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111411 --- Comment #14 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:74f99f1adc696f446115f36974a3f94f66294a53 commit r12-9886-g74f99f1adc696f446115f36974a3f94f66294a53 Author: Richard

[Bug target/111411] [14 regression] ICE when building opus-1.4, unrecognizable insn with -fstack-protector-strong

2023-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111411 --- Comment #13 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:4bb1ae3c13ce4fb72129229de66f5ffbcd45fe4c commit r13-7827-g4bb1ae3c13ce4fb72129229de66f5ffbcd45fe4c Author: Richard

[Bug tree-optimization/111494] Signed overflow introduced by vectorizer

2023-09-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111494 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/111489] [12/13 Regression] Incorrect "-Wmaybe-uninitialized" warning from GCC 13.2.0

2023-09-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111489 Richard Biener changed: What|Removed |Added Known to fail||12.3.0, 13.2.0

[Bug tree-optimization/111489] Incorrect "-Wmaybe-uninitialized" warning from GCC 13.2.0

2023-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111489 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b8a2a12464d25c45a51c14a025e8e2d3ca8ebeb0 commit r14-4170-gb8a2a12464d25c45a51c14a025e8e2d3ca8ebeb0 Author: Richard Biener Date:

[Bug tree-optimization/111494] New: Signed overflow introduced by vectorizer

2023-09-20 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111494 Bug ID: 111494 Summary: Signed overflow introduced by vectorizer Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/111493] New: [concepts] multidimensional subscript operator inside requires is broken

2023-09-20 Thread elrodc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111493 Bug ID: 111493 Summary: [concepts] multidimensional subscript operator inside requires is broken Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug c++/111392] Implement omp::decl attribute support for C++

2023-09-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111392 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/111489] Incorrect "-Wmaybe-uninitialized" warning from GCC 13.2.0

2023-09-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111489 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug c++/111392] Implement omp::decl attribute support for C++

2023-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111392 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:04b2fb5bb644f172879a02e8374ad50b669e3d6d commit r14-4167-g04b2fb5bb644f172879a02e8374ad50b669e3d6d Author: Jakub Jelinek Date:

[Bug tree-optimization/111489] Incorrect "-Wmaybe-uninitialized" warning from GCC 13.2.0

2023-09-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111489 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/90293] New function attribute: expect_return

2023-09-20 Thread zev+gccbug at bewilderbeest dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90293 --- Comment #4 from Zev Weiss --- I have no idea about the relative ease of implementation, but might it at least partially suffice for the compiler to propagate the information provided by __builtin_expect() beyond the expression it appears in?

[Bug target/111488] ICE ion riscv gcc.dg/vect/vect-126.c

2023-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111488 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Lehua Ding : https://gcc.gnu.org/g:d024a31a09d18d2586769602205a60ff3afe568c commit r14-4166-gd024a31a09d18d2586769602205a60ff3afe568c Author: Lehua Ding Date: Wed Sep

[Bug debug/111409] Invalid .debug_macro.dwo macro information for split DWARF

2023-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111409 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:80048aa13a6b55d2be485000840a4e1c8b57d8e7 commit r14-4165-g80048aa13a6b55d2be485000840a4e1c8b57d8e7 Author: Omar Sandoval Date:

[Bug target/111486] [14 Regression] ICE: in require, at machmode.h:313 with -O2 -march=rv64iv

2023-09-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111486 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0