[Bug c/117574] New: Miscompile with -O2/3 and -O0/1

2024-11-13 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117574 Bug ID: 117574 Summary: Miscompile with -O2/3 and -O0/1 Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Ass

[Bug target/117573] RISC-V target -O2 generates Misaligned Access despite -mstrict-align

2024-11-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117573 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-11-14 Status|UNCONFIRM

[Bug c/117573] New: RISC-V target -O2 generates Misaligned Access despite -mstrict-align

2024-11-13 Thread jasmin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117573 Bug ID: 117573 Summary: RISC-V target -O2 generates Misaligned Access despite -mstrict-align Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/87576] Warnings (array-bounds,stringop-overflow) emitted on branch never taken

2024-11-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87576 Sam James changed: What|Removed |Added Known to work||12.4.1 Known to fail|

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 Sam James changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug target/117495] ICE: in extract_insn, at recog.cc:2882 (unrecognizable insn) with -ffast-math -mavx10.2-512 and __bf16 compare int

2024-11-13 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117495 Hongtao Liu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/117495] ICE: in extract_insn, at recog.cc:2882 (unrecognizable insn) with -ffast-math -mavx10.2-512 and __bf16 compare int

2024-11-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117495 --- Comment #1 from GCC Commits --- The master branch has been updated by Hongyu Wang : https://gcc.gnu.org/g:19b24f4aae6c59d70cc882623b1e9b279b3872f3 commit r15-5225-g19b24f4aae6c59d70cc882623b1e9b279b3872f3 Author: Hongyu Wang Date: Tue N

[Bug tree-optimization/117572] New: Missing optimization after SCCP due to rewriting for overflow

2024-11-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117572 Bug ID: 117572 Summary: Missing optimization after SCCP due to rewriting for overflow Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimizat

[Bug middle-end/117426] [14/15 Regression] Miscompile with different optimization flags

2024-11-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117426 --- Comment #8 from Andrew Pinski --- With my current version of the fix (https://forge.sourceware.org/gcc/gcc-TEST/pulls/21) we get: ``` var ssa address cache _386 refers to: o _388 refers to: o _390 refers to: o _391 re

[Bug libstdc++/111861] ranges::min/max should not use `auto __result = *__first;`

2024-11-13 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111861 --- Comment #4 from 康桓瑋 --- (In reply to Patrick Palka from comment #3) > (In reply to 康桓瑋 from comment #2) > > (In reply to Patrick Palka from comment #1) > > > Interesting, I guess 'auto x = *iter;' should never be done in generic > > > code

[Bug c/117164] ICE building gcc.dg/nested-func-12.c with -std=gnu23

2024-11-13 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117164 --- Comment #5 from Joseph S. Myers --- Slightly simplified test (note that only one nested function is needed, and none of the calls to it actually use the return value - but all three calls are needed to get the ICE). The special options from

[Bug tree-optimization/117556] [15 Regression] gcc.dg/vect/vect-live-slp-3.c fails to SLP with variable-length vectors

2024-11-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117556 Andrew Pinski changed: What|Removed |Added Summary|gcc.dg/vect/vect-live-slp-3 |[15 Regression] |.c f

[Bug target/117547] FAIL: gcc.target/i386/*-pr93673.c without TARGET_PROMOTE_PROTOTYPES

2024-11-13 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117547 H.J. Lu changed: What|Removed |Added Last reconfirmed||2024-11-13 Ever confirmed|0

[Bug fortran/117474] Excessive memory usage during parser stage in interface blocks with types having type-bound procedures

2024-11-13 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117474 --- Comment #7 from Rimvydas (RJ) --- (In reply to anlauf from comment #6) > > OK, this is really a memory hog. > > Replacing the many "use phys_base_mod, only : phys_base" by a simple > > import > > in the interfaces after putting > >

[Bug fortran/117474] Excessive memory usage during parser stage in interface blocks with types having type-bound procedures

2024-11-13 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117474 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |NEW --- Comment #6 from anla

[Bug target/117547] FAIL: gcc.target/i386/*-pr93673.c without TARGET_PROMOTE_PROTOTYPES

2024-11-13 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117547 --- Comment #3 from H.J. Lu --- (In reply to Richard Biener from comment #2) > I think the error is with const_0_to_255_operand which seems to operate > without context of the mode a VOIDmode CONST_INT is need to be interpreted > with. Alternat

[Bug target/116591] internal compiler error: in extract_insn when compiling for risc-v xtheadvector

2024-11-13 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116591 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/117539] Pure procedure and intent(out) polymorphic pointer argument

2024-11-13 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117539 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |INVALID Status|W

[Bug fortran/104819] Reject NULL without MOLD as actual to an assumed-rank dummy

2024-11-13 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104819 --- Comment #15 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #14) > Created attachment 59582 [details] > Patch handling testcase in comment#13 Improved version submitted: https://gcc.gnu.org/pipermail/fortran/2024-Novembe

[Bug target/116591] internal compiler error: in extract_insn when compiling for risc-v xtheadvector

2024-11-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116591 --- Comment #4 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:8564d0948c72df0a66d7eb47e15c6ab43e9b25ce commit r15-5224-g8564d0948c72df0a66d7eb47e15c6ab43e9b25ce Author: Jin Ma Date: Wed Nov 13 15

[Bug libgcc/70800] libgcc/config/libbid/bid_binarydecimal.c: suspicious comparison ? (missed -Wtautological-compare)

2024-11-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70800 --- Comment #8 from Andrew Pinski --- (In reply to Eric Gallager from comment #5) > (In reply to David Binderman from comment #0) > > trunk/libgcc/config/libbid/bid_binarydecimal.c:143934]: (style) Expression > > '(X & 0x) > 0xf423f' is alway

[Bug target/116594] [meta-bug] xtheadvector brokeness

2024-11-13 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116594 Bug 116594 depends on bug 116591, which changed state. Bug 116591 Summary: internal compiler error: in extract_insn when compiling for risc-v xtheadvector https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116591 What|Removed

[Bug libgcc/70800] libgcc/config/libbid/bid_binarydecimal.c: suspicious comparison ? (missed -Wtautological-compare)

2024-11-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70800 --- Comment #9 from Andrew Pinski --- (In reply to David Binderman from comment #6) > (In reply to Eric Gallager from comment #5) > > > keeping bug open for the enhancement to -Wtautological-compare > > I tried out the code in comment 1 on rece

[Bug libgcc/70800] libgcc/config/libbid/bid_binarydecimal.c: suspicious comparison ? (missed -Wtautological-compare)

2024-11-13 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70800 --- Comment #7 from Eric Gallager --- Does someone want to bisect to find when exactly the fix arrived, or should we just close this?

[Bug libstdc++/112803] : to(Args&&... args) is missing Mandates

2024-11-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112803 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/117474] Excessive memory usage during parser stage in interface blocks with types having type-bound procedures

2024-11-13 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117474 --- Comment #4 from Rimvydas (RJ) --- Created attachment 59594 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59594&action=edit module import tester inside interface blocks

[Bug fortran/117474] Excessive memory usage during parser stage in interface blocks with types having type-bound procedures

2024-11-13 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117474 --- Comment #5 from Rimvydas (RJ) --- Added initial hand-reduced reproducer. It took quite a few iterations to carefully cut out many small parts of original case while trying to preserve original observed behavior of memory and walltime usage.

[Bug libstdc++/117560] std::views::zip incompatible with std::filesystem::directory_iterator & std::views::transform

2024-11-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117560 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|NEW

[Bug libstdc++/117541] vector::insert_range should not use ranges::copy

2024-11-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117541 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/117474] Excessive memory usage during parser stage in interface blocks with types having type-bound procedures

2024-11-13 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117474 --- Comment #3 from Rimvydas (RJ) --- Created attachment 59593 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59593&action=edit reproducer Just module files

[Bug libstdc++/101228] tbb/task.h is Deprecated in newer TBB.

2024-11-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101228 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/101228] tbb/task.h is Deprecated in newer TBB.

2024-11-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101228 --- Comment #18 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3e2b297b0bb77317e759a180a5d4b701f6e5e6e4 commit r13-9185-g3e2b297b0bb77317e759a180a5d4b701f6e5e6e4 Author: Jonathan Wak

[Bug middle-end/117571] [15 Regression] ICE: in lower_stmt, at gimple-lower-bitint.cc:5714 at -O1 with _BitInt() shift and divide

2024-11-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117571 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Target Mil

[Bug middle-end/117571] New: [15 Regression] ICE: in lower_stmt, at gimple-lower-bitint.cc:5714 at -O1 with _BitInt() shift and divide

2024-11-13 Thread zsojka at seznam dot cz via Gcc-bugs
-libsanitizer --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r15-5201-20241113154216-g5a674367c6d-checking-yes-rtl-df-extra-nobootstrap-pr112398revert-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241113 (experimental) (GCC)

[Bug c/117059] Enhancement: Make -Wzero-as-null-pointer-constant available in C

2024-11-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117059 Sam James changed: What|Removed |Added Target Milestone|--- |15.0 Assignee|unassigned at gcc d

[Bug libstdc++/115285] [12/13/14 Regression] std::unordered_set can have duplicate value

2024-11-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285 --- Comment #18 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ce2cf1f03295b7992a8e3eae3c703845f045db27 commit r15-5213-gce2cf1f03295b7992a8e3eae3c703845f045db27 Author: Jonathan Wakely Date

[Bug libstdc++/96088] Range insertion into unordered_map is less effective than a loop with insertion

2024-11-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96088 --- Comment #10 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ce2cf1f03295b7992a8e3eae3c703845f045db27 commit r15-5213-gce2cf1f03295b7992a8e3eae3c703845f045db27 Author: Jonathan Wakely Date:

[Bug libstdc++/117560] std::views::zip incompatible with std::filesystem::directory_iterator & std::views::transform

2024-11-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117560 Patrick Palka changed: What|Removed |Added Last reconfirmed||2024-11-13 Status|UNCONFIRM

[Bug c/117059] Enhancement: Make -Wzero-as-null-pointer-constant available in C

2024-11-13 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117059 --- Comment #8 from Alejandro Colomar --- Several years don't buy us much. I think having it for 1 release will already make it better. Further than 1 release gives us not much value; especially if there's no release notes that say that it wil

[Bug libgcc/70800] libgcc/config/libbid/bid_binarydecimal.c: suspicious comparison ? (missed -Wtautological-compare)

2024-11-13 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70800 --- Comment #6 from David Binderman --- (In reply to Eric Gallager from comment #5) > keeping bug open for the enhancement to -Wtautological-compare I tried out the code in comment 1 on recent gcc trunk and the problem seems to be fixed: Alpha

[Bug rtl-optimization/117191] [avr][dse2][lra] wrong dead store elimination

2024-11-13 Thread denisc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117191 --- Comment #10 from denisc at gcc dot gnu.org --- Proposed patch. I just mark a CLOBBER insn with pseudo spilled to memory for removing it later together with LRA temporary CLOBBER insns. The patch is simple. On x86_64, it bootstraps+regtests

[Bug middle-end/117546] [14 regression] Different (and incorrect) behavior when compiling C code with -O2

2024-11-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 Sam James changed: What|Removed |Added Keywords|needs-reduction | Last reconfirmed|

[Bug fortran/117539] Pure procedure and intent(out) polymorphic pointer argument

2024-11-13 Thread gronki at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117539 --- Comment #3 from Dominik Gronkiewicz --- Turns out, the behavior of gfortran is consistent with the standard, as it is a gateway open left for implementing garbage collection (details in the discourse thread). So with this development I think

[Bug c/117059] Enhancement: Make -Wzero-as-null-pointer-constant available in C

2024-11-13 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117059 --- Comment #7 from Joseph S. Myers --- How about the gnulib manywarnings module for a few years first, which would cover various gnulib-using projects that like a high level of warnings, and then consider -Wextra?

[Bug c/43374] ICE with __builtin_isinf() and _Decimal argument

2024-11-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43374 --- Comment #8 from Andrew Pinski --- (In reply to Roman Kononov from comment #3) > This looks related. > > $ cat test.c > _Decimal64 func() { > return 9e384dd + 9e384dd; > } > > $ gcc -c test.c > test.c: In function 'func': > test.c:2:3: int

[Bug c/43374] ICE with __builtin_isinf() and _Decimal argument

2024-11-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43374 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/117570] DFP ICE in build_real

2024-11-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117570 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c/43374] ICE with __builtin_isinf() and _Decimal argument

2024-11-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43374 Andrew Pinski changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug middle-end/117570] New: DFP ICE in build_real

2024-11-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117570 Bug ID: 117570 Summary: DFP ICE in build_real Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assig

[Bug ada/117569] New: Predicate involving array indexing won’t compile in generic

2024-11-13 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117569 Bug ID: 117569 Summary: Predicate involving array indexing won’t compile in generic Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal P

[Bug tree-optimization/117567] New: [15 Regression] ICE: segfault during GIMPLE pass: vect

2024-11-13 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117567 Bug ID: 117567 Summary: [15 Regression] ICE: segfault during GIMPLE pass: vect Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug target/117568] New: z13: Use vector instructions for fixed length memcmp

2024-11-13 Thread jens.seifert at de dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117568 Bug ID: 117568 Summary: z13: Use vector instructions for fixed length memcmp Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug tree-optimization/117553] [15 regression] stage2 ada compiler miscompiled after r15-5069-g32cf28ccc9e77c

2024-11-13 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117553 --- Comment #5 from Andreas Schwab --- Yes, it does.

[Bug c++/105595] Coroutines can trigger -Wsubobject-linkage

2024-11-13 Thread dennis-hezel at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105595 --- Comment #9 from dennis-hezel at gmx dot de --- Yes it is also true for functions in anon namespace inside header. Again, I am not so concerned with getting all of those scenarios perfectly fixed. Like you were saying, it probably requires som

[Bug target/117564] a-comp.c:649:1: internal compiler error: in plus_constant, at explow.cc:102

2024-11-13 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117564 John David Anglin changed: What|Removed |Added Component|middle-end |target --- Comment #1 from John Dav

[Bug target/117565] New: RISC-V: Make ABI implicit for non-default march

2024-11-13 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117565 Bug ID: 117565 Summary: RISC-V: Make ABI implicit for non-default march Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/117553] [15 regression] stage2 ada compiler miscompiled after r15-5069-g32cf28ccc9e77c

2024-11-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117553 --- Comment #4 from Richard Biener --- Does https://gcc.gnu.org/pipermail/gcc-patches/2024-November/668600.html by chance fix it?

[Bug target/117566] New: RISC-V: Enable VLS tests in testsuite for various targets

2024-11-13 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117566 Bug ID: 117566 Summary: RISC-V: Enable VLS tests in testsuite for various targets Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pri

[Bug target/112980] 64-bit powerpc ELFv2 does not allow nops to be generated before function global entry point

2024-11-13 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112980 --- Comment #21 from Michael Matz --- I've posted a version of Kewens patch that moves the wanted functionality under a new target option: https://gcc.gnu.org/pipermail/gcc-patches/2024-November/668608.html (in the hope that that's getting a

[Bug c/117059] Enhancement: Make -Wzero-as-null-pointer-constant available in C

2024-11-13 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117059 --- Comment #6 from Alejandro Colomar --- Hmm, okay, Wextra as a first step makes sense. How about one release in Wextra, and then move it to Wall? As for ISO C, I'm not sure if ISO is a good place to start the deprecation. I don't like ISO i

[Bug target/56504] -mveclibabi=... Support AMD's LibM 3.0 (sucessor of ACML)

2024-11-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56504 --- Comment #6 from Sam James --- It'd be reasonable to close this one and file a new one for the remaining enhancements. That way, e.g. people see in the list of closed bugs for 15.0 that some progress was made on it, and so on. But it's up to y

[Bug target/56504] -mveclibabi=... Support AMD's LibM 3.0 (sucessor of ACML)

2024-11-13 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56504 Filip Kastl changed: What|Removed |Added CC||pheeck at gcc dot gnu.org --- Comment #5 f

[Bug middle-end/117564] New: a-comp.c:649:1: internal compiler error: in plus_constant, at explow.cc:102

2024-11-13 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117564 Bug ID: 117564 Summary: a-comp.c:649:1: internal compiler error: in plus_constant, at explow.cc:102 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: no

[Bug target/56504] -mveclibabi=... Support AMD's LibM 3.0 (sucessor of ACML)

2024-11-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56504 --- Comment #4 from GCC Commits --- The master branch has been updated by Filip Kastl : https://gcc.gnu.org/g:99ec0eb32a03506142f30c158276b4131aa73fe8 commit r15-5204-g99ec0eb32a03506142f30c158276b4131aa73fe8 Author: Filip Kastl Date: Wed No

[Bug target/117563] New: RISC-V: -mcpu is ignored when -march has been specified.

2024-11-13 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117563 Bug ID: 117563 Summary: RISC-V: -mcpu is ignored when -march has been specified. Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Prio

[Bug target/117525] [15 Regression] canvas.cc:1675:1: internal compiler error: in expand_fix, at optabs.cc:5952 since r15-2890

2024-11-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117525 --- Comment #11 from GCC Commits --- The master branch has been updated by John David Anglin : https://gcc.gnu.org/g:0342d024ff9af258df3bc8a23c9e999bea6be3e0 commit r15-5203-g0342d024ff9af258df3bc8a23c9e999bea6be3e0 Author: John David Anglin

[Bug target/117562] [15 Regression] 40% slowdown of 482.sphinx3 on Zen4, Zen5 since r15-5120-g9a62c149589103

2024-11-13 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117562 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/117562] New: [15 Regression] 40% slowdown of 482.sphinx3 on Zen4, Zen5 since r15-5120-g9a62c149589103

2024-11-13 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117562 Bug ID: 117562 Summary: [15 Regression] 40% slowdown of 482.sphinx3 on Zen4, Zen5 since r15-5120-g9a62c149589103 Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/117525] [15 Regression] canvas.cc:1675:1: internal compiler error: in expand_fix, at optabs.cc:5952 since r15-2890

2024-11-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117525 --- Comment #12 from GCC Commits --- The releases/gcc-14 branch has been updated by John David Anglin : https://gcc.gnu.org/g:39b0fb9bbcf49fc7a7c97c9efbc4453e1593b536 commit r14-10926-g39b0fb9bbcf49fc7a7c97c9efbc4453e1593b536 Author: John Davi

[Bug target/117561] New: z13/z14 Please add a scalar_test_data_class builtin

2024-11-13 Thread jens.seifert at de dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117561 Bug ID: 117561 Summary: z13/z14 Please add a scalar_test_data_class builtin Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c/117059] Enhancement: Make -Wzero-as-null-pointer-constant available in C

2024-11-13 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117059 --- Comment #5 from uecker at gcc dot gnu.org --- While I personally would like to have this warning in -Wall, and also want to see 0 as null pointer constant be deprecated, I think it is too early. At this time, it is not deprecated (I have a d

[Bug target/117525] [15 Regression] canvas.cc:1675:1: internal compiler error: in expand_fix, at optabs.cc:5952 since r15-2890

2024-11-13 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117525 John David Anglin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/117525] [15 Regression] canvas.cc:1675:1: internal compiler error: in expand_fix, at optabs.cc:5952 since r15-2890

2024-11-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117525 --- Comment #14 from GCC Commits --- The releases/gcc-12 branch has been updated by John David Anglin : https://gcc.gnu.org/g:424bd4c3d14473c18850e7366804e761fc0b03de commit r12-10814-g424bd4c3d14473c18850e7366804e761fc0b03de Author: John Davi

[Bug target/117525] [15 Regression] canvas.cc:1675:1: internal compiler error: in expand_fix, at optabs.cc:5952 since r15-2890

2024-11-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117525 --- Comment #13 from GCC Commits --- The releases/gcc-13 branch has been updated by John David Anglin : https://gcc.gnu.org/g:4ac301e399ceff496646fc8da06ad423521b7a29 commit r13-9184-g4ac301e399ceff496646fc8da06ad423521b7a29 Author: John David

[Bug tree-optimization/117554] [15 Regression] ICE building 538.imagick_r with SVE -msve-vector-bits=128

2024-11-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117554 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED CC|

[Bug tree-optimization/117553] [15 regression] stage2 ada compiler miscompiled after r15-5069-g32cf28ccc9e77c

2024-11-13 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117553 --- Comment #3 from Andreas Schwab --- Indeed, bootstrapping with -fno-vect-cost-model fails the same way.

[Bug libstdc++/117560] std::views::zip incompatible with std::filesystem::directory_iterator & std::views::transform

2024-11-13 Thread ralph.ursprung at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117560 --- Comment #2 from Ralph Ursprung --- Created attachment 59590 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59590&action=edit test case which compiles fine (without views::transform)

[Bug libstdc++/117560] std::views::zip incompatible with std::filesystem::directory_iterator & std::views::transform

2024-11-13 Thread ralph.ursprung at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117560 --- Comment #1 from Ralph Ursprung --- Created attachment 59589 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59589&action=edit test case which compiles fine (using views::single, not filesystem)

[Bug tree-optimization/117557] [15 Regression] gcc_r miscompiles in SPECCPU 2017 with SVE2 since g:3d498cfe022f6e035ff24e0d78ff744da83ebf42

2024-11-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117557 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Target Mi

[Bug modula2/117555] [15 regression] libgm2 build failure after r15-5081-g95960cd473297c

2024-11-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117555 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug libstdc++/117560] New: std::views::zip incompatible with std::filesystem::directory_iterator & std::views::transform

2024-11-13 Thread ralph.ursprung at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117560 Bug ID: 117560 Summary: std::views::zip incompatible with std::filesystem::directory_iterator & std::views::transform Product: gcc Version: 14.2.0 St

[Bug libstdc++/111861] ranges::min/max should not use `auto __result = *__first;`

2024-11-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111861 --- Comment #3 from Patrick Palka --- (In reply to 康桓瑋 from comment #2) > (In reply to Patrick Palka from comment #1) > > Interesting, I guess 'auto x = *iter;' should never be done in generic code > > then? > > Yap, even 'range_value_t x = *it

[Bug c/113905] [OpenMP] Declare variant rejects variant-function re-usage

2024-11-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113905 --- Comment #5 from Tobias Burnus --- I have asked at OpenMP.org's lang mailing list. Alex replied: > This should be invalid (or so was the intent) as the > construct set doesn’t match. Thus, it seems as if GCC handles it correctly :-) (Or at

[Bug tree-optimization/117556] gcc.dg/vect/vect-live-slp-3.c fails to SLP with variable-length vectors

2024-11-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117556 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug libstdc++/112569] libstdc++-v3/include/ranges:1456: missing check for self-assignment

2024-11-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112569 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org S

[Bug c++/117550] New: constexpr inlining and size optimizations

2024-11-13 Thread alexey.lapshin at espressif dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117550 Bug ID: 117550 Summary: constexpr inlining and size optimizations Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2024-11-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2021-05-27 00:00:00 |2024-11-13 --- Comment #12 from Jonat

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2024-11-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 Jonathan Wakely changed: What|Removed |Added CC||de34 at live dot cn --- Comment #11 f

[Bug libstdc++/117552] ranges::(stable_)sort fail to accept C++20-only random access ranges

2024-11-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117552 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/117558] peeling for gap overrun check imprecise for VLA

2024-11-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117558 --- Comment #1 from Richard Biener --- Same reason for the aarch64 fails FAIL: gcc.target/aarch64/sve/struct_vect_22.c scan-assembler-times \\tld1d\\t 1 FAIL: gcc.target/aarch64/sve/struct_vect_22.c scan-assembler-times \\tld4d\\t 1 FAIL: gcc.t

[Bug target/117547] FAIL: gcc.target/i386/*-pr93673.c without TARGET_PROMOTE_PROTOTYPES

2024-11-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117547 --- Comment #2 from Richard Biener --- I think the error is with const_0_to_255_operand which seems to operate without context of the mode a VOIDmode CONST_INT is need to be interpreted with. Alternatively every operand with such (or similar) p

[Bug tree-optimization/117559] Hybrid analysis confused by store pattern for uniform mask .MASK_STORE

2024-11-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117559 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/117559] New: Hybrid analysis confused by store pattern for uniform mask .MASK_STORE

2024-11-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117559 Bug ID: 117559 Summary: Hybrid analysis confused by store pattern for uniform mask .MASK_STORE Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c/117023] [C2y] Implement N3322, Allow zero length operations on null pointers

2024-11-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117023 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/117557] [15 Regression] gcc_r miscompiles in SPECCPU 2017 with SVE2 since g:3d498cfe022f6e035ff24e0d78ff744da83ebf42

2024-11-13 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117557 --- Comment #2 from Tamar Christina --- It looks like after the change we vectorize c[b[a]] = d[b[a]] but I wonder if the resulting code doesn't need an alias check that c != d. I don't see any added, let me try to bisect the loop and reduce.

[Bug c/117023] [C2y] Implement N3322, Allow zero length operations on null pointers

2024-11-13 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117023 --- Comment #5 from Bruno Haible --- (In reply to Jakub Jelinek from comment #4) > I think it is just fine to call strncat (s, NULL, 0); because it will > read no more than 0 characters from src, but I think it is problematic to > call strncat (

[Bug c/117059] Enhancement: Make -Wzero-as-null-pointer-constant available in C

2024-11-13 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117059 --- Comment #4 from Alejandro Colomar --- Since I would like to officially deprecate 0 as a null pointer constant, it would be good if we put it in -Wall. Does it make sense?

[Bug tree-optimization/117558] New: peeling for gap overrun check imprecise for VLA

2024-11-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117558 Bug ID: 117558 Summary: peeling for gap overrun check imprecise for VLA Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/117029] [C2y] Implement N3298, Introduce complex literals

2024-11-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117029 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Version|unknown

[Bug tree-optimization/117553] [15 regression] stage2 ada compiler miscompiled after r15-5069-g32cf28ccc9e77c

2024-11-13 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117553 Iain Sandoe changed: What|Removed |Added Last reconfirmed||2024-11-13 Status|UNCONFIRMED

  1   2   >