[Bug tree-optimization/113134] gcc does not version loops with early break conditions that don't have side-effects

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

[Bug tree-optimization/113265] New: [Regression] Missed optimization for redundancy computation elimination may be due to constant propagation about 0 too late

2024-01-08 Thread 652023330028 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113265 Bug ID: 113265 Summary: [Regression] Missed optimization for redundancy computation elimination may be due to constant propagation about 0 too late Product: gcc

[Bug c++/113266] New: GCC rejects static global variable as non type template parameter

2024-01-08 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113266 Bug ID: 113266 Summary: GCC rejects static global variable as non type template parameter Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug ada/113195] [13/14 regression] internal error on anonymous access type equality

2024-01-08 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
is (A = Acc); end P; eric@fomalhaut:~/build/gcc/native> ~/install/gcc/bin/gcc -c p.ads +===GNAT BUG DETECTED==+ | 14.0.0 20240108 (experimental) [master r14-6995-g4d31d660620] (x86_64-suse-linux) GCC error:| | in build_binary_op, at ada/

[Bug ada/113195] [13/14 regression] internal error on anonymous access type equality

2024-01-08 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113195 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug tree-optimization/112457] Possible better vectorization of different reduction min/max reduction

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112457 --- Comment #5 from Richard Biener --- You want to find the duplicate bugreport for the min/max + index reductions, IIRC the issue is that we fail the reduction detection because of multi-use and we should really have two conditional reductions,

[Bug rtl-optimization/109052] Unnecessary reload with -mfpmath=both

2024-01-08 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109052 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ipa/113203] __attribute__ ((always_inline)) fails with C99/LTO/-Og.

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113203 Richard Biener changed: What|Removed |Added Keywords||documentation CC|

[Bug tree-optimization/110176] [11/12/13/14 Regression] wrong code at -Os and above on x86_64-linux-gnu since r11-2446

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110176 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug libstdc++/113258] Pre-C++17 code that supplies operator new/delete crashes when mixed with post-C+17 code that uses the align_val_t variants of new/delete

2024-01-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113258 --- Comment #17 from Jonathan Wakely --- (In reply to Nicholas Miell from comment #14) > Again, this version of tcmalloc predates aligned_alloc and the align_val_t > versions of operator new and delete. > > Again, the C++ standard does not requ

[Bug tree-optimization/113210] [14 Regression] ICE: tree check: expected integer_cst, have cond_expr in get_len, at tree.h:6481

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210 --- Comment #9 from Richard Biener --- (In reply to Jakub Jelinek from comment #8) > Created attachment 56993 [details] > gcc14-pr113210.patch > > So, I'd go with this patch (so far untested). I think we want to keep the invariant that both ar

[Bug sanitizer/99476] 'PATH_MAX' was not declared in this scope

2024-01-08 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99476 Ilya Leoshkevich changed: What|Removed |Added CC||iii at linux dot ibm.com --- Comment

[Bug tree-optimization/108477] fwprop over-optimizes conversion from + to |

2024-01-08 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108477 --- Comment #1 from Uroš Bizjak --- This conversion happens due to th following code in match.pd: /* If we are XORing or adding two BIT_AND_EXPR's, both of which are and'ing with a constant, and the two constants have no bits in common, w

[Bug tree-optimization/113210] [14 Regression] ICE: tree check: expected integer_cst, have cond_expr in get_len, at tree.h:6481

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210 --- Comment #10 from Jakub Jelinek --- (In reply to Richard Biener from comment #9) > I think we want to keep the invariant that both are INTEGER_CST when one is. > > If we can fold the add to 1 why can't we fold the original to 0? Because fol

[Bug tree-optimization/113210] [14 Regression] ICE: tree check: expected integer_cst, have cond_expr in get_len, at tree.h:6481

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210 --- Comment #11 from Jakub Jelinek --- (In reply to Richard Biener from comment #9) > That is, another fix might be to adjust NITERSM1 to NITERS - 1 when > NITERS went constant ... (btw, I want to get rid of _NITERS and only Or we could only u

[Bug libstdc++/112997] _Unwind_Exception conflicts with void*. failed to build with clang

2024-01-08 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112997 Thomas Schwinge changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug libstdc++/113258] Pre-C++17 code that supplies operator new/delete crashes when mixed with post-C+17 code that uses the align_val_t variants of new/delete

2024-01-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113258 --- Comment #18 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #17) > (In reply to Nicholas Miell from comment #14) > > Again, you could probably fix this issue by implementing all of the newly > > introduced versions of oper

[Bug tree-optimization/113210] [14 Regression] ICE: tree check: expected integer_cst, have cond_expr in get_len, at tree.h:6481

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210 --- Comment #12 from Richard Biener --- (In reply to Jakub Jelinek from comment #11) > (In reply to Richard Biener from comment #9) > > That is, another fix might be to adjust NITERSM1 to NITERS - 1 when > > NITERS went constant ... (btw, I wan

[Bug tree-optimization/113210] [14 Regression] ICE: tree check: expected integer_cst, have cond_expr in get_len, at tree.h:6481

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210 --- Comment #13 from Richard Biener --- (In reply to Richard Biener from comment #12) > (In reply to Jakub Jelinek from comment #11) > > (In reply to Richard Biener from comment #9) > > > That is, another fix might be to adjust NITERSM1 to NITER

[Bug tree-optimization/113210] [14 Regression] ICE: tree check: expected integer_cst, have cond_expr in get_len, at tree.h:6481

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210 --- Comment #14 from Richard Biener --- (In reply to Richard Biener from comment #13) > (In reply to Richard Biener from comment #12) > > (In reply to Jakub Jelinek from comment #11) > > > (In reply to Richard Biener from comment #9) > > > > Tha

[Bug c/113267] New: pragma novector ICEs when no loop condition

2024-01-08 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113267 Bug ID: 113267 Summary: pragma novector ICEs when no loop condition Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug c/113267] pragma novector ICEs when no loop condition

2024-01-08 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113267 Tamar Christina changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/113268] New: (i + (i + 1) * CST) AND (i + i * CST + 1 * CST) not folded the same way

2024-01-08 Thread denis.campredon at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113268 Bug ID: 113268 Summary: (i + (i + 1) * CST) AND (i + i * CST + 1 * CST) not folded the same way Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/113257] -march=native or -mcpu=native are ineffective, but -march=native -mcpu=native works on arm64 M2 Ultra

2024-01-08 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113257 --- Comment #2 from Richard Earnshaw --- For -mcpu=native, the manual says: Additionally on native AArch64 GNU/Linux systems the value @samp{native} tunes performance to the host system. This option has no effect if the compiler is unable to r

[Bug c/113267] pragma novector ICEs when no loop condition

2024-01-08 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113267 Tamar Christina changed: What|Removed |Added Target Milestone|--- |14.0

[Bug libstdc++/59508] std::find could use specialized container's find

2024-01-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59508 --- Comment #7 from Jonathan Wakely --- (In reply to Oleg Endo from comment #6) > Right. If, then std::find should not invoke std::set::find (or > std::map::find etc) but the library's internal function to search the rb > tree. If that internal

[Bug tree-optimization/108477] fwprop over-optimizes conversion from + to |

2024-01-08 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108477 --- Comment #2 from Uroš Bizjak --- If we consider the following testcase: --cut here-- unsigned int foo (unsigned int a, unsigned int b) { unsigned int r = a & 0x1; unsigned int p = b & ~0x3; return r + p + 2; } unsigned int bar (unsig

[Bug target/113257] -march=native or -mcpu=native are ineffective, but -march=native -mcpu=native works on arm64 M2 Ultra

2024-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113257 --- Comment #3 from Sam James --- (In reply to Richard Earnshaw from comment #2) I'm missing why the combination then works though?

[Bug rust/113056] [14 regression] Build failure in libgrust

2024-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113056 --- Comment #13 from GCC Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:cde6f1085b7027f6a42fdb71c786d422606a8765 commit r14-6998-gcde6f1085b7027f6a42fdb71c786d422606a8765 Author: Thomas Schwinge Date

[Bug libstdc++/113260] missing from_chars/to_chars for __float128

2024-01-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113260 Jonathan Wakely changed: What|Removed |Added Status|WAITING |NEW --- Comment #8 from Jonathan Wake

[Bug libstdc++/113260] Add overloads of from_chars/to_chars for __float128

2024-01-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113260 --- Comment #9 from Jonathan Wakely --- I've changed the summary, because they're not "missing", since they're not required/supposed to exist anyway.

[Bug rust/113056] [14 regression] Build failure in libgrust

2024-01-08 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113056 Thomas Schwinge changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/113269] New: X86_64 generates extra mov (and xchg) when passing struct with constant value to function

2024-01-08 Thread denis.campredon at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113269 Bug ID: 113269 Summary: X86_64 generates extra mov (and xchg) when passing struct with constant value to function Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/112952] avr: attribute address not working with -fdata-sections -fno-common

2024-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112952 --- Comment #2 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:c131b1d5da412b9b0f0681fc5704cdc9b7cafb04 commit r14-6999-gc131b1d5da412b9b0f0681fc5704cdc9b7cafb04 Author: Georg-Johann Lay Dat

[Bug target/113257] -march=native or -mcpu=native are ineffective, but -march=native -mcpu=native works on arm64 M2 Ultra

2024-01-08 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113257 --- Comment #4 from Richard Earnshaw --- I'm not sure. My understanding was that -march=native started by looking up the CPU ID first and then using the internal mapping of that CPU to the architecture (which can't work if we don't recognize th

[Bug target/113270] New: [14 Regression] AArch64 ICEs in register_tuple_type

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113270 Bug ID: 113270 Summary: [14 Regression] AArch64 ICEs in register_tuple_type Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug target/113270] [14 Regression] AArch64 ICEs in register_tuple_type

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113270 Jakub Jelinek changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org Target Mi

[Bug target/112952] avr: attribute address not working with -fdata-sections -fno-common

2024-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112952 --- Comment #3 from GCC Commits --- The releases/gcc-13 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:5d0d592c486c31bd9c26af0d1f0a7b6a3d68c22b commit r13-8197-g5d0d592c486c31bd9c26af0d1f0a7b6a3d68c22b Author: Georg-Johann

[Bug target/113270] [14 Regression] AArch64 ICEs in register_tuple_type since r14-6524

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113270 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2024-01-08 Status|UNCONFIRM

[Bug tree-optimization/113271] New: [Regression] Wrong code at -O1/2/3 since GCC-9 (could be due to wrong optimization)

2024-01-08 Thread 652023330028 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113271 Bug ID: 113271 Summary: [Regression] Wrong code at -O1/2/3 since GCC-9 (could be due to wrong optimization) Product: gcc Version: 14.0 Status: UNCONFIRMED Seve

[Bug target/112952] avr: attribute address not working with -fdata-sections -fno-common

2024-01-08 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112952 Georg-Johann Lay changed: What|Removed |Added Priority|P3 |P5 Status|UNCONFIRMED

[Bug tree-optimization/113271] [Regression] Wrong code at -O1/2/3 since GCC-9 (could be due to wrong optimization)

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113271 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/113270] [14 Regression] AArch64 ICEs in register_tuple_type since r14-6524

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113270 Jakub Jelinek changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org --- Comment

[Bug target/113070] [14 regression] [AArch64] [PGO/LTO] Miscompilation of go compiler

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113070 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug target/113270] [14 Regression] AArch64 ICEs in register_tuple_type since r14-6524

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113270 --- Comment #3 from Jakub Jelinek --- --- gcc/config.gcc.jj 2024-01-03 11:51:24.640826829 +0100 +++ gcc/config.gcc 2024-01-08 13:40:08.583405822 +0100 @@ -350,7 +350,7 @@ aarch64*-*-*) cxx_target_objs="aarch64-c.o" d_targe

[Bug target/113077] [14 Regression] ICE in dwarf2out_frame_debug_cfa_offset with `-O2 -fstack-protector-strong -fstack-clash-protection`

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113077 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Prio

[Bug target/113114] [14 Regression] ICE compiling gcc.c-torture/execute/pr59643.cwith -mabi=ilp32; in try_promote_writeback aarch64-ldp-fusion.cc

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113114 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug target/113089] [14 Regression][aarch64] ICE in process_uses_of_deleted_def, at rtl-ssa/changes.cc:252 since r14-6605-gc0911c6b357ba9

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113089 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug target/113221] [14 Regression][aarch64]ICE in extract_insn, at recog.cc:2812 since r14-6605-gc0911c6b357ba9

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113221 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Prio

[Bug tree-optimization/113119] ICE: verify_ssa failed: definition in block 18 does not dominate use in block 4 at -O1 with _BitInt

2024-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113119 --- Comment #4 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7590d975ecfdae4f112b5086c017101c08f07e3e commit r14-7000-g7590d975ecfdae4f112b5086c017101c08f07e3e Author: Jakub Jelinek Date: M

[Bug tree-optimization/113120] during GIMPLE pass: bitintlower ICE: SIGSEGV with _BitInt() at -O2

2024-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113120 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:efef8d7ff43c6c489fd6e7c52d71494d21324c87 commit r14-7001-gefef8d7ff43c6c489fd6e7c52d71494d21324c87 Author: Jakub Jelinek Date: M

[Bug middle-end/113228] [14 Regression] ICE: recalculate_side_effects, at gimplify.cc:3347 since r14-6420

2024-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113228 --- Comment #15 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8c0dd8a6ff85d6e7b38957f2da400f5cfa8fef6b commit r14-7002-g8c0dd8a6ff85d6e7b38957f2da400f5cfa8fef6b Author: Jakub Jelinek Date:

[Bug middle-end/113228] [14 Regression] ICE: recalculate_side_effects, at gimplify.cc:3347 since r14-6420

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113228 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/113120] during GIMPLE pass: bitintlower ICE: SIGSEGV with _BitInt() at -O2

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

[Bug tree-optimization/113119] ICE: verify_ssa failed: definition in block 18 does not dominate use in block 4 at -O1 with _BitInt

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113119 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug target/112952] avr: attribute address not working with -fdata-sections -fno-common

2024-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112952 --- Comment #5 from GCC Commits --- The releases/gcc-12 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:ebae82f35033be6e022dce65cea0148ddf9df025 commit r12-10085-gebae82f35033be6e022dce65cea0148ddf9df025 Author: Georg-Johan

[Bug target/112952] avr: attribute address not working with -fdata-sections -fno-common

2024-01-08 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112952 --- Comment #6 from Georg-Johann Lay --- Also fixed on the v12 branch for v12.4+

[Bug c++/113272] New: Wrong specialization of class template selected

2024-01-08 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113272 Bug ID: 113272 Summary: Wrong specialization of class template selected Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug target/113270] [14 Regression] AArch64 ICEs in register_tuple_type since r14-6524

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113270 --- Comment #4 from Jakub Jelinek --- Of course, another bug is that the declaration of aarch64_simd_types isn't GTY marked: --- gcc/config/aarch64/aarch64-builtins.h.jj2024-01-03 12:01:17.852557952 +0100 +++ gcc/config/aarch64/aarch64-built

[Bug target/113270] [14 Regression] AArch64 ICEs in register_tuple_type since r14-6524

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113270 --- Comment #5 from Jakub Jelinek --- Created attachment 57005 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57005&action=edit gcc14-pr113270.patch This seems to work by making the type static to the aarch64-builtins.cc TU and using an e

[Bug tree-optimization/113026] Bogus -Wstringop-overflow warning on simple memcpy type loop

2024-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113026 --- Comment #6 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b3cc5a1efead520bc977b4ba51f1328d01b3e516 commit r14-7003-gb3cc5a1efead520bc977b4ba51f1328d01b3e516 Author: Richard Biener Date:

[Bug tree-optimization/113026] Bogus -Wstringop-overflow warning on simple memcpy type loop

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

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

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 113026, which changed state. Bug 113026 Summary: Bogus -Wstringop-overflow warning on simple memcpy type loop https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113026 What|Removed |Added

[Bug target/113273] New: [14 Regression][x86][asan] ICE Segmentation fault since r14-6946-ge66dc37b299cac

2024-01-08 Thread mjires at suse dot cz via Gcc-bugs
it/GCC/master/configure --prefix=/home/mjires/built/master --disable-bootstrap --enable-languages=c,c++,fortran,lto --disable-multilib --disable-libsanitizer --enable-checking Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20240108 (experimental) (GCC)

[Bug target/113115] [14 Regression] ICE In extract_constrain_insn_cached recog.cc with ppc64le-linux-gnu crosscompiler from r14-3592-g9ea1248604d7b6

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113115 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-01-08 Priority|P3

[Bug target/113273] [14 Regression][x86][asan] ICE Segmentation fault since r14-6946-ge66dc37b299cac

2024-01-08 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113273 --- Comment #1 from Ilya Leoshkevich --- Hi, sorry about the regression. Could you please check if https://inbox.sourceware.org/gcc-patches/20240108092434.554918-1-...@linux.ibm.com/ fixes that for you?

[Bug tree-optimization/113126] [14 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:325 at -O1

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

[Bug target/113140] [13/14 regression] segmentation fault during delay slot scheduling

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113140 Richard Biener changed: What|Removed |Added Target Milestone|14.0|13.3 Summary|[13 regression

[Bug sanitizer/113151] Need for a TBAA / strict aliasing sanitizer (TySan)

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113151 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug target/113273] [14 Regression][x86][asan] ICE Segmentation fault since r14-6946-ge66dc37b299cac

2024-01-08 Thread mjires at suse dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113273 --- Comment #2 from Michal Jireš --- (In reply to Ilya Leoshkevich from comment #1) > Hi, sorry about the regression. Could you please check if > https://inbox.sourceware.org/gcc-patches/20240108092434.554918-1-iii@linux. > ibm.com/ fixes that

[Bug target/113273] [14 Regression][x86][asan] ICE Segmentation fault since r14-6946-ge66dc37b299cac

2024-01-08 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113273 --- Comment #3 from Ilya Leoshkevich --- Thank you for the confirmation. I will push the fix as soon as my regtests finish.

[Bug target/113156] [14 Regression] AVR build broken due to ICE while compiling libgcc, started with r14-6201-gf0a90c7d7333fc

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113156 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0 CC|

[Bug middle-end/113164] [missed optimization] struct fields should not alias

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

[Bug middle-end/113182] [14 Regression] FAIL: g++.dg/cpp0x/udlit-namespace.C -std=c++14 execution test

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

[Bug sanitizer/113151] Need for a TBAA / strict aliasing sanitizer (TySan)

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113151 --- Comment #3 from Jakub Jelinek --- I was just contemplating its implementation (and/or hoping somebody else would handle it), never actually implemented anything.

[Bug other/113190] Alert not to report bugs against EOL releases

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113190 --- Comment #3 from Richard Biener --- The issue is we allow "unknown" as Version (we have a web component and share a bugzilla instance with classpath), so disabling versions for new bug reporting which is a thing doesn't really help.

[Bug ada/113195] [13/14 regression] internal error on anonymous access type equality

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113195 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug middle-end/113182] [14 Regression] FAIL: g++.dg/cpp0x/udlit-namespace.C -std=c++14 execution test

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

[Bug ipa/113197] [14 Regression] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197 Richard Biener changed: What|Removed |Added Keywords||lto, needs-bisection Componen

[Bug lto/113204] lto1: error: qsort comparator non-negative on sorted output: 64

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113204 --- Comment #4 from Richard Biener --- it's really odd, I don't see how it could fail. The only suspicious bit is int file_order1 = n1->lto_file_data ? n1->lto_file_data->order : -1; int file_order2 = n2->lto_file_data ? n2->lto_file_data-

[Bug middle-end/113205] [14 Regression] internal compiler error: in backward_pass, at tree-vect-slp.cc:5346

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113205 Richard Biener changed: What|Removed |Added Keywords||needs-bisection, |

[Bug c/113215] gimple FE can't handle static local variable with initializer

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

[Bug testsuite/113226] [14 Regression] testsuite/std/ranges/iota/max_size_type.cc fails for cris-elf after r14-6888-ga138b99646a555

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113226 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug target/113229] [14 Regression] gcc.dg/torture/pr70083.c ICEs when compiled with -march=armv9-a+sve2

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

[Bug target/113077] [14 Regression] ICE in dwarf2out_frame_debug_cfa_offset with `-O2 -fstack-protector-strong -fstack-clash-protection`

2024-01-08 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113077 --- Comment #4 from Alex Coplan --- So pro_and_epilogue has: ``` (insn/f 55 54 56 2 (set (mem/c:DI (plus:DI (reg/f:DI 31 sp) (const_int 16 [0x10])) [2 S8 A8]) (reg:DI 19 x19)) "t.c":2:28 -1 (expr_list:REG_CFA_OFFSE

[Bug c++/113274] New: Memoization in template parameters is overly aggressive; false memoization for const pointers

2024-01-08 Thread janschultke at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113274 Bug ID: 113274 Summary: Memoization in template parameters is overly aggressive; false memoization for const pointers Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/113235] SMHasher SHA3-256 benchmark is almost 40% slower vs. Clang (not enough complete loop peeling)

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113235 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug target/113235] SMHasher SHA3-256 benchmark is almost 40% slower vs. Clang (not enough complete loop peeling)

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113235 --- Comment #8 from Richard Biener --- Created attachment 57006 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57006&action=edit unroll heuristics this one

[Bug tree-optimization/113239] [13/14 regression] After 822a11a1e64, bogus -Warray-bounds warnings in std::vector

2024-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113239 Richard Biener changed: What|Removed |Added Summary|[13 regression] After |[13/14 regression] After

[Bug target/113077] [14 Regression] ICE in dwarf2out_frame_debug_cfa_offset with `-O2 -fstack-protector-strong -fstack-clash-protection`

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113077 --- Comment #5 from Jakub Jelinek --- I think generally one shouldn't be reordering frame related instructions or needs to be extremely careful when doing so.

[Bug c++/113274] Memoization in template parameters is overly aggressive; false memoization for const pointers

2024-01-08 Thread janschultke at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113274 --- Comment #1 from Jan Schultke --- Original problem and more discussion: https://stackoverflow.com/q/4976/5740428

[Bug target/113077] [14 Regression] ICE in dwarf2out_frame_debug_cfa_offset with `-O2 -fstack-protector-strong -fstack-clash-protection`

2024-01-08 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113077 --- Comment #6 from Alex Coplan --- Looks like sched_fusion is doing the re-ordering.

[Bug target/112937] [14 Regression] GCN: FAILs due to unconditional 'f->use_flat_addressing = true;'

2024-01-08 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112937 --- Comment #3 from Thomas Schwinge --- The GCN offloading 'libgomp.fortran/target1.f90' regression has been cured by commit r14-6996-gc5c3aab38132ea34dc1ee69d93fded787e6ac7a4 "amdgcn: Don't double-count AVGPRs" (..., but not the GCN target regr

[Bug c++/113274] Memoization in template parameters is overly aggressive; false memoization for const pointers

2024-01-08 Thread janschultke at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113274 --- Comment #2 from Jan Schultke --- OOPS, I've messed up the repro. It should be true in the partial specialization. https://godbolt.org/z/11dW3cTfc

[Bug target/113275] New: tests pr110268-1.c pr110268-2.c csinc-1.c csinv-1.c fail after gcc-14-5396-ged52bc2e30c

2024-01-08 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113275 Bug ID: 113275 Summary: tests pr110268-1.c pr110268-2.c csinc-1.c csinv-1.c fail after gcc-14-5396-ged52bc2e30c Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c++/113274] Memoization in template parameters is overly aggressive; false memoization for const pointers

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

[Bug c++/113272] Wrong specialization of class template selected

2024-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113272 Andrew Pinski changed: What|Removed |Added CC||janschultke at googlemail dot com ---

[Bug middle-end/113182] [14 Regression] FAIL: g++.dg/cpp0x/udlit-namespace.C -std=c++14 execution test

2024-01-08 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113182 --- Comment #7 from dave.anglin at bell dot net --- On 2024-01-08 9:29 a.m., jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113182 > > Jakub Jelinek changed: > > What|Removed |A

[Bug target/113270] [14 Regression] AArch64 ICEs in register_tuple_type since r14-6524

2024-01-08 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113270 --- Comment #6 from Richard Sandiford --- I think we want the patch in comment 3, but in addition, I then also needed to use the following for a similar SVE case: extern GTY(()) tree scalar_types[NUM_VECTOR_TYPES + 1]; tree scalar_types[NUM_VEC

[Bug tree-optimization/113210] [14 Regression] ICE: tree check: expected integer_cst, have cond_expr in get_len, at tree.h:6481

2024-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210 Jakub Jelinek changed: What|Removed |Added Attachment #56993|0 |1 is obsolete|

  1   2   3   >