[Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1

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

[Bug rtl-optimization/114515] [15 Regression] Failure to use aarch64 lane forms after PR101523

2024-06-15 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114515 Jeffrey A. Law changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1

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

[Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508 --- Comment #9 from Andrew Pinski --- _19 = BIT_FIELD_REF ; _12 = BIT_FIELD_REF ; _15 = _12 | _19; vs _13 = BIT_FIELD_REF ; _14 = BIT_FIELD_REF ; _15 = _13 | _14; So basically it is just by accident the order happens that way which

[Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508 --- Comment #8 from Andrew Pinski --- Created attachment 58442 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58442&action=edit Semi-cleaned up testcase with some extra hooks So note if you change any of the `#if 0` to `#if 1` or `#if 1`

[Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1

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

[Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1

2024-06-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508 --- Comment #6 from Sam James --- Created attachment 58441 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58441&action=edit reduced_more.i

[Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1

2024-06-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508 --- Comment #5 from Sam James --- On trunk with reduced.i, I get: ``` ==3698089== Invalid read of size 8 ==3698089==at 0x2430014: UnknownInlinedFun (tree-vect-slp.cc:9672) ==3698089==by 0x2430014: vect_schedule_slp_node(vec_info*, _slp_t

[Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1

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

[Bug tree-optimization/115508] ICE when building flac with -O2 -march=znver1

2024-06-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508 --- Comment #4 from Sam James --- Created attachment 58440 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58440&action=edit reduced.i

[Bug tree-optimization/115508] ICE when building flac with -O2 -march=znver1

2024-06-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508 --- Comment #3 from Sam James --- > I can't reproduce it with -march=znver2, just -march=znver1. Not compared > the diff yet. -march=znver2 -mprefer-vector-width=128 fails too

[Bug tree-optimization/115508] ICE when building flac with -O2 -march=znver1

2024-06-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508 --- Comment #2 from Sam James --- I'm reducing.

[Bug tree-optimization/115508] ICE when building flac with -O2 -march=znver1

2024-06-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508 --- Comment #1 from Sam James --- ==3050649== Invalid read of size 8 ==3050649==at 0x192EB36: vect_schedule_slp_node(vec_info*, _slp_tree*, _slp_instance*) [clone .part.0] (tree-vect-slp.cc:9279) ==3050649==by 0x1948643: vect_schedule_s

[Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1

2024-06-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508 Bug ID: 115508 Summary: ICE when building flac with -O2 -march=znver1 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/114528] (0xFFFFFFFF0001FFFFULL - 0x00123000) constant forming could be done in 2 instructions

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

[Bug ada/115507] New: 'Wide_Wide_Value failed for unicode strings

2024-06-15 Thread dramwang at 163 dot com via Gcc-bugs
l_Enum_8.Impl.Value_Enumeration at s-valuen.adb:149 0x404a4d Sample at sample.adb:12 0x4046b7 Main at b~sample.adb:258 [/lib/x86_64-linux-gnu/libc.so.6] 0x7fc03814f248 0x7fc03814f303 [./sample] 0x4040ef _start at ??? 0xfffe ``` 'Wide_Value will also failed with the same error. I've tested in Debian 12 x86_64 with GNAT 15.0.0 20240615 (git 079506).

[Bug target/115475] AArch64 should define __ARM_FEATURE_SVE_BF16 when appropriate

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115475 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW See Also|

[Bug target/108316] ICE in maybe_gen_insn via expand_SCATTER_STORE when vectorizing for SVE since r13-2737-g4a773bf2f08656

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108316 Andrew Pinski changed: What|Removed |Added Target Milestone|13.4|---

[Bug target/115087] dead block not eliminated in SVE intrinsics code

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115087 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug target/113859] popcount HI can be vectorized for non-SVE

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113859 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > Patch was posted: > https://gcc.gnu.org/pipermail/gcc-patches/2024-May/650311.html Latest patch: https://gcc.gnu.org/pipermail/gcc-patches/2024-June/653405.html

[Bug target/100211] [11/12/13/14/15 Regression] aarch64: OOB accesses in aarch64_{save,restore}_callee_saves

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100211 Andrew Pinski changed: What|Removed |Added Keywords||aarch64-sve Assignee|unassign

[Bug target/106329] No optimization for SVE pfalse predicate

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106329 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/97405] ICE in get_or_alloc_expr_for in code hoisting with SVE intrinsics

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97405 Andrew Pinski changed: What|Removed |Added Known to work||15.0 --- Comment #6 from Andrew Pinski

[Bug target/111733] Emit inline SVE FSCALE instruction for ldexp

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111733 Andrew Pinski changed: What|Removed |Added Keywords||aarch64-sve Last reconfirmed|

[Bug target/114906] aarch64 locally_streaming ICE with -fstack-clash-protection in aarch64_expand_prologue

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114906 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug web/115391] Suggest add current size of git repository to git page

2024-06-15 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115391 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Commen

[Bug rtl-optimization/115505] missing optimization: thumb1 use ldmia/stmia for load store DI/DF data when possible

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115505 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug bootstrap/112422] Build process does a redundant number of checks ?

2024-06-15 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112422 --- Comment #4 from Eric Gallager --- (In reply to Sam James from comment #3) > There's some stuff we could cache for sure but it wouldn't be the majority > of the checks - stuff like finding tools like awk, sed should work > regardless of which

[Bug pch/115312] [14/15 Regression] ICE when including a PCH via compiler option -include

2024-06-15 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115312 --- Comment #6 from Brecht Sanders --- You're right. Sorry I missed that.

[Bug c++/115486] ICE: Segfault while compiling partial template specialization with expanded parameter pack of function pointers

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115486 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug c++/115503] Explicit deduction guide - Capture parameter pack in lambda - Compiler segfaults

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115503 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Known to fail|

[Bug c++/115504] [14/15 Regression] Wrong decltype result for a captured reference inside lambda

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115504 --- Comment #1 from Andrew Pinski --- I suspect the fix for PR 96917 broke references (or rather changed all to be non references).

[Bug libstdc++/115497] [15 Regression] __is_pointer doesn't compile with clang since 014879ea4c86b3b8ab6b61a1226ee5b31e816c8b

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115497 --- Comment #12 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #11) > Although that class template has been there for years, so if any library > like abseil was using the built-in, they're already have the problem that > libstd

[Bug libstdc++/115497] [15 Regression] __is_pointer doesn't compile with clang since 014879ea4c86b3b8ab6b61a1226ee5b31e816c8b

2024-06-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115497 --- Comment #11 from Jonathan Wakely --- Although that class template has been there for years, so if any library like abseil was using the built-in, they're already have the problem that libstdc++ now has.

[Bug libstdc++/115497] [15 Regression] __is_pointer doesn't compile with clang since 014879ea4c86b3b8ab6b61a1226ee5b31e816c8b

2024-06-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115497 --- Comment #10 from Jonathan Wakely --- The only foolproof fix would be to rename the __is_pointer class template.

[Bug libstdc++/115497] [15 Regression] __is_pointer doesn't compile with clang since 014879ea4c86b3b8ab6b61a1226ee5b31e816c8b

2024-06-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115497 --- Comment #9 from Jonathan Wakely --- Changing libstdc++ order of includes won't help abseil. If their use of __is_pointer still comes after any standard header has included cpp_type_traits.h, the identifier will be "poisoned" by the class tem

[Bug pch/115312] [14/15 Regression] ICE when including a PCH via compiler option -include

2024-06-15 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115312 --- Comment #5 from Lewis Hyatt --- (In reply to Brecht Sanders from comment #4) > No, that patch wasn't added for my build, see my build recipe here: > https://github.com/brechtsanders/winlibs_recipes/blob/main/recipes/gcc.winlib Thanks, this

[Bug rtl-optimization/115505] missing optimization: thumb1 use ldmia/stmia for load store DI/DF data when possible

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115505 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #1 from

[Bug middle-end/115506] Possible but missed "cmp" instruction merging (x86 & ARM, optimization)

2024-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115506 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Component|rtl-opti

[Bug other/115506] New: Possible but missed "cmp" instruction merging (x86 & ARM, optimization)

2024-06-15 Thread Explorer09 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115506 Bug ID: 115506 Summary: Possible but missed "cmp" instruction merging (x86 & ARM, optimization) Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: norm

[Bug c++/115231] [C++20] [Modules] deduction guides reachability

2024-06-15 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115231 Nathaniel Shead changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug rtl-optimization/115505] New: missing optimization: thumb1 use ldmia/stmia for load store DI/DF data when possible

2024-06-15 Thread lis8215 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115505 Bug ID: 115505 Summary: missing optimization: thumb1 use ldmia/stmia for load store DI/DF data when possible Product: gcc Version: 15.0 Status: UNCONFIRMED Sev

[Bug target/113341] Using GCC as the bootstrap compiler breaks LLVM on 32-bit PowerPC

2024-06-15 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113341 --- Comment #13 from John Paul Adrian Glaubitz --- (In reply to Andrew Pinski from comment #7) > `-fno-lifetime-dse` is already used but I get the feeling there might be > strict aliasing issues in the code though. What happens if you add > -fn

[Bug target/113341] Using GCC as the bootstrap compiler breaks LLVM on 32-bit PowerPC

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

[Bug libstdc++/111639] HAVE_ACOSF etc. are wrong on avr

2024-06-15 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639 --- Comment #9 from Georg-Johann Lay --- (In reply to Jonathan Wakely from comment #1) > since float, double and long double all seem to be the same size on avr Not necessarily. Since GCC v10, the default for long double is 64 bit (IEEE double)

[Bug pch/115312] [14/15 Regression] ICE when including a PCH via compiler option -include

2024-06-15 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115312 --- Comment #4 from Brecht Sanders --- No, that patch wasn't added for my build, see my build recipe here: https://github.com/brechtsanders/winlibs_recipes/blob/main/recipes/gcc.winlib

[Bug libstdc++/115497] [15 Regression] __is_pointer doesn't compile with clang since 014879ea4c86b3b8ab6b61a1226ee5b31e816c8b

2024-06-15 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115497 Arthur O'Dwyer changed: What|Removed |Added CC||arthur.j.odwyer at gmail dot com ---

[Bug c++/115504] New: Wrong decltype result for a captured reference inside limbda

2024-06-15 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115504 Bug ID: 115504 Summary: Wrong decltype result for a captured reference inside limbda Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal

[Bug target/113341] Using GCC as the bootstrap compiler breaks LLVM on 32-bit PowerPC

2024-06-15 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113341 --- Comment #11 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #10) > (In reply to Kewen Lin from comment #9) > > Since it's a breakage during stage2, it's concluded that some built stage1 > > stuffs behav

[Bug libstdc++/115482] [14/15 Regression] print.cc fails with avrlibc

2024-06-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115482 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug libstdc++/115497] [15 Regression] __is_pointer doesn't compile with clang since 014879ea4c86b3b8ab6b61a1226ee5b31e816c8b

2024-06-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115497 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug tree-optimization/108467] false positive -Wmaybe-uninitialized warning at -O1 or higher

2024-06-15 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108467 --- Comment #4 from Vincent Lefèvre --- (In reply to Sam James from comment #3) > For 14/15, it seems gone with -O2, but I see it with -Og. The warning still occurs with -O1 too.

[Bug target/111376] missed optimization of one bit test on MIPS32r1

2024-06-15 Thread lis8215 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111376 --- Comment #16 from Siarhei Volkau --- Might it be that LoongArch have register reuse dependency? I observed similar behavior on XBurst with load/store/reuse pattern: e.g. this code LW $v0, 0($t1)# Xburst load latency is 4 but it has bypa

[Bug target/111376] missed optimization of one bit test on MIPS32r1

2024-06-15 Thread lis8215 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111376 --- Comment #15 from Siarhei Volkau --- Created attachment 58437 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58437&action=edit application to test performance of shift Here is the test application (MIPS32 specific) I wrote. It allows

[Bug libstdc++/115481] HAVE_* for long double math functions wrong for avrlibc (target AVR)

2024-06-15 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115481 --- Comment #4 from Georg-Johann Lay --- (In reply to dv from comment #0) > New versions of avrlibc provide long double math functions, In the case it matters: 1) avr-libc has long double prototypes in math.h since v2.2. 2a) When long double

[Bug target/69374] install.texi is bit-rotten

2024-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69374 --- Comment #21 from GCC Commits --- The trunk branch has been updated by Gerald Pfeifer : https://gcc.gnu.org/g:57af69d56e72af049444c42bc7216d2737683f08 commit r15-1349-g57af69d56e72af049444c42bc7216d2737683f08 Author: Gerald Pfeifer Date:

[Bug target/111376] missed optimization of one bit test on MIPS32r1

2024-06-15 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111376 --- Comment #14 from YunQiang Su --- And it seems that the performance of SLL is related with the operand. Just iterate from 0 to 1e9: ``` 0b00 : b00: 000223c0sll a0,v0,0xf <-- the code is something wrong

[Bug c++/115503] New: Explicit deduction guide - Capture parameter pack in lambda - Compiler segfaults

2024-06-15 Thread thomaspkhealy at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115503 Bug ID: 115503 Summary: Explicit deduction guide - Capture parameter pack in lambda - Compiler segfaults Product: gcc Version: 15.0 Status: UNCONFIRMED Severit