[Bug sanitizer/114494] false-positive with -O2 -Wstringop-overflow=2 -fsanitize=address

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114494 --- Comment #1 from Andrew Pinski --- Please note this part of the documentation: Note that sanitizers tend to increase the rate of false positive warnings, most notably those around -Wmaybe-uninitialized. We recommend against combining -Werror

[Bug sanitizer/114494] false-positive with -O2 -Wstringop-overflow=2 -fsanitize=address

2024-03-27 Thread akihiko.odaki at daynix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114494 --- Comment #3 from Akihiko Odaki --- (In reply to Andrew Pinski from comment #2) > Note the minimized testcase seems to be a real issue. hlen can either be 1 > (the only value that works) or more than 1. Below is the the error message for the

[Bug sanitizer/114494] New: false-positive with -O2 -Wstringop-overflow=2 -fsanitize=address

2024-03-27 Thread akihiko.odaki at daynix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114494 Bug ID: 114494 Summary: false-positive with -O2 -Wstringop-overflow=2 -fsanitize=address Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/95782] [s390] ICE in _cpp_pop_context

2024-03-27 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95782 Jiu Fu Guo changed: What|Removed |Added CC||guojiufu at gcc dot gnu.org --- Comment #3

[Bug c++/114495] New: Capture error in lambda fold

2024-03-27 Thread andipeer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114495 Bug ID: 114495 Summary: Capture error in lambda fold Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug sanitizer/114494] false-positive with -O2 -Wstringop-overflow=2 -fsanitize=address

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114494 --- Comment #2 from Andrew Pinski --- Note the minimized testcase seems to be a real issue. hlen can either be 1 (the only value that works) or more than 1.

[Bug ipa/114501] ICE during modref with LTO

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114501 --- Comment #3 from Andrew Pinski --- Created attachment 57825 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57825=edit Reduced most of the way (C++14 code now)

[Bug ipa/114501] [11/12/13/14 Regression] ICE during modref with LTO

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114501 Andrew Pinski changed: What|Removed |Added Attachment #57825|0 |1 is obsolete|

[Bug target/114487] ICE when building libsdl2 on -mfpmath=sse x86 with LTO

2024-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114487 --- Comment #11 from Sam James --- I'm going to upload the originals in case it offers more insight because the return type isn't mismatched there.

[Bug c/114507] FR: Randomize order of evluation of function of arguments

2024-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114507 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #1

[Bug c/114507] FR: Randomize order of evluation of function of arguments

2024-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114507 --- Comment #2 from Sam James --- That said, I feel as if it's more likely this is better for the analyser.

[Bug rtl-optimization/50489] [UPC/IA64] mis-schedule of MEM ref with -ftree-vectorize and -fschedule-insns2

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

[Bug target/114506] RISC-V: expect M8 but M4 generated with dynamic LMUL

2024-03-27 Thread demin.han at starfivetech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114506 --- Comment #3 from demin.han at starfivetech dot com --- Hi, I'm trying to fix this. The reason is unnecessary live_range added in cost model > -Original Message- > From: pinskia at gcc dot gnu.org > Sent: 2024年3月28日 13:34 > To:

[Bug c/114507] FR: Randomize order of evluation of function of arguments

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

[Bug c/12411] Missed -Wsequence-point on functions (example reduced from historical GCC source)

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12411 Andrew Pinski changed: What|Removed |Added CC||vt at altlinux dot org --- Comment #9

[Bug c/114507] FR: Randomize order of evluation of function of arguments

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114507 --- Comment #4 from Andrew Pinski --- Well the diagnostic part was PR 12411 :) (which I filed years ago and decided to close as won't fix less than 3 years ago).

[Bug tree-optimization/114508] New: Missed optimization of Dead Code Elimination

2024-03-27 Thread 652023330028 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114508 Bug ID: 114508 Summary: Missed optimization of Dead Code Elimination Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug ipa/108250] [12/13 regression] llvm-tblgen miscompiled on powerpc-unknown-linux-gnu since r12-5383-g22c242342e38eb

2024-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108250 --- Comment #15 from Sam James --- (The workaround flags could be reduced but at this point I just wanted a quick workaround.)

[Bug target/52441] SH Target: Double sign/zero extensions for function arguments

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52441 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug target/58166] ARMv5: poor register allocation in function containing smull instruction

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58166 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug target/65214] [SH] Optimize sign/zero extensions across basic blocks

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65214 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug ipa/114501] [11/12/13/14 Regression] ICE during modref with LTO

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114501 --- Comment #6 from Andrew Pinski --- Changing he return type of size to be size_t rather than size_type fixes the issue. So does adding: constexpr basic_string_view view; to the toplevel namespace.

[Bug bootstrap/37778] wrong construction of search path for include files

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37778 Andrew Pinski changed: What|Removed |Added Severity|trivial |normal Component|preprocessor

[Bug target/54446] Stack needlessly aligned with AVX

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54446 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug c/114507] New: FR: Randomize order of evluation of function of arguments

2024-03-27 Thread vt at altlinux dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114507 Bug ID: 114507 Summary: FR: Randomize order of evluation of function of arguments Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/114506] RISC-V: expect M8 but M4 generated with dynamic LMUL

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114506 --- Comment #1 from Andrew Pinski --- /app/example.cpp:7:27: note: Comparing two main loops (RVVM1QI at VF 32 vs RVVM8SF at VF 64) /app/example.cpp:7:27: note: Preferring smaller LMUL loop because it has unexpected spills

[Bug ipa/114501] [11/12/13/14 Regression] ICE during modref with LTO

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114501 Andrew Pinski changed: What|Removed |Added Known to work||8.5.0 Ever confirmed|0

[Bug ipa/108250] [12/13 regression] llvm-tblgen miscompiled on powerpc-unknown-linux-gnu since r12-5383-g22c242342e38eb

2024-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108250 Sam James changed: What|Removed |Added Summary|[12/13/14 regression] |[12/13 regression]

[Bug target/114506] RISC-V: expect M8 but M4 generated with dynamic LMUL

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114506 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug tree-optimization/114057] [14 Regression] 435.gromacs fails verification with -Ofast -march={znver2,znver4} and PGO after r14-7272-g57f611604e8bab

2024-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114057 --- Comment #13 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0b02da5b99e89347f5f8bf875ec8318f84adff18 commit r14-9687-g0b02da5b99e89347f5f8bf875ec8318f84adff18 Author: Richard Biener Date:

[Bug tree-optimization/114057] [14 Regression] 435.gromacs fails verification with -Ofast -march={znver2,znver4} and PGO after r14-7272-g57f611604e8bab

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114057 --- Comment #14 from Richard Biener --- I wasn't able to reproduce the miscompare on a Zen4 machine (but with -march=znver2). But the original vectorizataion of bondfree.c should be restored and thus the miscompare gone. I'll verify tomorrow

[Bug libstdc++/90745] [11/12/13/14 Regression] std::tuple::operator= parameter causes error outside immediate context

2024-03-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90745 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug libstdc++/90745] [11/12/13/14 Regression] std::tuple::operator= parameter causes error outside immediate context

2024-03-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90745 --- Comment #8 from Jonathan Wakely --- Replacing delctype(auto) on the cell::operator=(X&&) function (or constraining that function to not be instantiated for non-assignable cells) will fix the code.

[Bug libstdc++/100381] [11/12/13/14 Regression] new static_assert((std::__is_complete_or_unbounded(...)) failure from g++ 11.1.0

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

[Bug target/114490] Optimization: x86 "shl" condition codes never reused

2024-03-27 Thread Explorer09 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114490 Kang-Che Sung changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug libstdc++/114498] New: Consider deprecating then removing TR1 headers

2024-03-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114498 Bug ID: 114498 Summary: Consider deprecating then removing TR1 headers Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component:

[Bug libstdc++/100667] [11/12/13/14 Regression] std::tuple cannot be constructed from A&&, if A not defined (only forward declared)

2024-03-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100667 --- Comment #8 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #6) > (In reply to Piotr Nycz from comment #0) > > It looks that std library code start requiring this to pass: > > std::is_nothrow_constructible... > > Indeed,

[Bug c++/114479] [14 Regression] std::is_array_v changed from false to true in GCC 14

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114479 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug web/114496] New: Documentation: "Non-Bugs" page should update/mention something about -Wsign-conversion

2024-03-27 Thread Explorer09 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114496 Bug ID: 114496 Summary: Documentation: "Non-Bugs" page should update/mention something about -Wsign-conversion Product: gcc Version: 13.2.0 Status: UNCONFIRMED

[Bug c++/114480] g++: internal compiler error: Segmentation fault signal terminated program cc1plus

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114480 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to fail|

[Bug libstdc++/114477] The user-defined constructor of filter_view::iterator is not fully compliant with the standard

2024-03-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114477 --- Comment #7 from Jonathan Wakely --- The notes say it was closed because you didn't want to work on it. https://github.com/cplusplus/papers/issues/1726#issuecomment-2014094319 It sounds like the Ranges study group supported the direction.

[Bug c++/114497] Alias CTAD crashes

2024-03-27 Thread centurionn009 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114497 Centurion changed: What|Removed |Added CC||centurionn009 at gmail dot com --- Comment

DeepLearn 2024: early registration April 5

2024-03-27 Thread IRDTA via Gcc-bugs
*To be removed from our mailing list, please respond to this message with UNSUBSCRIBE in the subject line* -- ** 11th INTERNATIONAL SCHOOL ON DEEP LEARNING (and the Future of Artificial Intelligence) DeepLearn 2024 Porto – Maia,

[Bug libstdc++/100667] [11/12/13/14 Regression] std::tuple cannot be constructed from A&&, if A not defined (only forward declared)

2024-03-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100667 --- Comment #9 from Jonathan Wakely --- The changes in https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1285r0.pdf mean that it's only undefined if the result of is_constructible_v would change were T completed. So there's no benefit

[Bug target/114302] [14 Regression] GCN regressions after: vect: Tighten vect_determine_precisions_from_range [PR113281]

2024-03-27 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114302 --- Comment #4 from Andrew Stubbs --- Yes, that's what the simd-math-3* tests do. The simd-math-5* tests are explicitly supposed to be doing this in the context of the autovectorizer. If these tests are being compiled as (newly) intended then

[Bug target/114487] ICE when building libsdl2 on -mfpmath=sse x86 with LTO

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114487 --- Comment #6 from Richard Biener --- I'd say ix86_function_sseregparm should be decided at a specific point and recorded for later use. Alternatively there needs to be a (target) IPA phase where we can mark functions we cannot turn into

[Bug other/111966] GCN '--with-arch=[...]' not considered for 'mkoffload' default 'elf_arch'

2024-03-27 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111966 Thomas Schwinge changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |burnus at gcc dot gnu.org

[Bug libstdc++/100667] [11/12/13/14 Regression] std::tuple cannot be constructed from A&&, if A not defined (only forward declared)

2024-03-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100667 --- Comment #7 from Jonathan Wakely --- (In reply to Viktor Ostashevskyi from comment #1) > I have another example, but probably related: No, this is a completely different problem. See Bug 102257

[Bug bootstrap/112534] [14 regression] build failure after r14-5424-gdb50aea6259545 using gcc 4.8.5

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112534 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-03-27

[Bug c++/102257] call of overloaded 'tuple' is ambiguous

2024-03-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102257 --- Comment #6 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #2) > See https://wg21.link/cwg1228 this might be invalid code and GCC is correct > in rejecting it. So dup of PR 84849 ?

[Bug c++/102257] call of overloaded 'tuple' is ambiguous

2024-03-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102257 --- Comment #5 from Jonathan Wakely --- I think this is the same bug, reduced from Bug 100667 comment 1 (where it wasn't related): struct allocator_arg_t { explicit allocator_arg_t() = default; }; class string{}; class Foo{}; struct tuple {

[Bug target/53192] Incorrect arguments to AVX2's gather intrinsics

2024-03-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53192 --- Comment #8 from Jakub Jelinek --- Looking at other intrinsics with {,unsigned }__int64{, const} * arguments, I see void _mm_maskstore_epi64 (__int64* mem_addr, __m128i mask, __m128i a) void _mm256_maskstore_epi64 (__int64* mem_addr, __m256i

[Bug target/113652] [14 regression] Failed bootstrap on ppc unrecognized opcode: `lfiwzx' with -mcpu=7450

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113652 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #18 from Richard

[Bug libstdc++/112858] nvptx: 'unresolved symbol __cxa_thread_atexit_impl'

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112858 Richard Biener changed: What|Removed |Added Summary|[14 Regression] nvptx: |nvptx: 'unresolved symbol

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

2024-03-27 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112919 --- Comment #19 from chenglulu --- (In reply to Xi Ruoyao from comment #18) > (In reply to chenglulu from comment #17) > > > The results of spec2006 on LA464 are: > > -falign-labels=4 -falign-functions=32 -falign-loops=16 -falign-jumps=16 > >

[Bug target/114302] [14 Regression] GCN regressions after: vect: Tighten vect_determine_precisions_from_range [PR113281]

2024-03-27 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114302 --- Comment #5 from Richard Sandiford --- (In reply to Andrew Stubbs from comment #4) > Yes, that's what the simd-math-3* tests do. Ah, OK. > The simd-math-5* tests are explicitly supposed to be doing this in the > context of the

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

2024-03-27 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112919 --- Comment #18 from Xi Ruoyao --- (In reply to chenglulu from comment #17) > The results of spec2006 on LA464 are: > -falign-labels=4 -falign-functions=32 -falign-loops=16 -falign-jumps=16 Would you send a patch for them or prefer I to do

[Bug target/114487] ICE when building libsdl2 on -mfpmath=sse x86 with LTO

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114487 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug libstdc++/100667] [11/12/13/14 Regression] std::tuple cannot be constructed from A&&, if A not defined (only forward declared)

2024-03-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100667 --- Comment #6 from Jonathan Wakely --- (In reply to Piotr Nycz from comment #0) > It looks that std library code start requiring this to pass: > std::is_nothrow_constructible... Indeed, that's what the standard requires (Clang and MSVC reject

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/114377] [13/14 Regression] GCC crashes on an example of CTAD for alias templates

2024-03-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114377 --- Comment #3 from Patrick Palka --- *** Bug 114497 has been marked as a duplicate of this bug. ***

[Bug c++/114497] Alias CTAD crashes

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

[Bug libstdc++/114498] Consider deprecating then removing TR1 headers

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114498 --- Comment #1 from Richard Biener --- I'd say deprecating them for a release aka hiding behind a -D_YES_I_WANT_TR1_HEADERS and otherwise issueing #error and then axing them should be OK. Preferably tell people about a suitable replacement (or

[Bug target/53192] Incorrect arguments to AVX2's gather intrinsics

2024-03-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53192 --- Comment #9 from Jakub Jelinek --- (In reply to Andrew Pinski from comment #7) > The other option is to change how intrinsics work on x86 and use resolve > overloads inside the backend like how aarch64, arm and rs6000 backends all > handle

[Bug target/114499] New: MVE: scatter base offset constraints incorrect

2024-03-27 Thread kevin.bracey at alifsemi dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114499 Bug ID: 114499 Summary: MVE: scatter base offset constraints incorrect Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/114506] New: RISC-V: expect M8 but M4 generated with dynamic LMUL

2024-03-27 Thread deminhan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114506 Bug ID: 114506 Summary: RISC-V: expect M8 but M4 generated with dynamic LMUL Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/114487] ICE when building libsdl2 on -mfpmath=sse x86 with LTO

2024-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114487 --- Comment #12 from Sam James --- Ah, wait, no point with andrew's nicer testcase ;)

[Bug middle-end/114482] remove_unreachable_eh_regions could use a work queue instead of being recusive

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114482 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/114485] [13/14 Regression] Wrong code with -O3 -march=rv64gcv on riscv or `-O3 -march=armv9-a` for aarch64

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114485 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug other/114496] Documentation: "Non-Bugs" page should update/mention something about -Wsign-conversion

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114496 --- Comment #1 from Andrew Pinski --- Confirmed.

[Bug other/114496] Documentation: "Non-Bugs" page should update/mention something about -Wsign-conversion

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114496 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-03-27

[Bug target/114487] ICE when building libsdl2 on -mfpmath=sse x86 with LTO

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114487 Richard Biener changed: What|Removed |Added Summary|[14 regression] ICE when|ICE when building libsdl2

[Bug target/112787] Codegen regression of large GCC vector extensions when enabling SVE

2024-03-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112787 Eric Botcazou changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug middle-end/88670] [meta-bug] generic vector extension issues

2024-03-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88670 Bug 88670 depends on bug 112787, which changed state. Bug 112787 Summary: Codegen regression of large GCC vector extensions when enabling SVE https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112787 What|Removed

[Bug target/114487] ICE when building libsdl2 on -mfpmath=sse x86 with LTO

2024-03-27 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114487 --- Comment #2 from Uroš Bizjak --- (In reply to Richard Biener from comment #1) > (insn 6 5 0 (set (reg/v:SF 99 [ gamma ]) > (reg:SF 20 xmm0)) "testautomation-testautomation_pixels.i":15:17 -1 > (nil)) > > I'm not sure what's

[Bug target/114490] Optimization: x86 "shl" condition codes never reused

2024-03-27 Thread Explorer09 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114490 --- Comment #4 from Kang-Che Sung --- 1. I just read "AMD64 Architecture Programmer's Manual - Volume 3: General-Purpose and System Instructions"

[Bug target/114414] [14 Regression] 15-18% exec time slowdown of 433.milc on Zen2

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114414 --- Comment #1 from Richard Biener --- I'll note the performance is now again close to that of 12/13 but improvements have been lost (so it might be not called a 14 regression).

[Bug target/114416] calling convention incompatibility with vendor compiler for V9

2024-03-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114416 --- Comment #9 from Eric Botcazou --- > Thank you for the proposed fix! I tested it with several programs that I > used to find/reproduce the issue and it seems to work now (I talked about > this with Rainer initially). OK, thanks for the

[Bug c++/114167] Capturing a auto..., then unpacking it in a lambda taking Ts..., confuses GCC

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114167 Andrew Pinski changed: What|Removed |Added CC||andipeer at gmx dot net --- Comment #1

[Bug c++/114495] Capture error in lambda fold

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

[Bug c++/114167] Capturing a auto..., then unpacking it in a lambda taking Ts..., confuses GCC

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

[Bug libstdc++/114477] The user-defined constructor of filter_view::iterator is not fully compliant with the standard

2024-03-27 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114477 --- Comment #6 from 康桓瑋 --- (In reply to Jiang An from comment #5) > (In reply to 康桓瑋 from comment #0) > > Since P3059R0 is closed (although I feel bad about this) > > BTW, now I think this is somehow unfortunate. > P3059 behaved like a

[Bug target/114487] ICE when building libsdl2 on -mfpmath=sse x86 with LTO

2024-03-27 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114487 --- Comment #3 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #2) > Adding -msse to the second compilation works OK, removing -mfpmath=sse from > the first compilation also works OK. Which makes this PR a LTO reincarnation of

[Bug target/114416] calling convention incompatibility with vendor compiler for V9

2024-03-27 Thread jakub.kulik at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114416 Jakub Kulik changed: What|Removed |Added CC||jakub.kulik at oracle dot com ---

[Bug fortran/113885] [13/14 Regression] ice in gimplify_expr, at gimplify.cc:18658 with finalization

2024-03-27 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113885 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org ---

[Bug c++/114497] New: Alias CTAD crashes

2024-03-27 Thread hokein.wu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114497 Bug ID: 114497 Summary: Alias CTAD crashes Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug sanitizer/114494] false-positive with -O2 -Wstringop-overflow=2 -fsanitize=address

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

[Bug sanitizer/99673] [11/13/14 Regression] bogus -Wstringop-overread warning with address sanitizer due to member address substitution

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99673 Andrew Pinski changed: What|Removed |Added CC||akihiko.odaki at daynix dot com ---

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2024-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 114494, which changed state. Bug 114494 Summary: false-positive with -O2 -Wstringop-overflow=2 -fsanitize=address https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114494 What|Removed

[Bug libstdc++/114477] The user-defined constructor of filter_view::iterator is not fully compliant with the standard

2024-03-27 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114477 --- Comment #5 from Jiang An --- (In reply to 康桓瑋 from comment #0) > Since P3059R0 is closed (although I feel bad about this) BTW, now I think this is somehow unfortunate. P3059 behaved like a follow-up paper of P2711 IMO. Both papers

[Bug tree-optimization/114485] [13/14 Regression] Wrong code with -O3 -march=rv64gcv on riscv or `-O3 -march=armv9-a` for aarch64

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114485 --- Comment #3 from Richard Biener --- Huh. _75 = [vec_duplicate_expr] pretmp_34; _76 = -_75; _77 = VEC_PERM_EXPR <_75, _76, { 0, POLY_INT_CST [4, 4], 1, POLY_INT_CST [5, 4], 2, POLY_INT_CST [6, 4], ... }>; # c_lsm.7_8 = PHI <_2(9),

[Bug target/114481] [14 Regression] 14% exec time slowdown of 433.milc on aarch64

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114481 --- Comment #1 from Richard Biener --- Looks like speed is back to 12/13, so possibly not a regression.

[Bug target/114302] [14 Regression] GCN regressions after: vect: Tighten vect_determine_precisions_from_range [PR113281]

2024-03-27 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114302 --- Comment #1 from Richard Sandiford --- The decision to stop narrowing division was deliberate, see the comments in PR113281 for details. Is the purpose of the test to check vectorisation quality, or to check for the right ABI routines?

[Bug c/114493] [11/12/13/14 Regression] internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114493 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org

[Bug target/114302] [14 Regression] GCN regressions after: vect: Tighten vect_determine_precisions_from_range [PR113281]

2024-03-27 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114302 --- Comment #2 from Andrew Stubbs --- The execution test checks that each of the libgcc routines work correctly, and the scan assembler tests make sure that we're getting coverage of all of them. In this case, the failure indicates that we're

[Bug target/114416] calling convention incompatibility with vendor compiler for V9

2024-03-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114416 --- Comment #8 from Eric Botcazou --- > Hmm, I just realized that you referred to the same sections, so my previous > comment might not make it clearer... Yes, the fields in question have array types so the rules about scalar values do not

[Bug target/114302] [14 Regression] GCN regressions after: vect: Tighten vect_determine_precisions_from_range [PR113281]

2024-03-27 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114302 --- Comment #3 from Richard Sandiford --- Ah, ok. If the main aim is to test the libgcc routines, it might be safer to use something like: typedef char v64qi __attribute__((vector_size(64))); v64qi f(v64qi x, v64qi y) { return x / y; }

[Bug target/114487] ICE when building libsdl2 on -mfpmath=sse x86 with LTO

2024-03-27 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114487 --- Comment #4 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #3) > (In reply to Uroš Bizjak from comment #2) > > Adding -msse to the second compilation works OK, removing -mfpmath=sse from > > the first compilation also works OK. >

[Bug target/114416] calling convention incompatibility with vendor compiler for V9

2024-03-27 Thread jakub.kulik at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114416 --- Comment #7 from Jakub Kulik --- Hmm, I just realized that you referred to the same sections, so my previous comment might not make it clearer...

[Bug tree-optimization/114057] [14 Regression] 435.gromacs fails verification with -Ofast -march={znver2,znver4} and PGO after r14-7272-g57f611604e8bab

2024-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114057 --- Comment #12 from Richard Biener --- OK, so I think the change is that we get to "correctly" notice -vec.h:380:9: note: node (external) 0x6a2e9d8 (max_nunits=2, refcnt=1) vector(2) float -vec.h:380:9: note: stmt 0 _164 = MEM[(const real

  1   2   >