[Bug c++/121367] Clang and GCC diverge on acceptance of function declaration inside constructor body

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121367 --- Comment #1 from Andrew Pinski --- GCC thinks this: `S2(S2());` is a function declaration and S2 is the name of the constructor taking a S2 type. Because S2 is injected as the name of the constructor at this point ...

[Bug c++/121367] New: Clang and GCC diverge on acceptance of function declaration inside constructor body

2025-08-01 Thread jirehguo at tju dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121367 Bug ID: 121367 Summary: Clang and GCC diverge on acceptance of function declaration inside constructor body Product: gcc Version: 16.0 Status: UNCONFIRMED Seve

[Bug fortran/121366] When an intrinsic trigonometric function in degrees is used a a pointer target, an internal compiler error occurs

2025-08-01 Thread jean.vezina at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121366 --- Comment #1 from Jean Vézina --- Intel Fortran (ifx) compiles and executes the code correctly.

[Bug fortran/121366] New: When an intrinsic trigonometric function in degrees is used a a pointer target, an internal compiler error occurs

2025-08-01 Thread jean.vezina at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121366 Bug ID: 121366 Summary: When an intrinsic trigonometric function in degrees is used a a pointer target, an internal compiler error occurs Product: gcc Version: 1

[Bug tree-optimization/54565] pass_update_address_taken before forwprop1 for vectors

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54565 Andrew Pinski changed: What|Removed |Added Keywords||internal-improvement Target Milestone|

[Bug target/118480] Power9 target generates poor code for vector char splat immediate.

2025-08-01 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118480 --- Comment #11 from Steven Munroe --- (In reply to Segher Boessenkool from comment #9) > Both vsl and vslo actually look only at the right-most byte in the shift > amount argument (bits 125..127 resp. bits 121..124). In original AltiVec it > w

[Bug c/121365] atand64(small) gets a NAN

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

[Bug tree-optimization/36327] SCCVN should look through struct copies

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36327 Andrew Pinski changed: What|Removed |Added CC||dann at ics dot uci.edu --- Comment #5 f

[Bug tree-optimization/13952] [tree-ssa] SRA does not work for structs containing arrays

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13952 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #7 from Andrew Pin

[Bug c/121365] New: atand64(small) gets a NAN

2025-08-01 Thread tydeman at tybor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121365 Bug ID: 121365 Summary: atand64(small) gets a NAN Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee

[Bug tree-optimization/121364] [meta-bug] copy prop for aggregates

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121364 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-08-01 Status|UNCONFIRM

[Bug tree-optimization/121364] New: [meta-bug] copy prop for aggregates

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121364 Bug ID: 121364 Summary: [meta-bug] copy prop for aggregates Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug tree-optimization/121362] SCCVN (FRE) sometimes does not read through aggregate copies

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121362 --- Comment #1 from Andrew Pinski --- >This shows up in C++ code and in highway (with turning off SRA). Note in highway, Early sra is able to optimize it but there might be others which is not able to catch.

[Bug sanitizer/121363] Support C23 printf specifiers H, D, DD of DFP (decimal floating point)

2025-08-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121363 --- Comment #2 from Jakub Jelinek --- Though, which C library supports that? I thought only libdfp using hooks.

[Bug sanitizer/121363] Support C23 printf specifiers H, D, DD of DFP (decimal floating point)

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121363 --- Comment #1 from Andrew Pinski --- So libsanitizer is imported from the upstream of llvm. So this should be fixed there first.

[Bug sanitizer/121363] New: Support C23 printf specifiers H, D, DD of DFP (decimal floating point)

2025-08-01 Thread tydeman at tybor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121363 Bug ID: 121363 Summary: Support C23 printf specifiers H, D, DD of DFP (decimal floating point) Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severity: norma

[Bug tree-optimization/121362] Fre sometimes does not read through aggregate copies

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121362 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Version|14.2.0

[Bug tree-optimization/121362] New: Fre sometimes does not read through aggregate copies

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121362 Bug ID: 121362 Summary: Fre sometimes does not read through aggregate copies Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: nor

[Bug target/118480] Power9 target generates poor code for vector char splat immediate.

2025-08-01 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118480 --- Comment #10 from Segher Boessenkool --- (In reply to Steven Munroe from comment #8) > It seems the evolution of the PowerISA and Vector intrinsics has not been > smooth. > > It is not obvious how to generate xxspltib from an intrinsic. > Ve

[Bug c++/121361] New: Some C++ diagnostic information only appears in text sinks, not in SARIF

2025-08-01 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121361 Bug ID: 121361 Summary: Some C++ diagnostic information only appears in text sinks, not in SARIF Product: gcc Version: unknown Status: UNCONFIRMED Keywords: di

[Bug target/118480] Power9 target generates poor code for vector char splat immediate.

2025-08-01 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118480 --- Comment #9 from Segher Boessenkool --- Both vsl and vslo actually look only at the right-most byte in the shift amount argument (bits 125..127 resp. bits 121..124). In original AltiVec it was required to hold the same value in every lane, b

[Bug fortran/121360] New: Use of preliminary coarray with locks gives unexpected results

2025-08-01 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121360 Bug ID: 121360 Summary: Use of preliminary coarray with locks gives unexpected results Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug target/118480] Power9 target generates poor code for vector char splat immediate.

2025-08-01 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118480 --- Comment #8 from Steven Munroe --- It seems the evolution of the PowerISA and Vector intrinsics has not been smooth. It is not obvious how to generate xxspltib from an intrinsic. Vec_splat_s/u/# is very specific to VMX vspltisb/h/w and 5 bit

[Bug c++/121351] [15/16 Regression] Ambiguous resolution of constrained overloads imported from base class

2025-08-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121351 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/121359] [avr] Remove last remains of reload

2025-08-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121359 Georg-Johann Lay changed: What|Removed |Added Target||avr Target Milestone|---

[Bug target/121359] New: [avr] Remove last remains of reload

2025-08-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121359 Bug ID: 121359 Summary: [avr] Remove last remains of reload Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/121358] [15/16 Regression] SVE ICE compiling highway since r15-4235

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

[Bug target/121358] [15/16 Regression] SVE ICE compiling highway since r15-4235

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121358 --- Comment #1 from Andrew Pinski --- Created attachment 62032 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62032&action=edit Reduced to

[Bug target/121358] [15/16 Regression] SVE ICE compiling highway since r15-4235

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

[Bug target/121358] New: [15/16 Regression] SVE ICE compiling highway since r15-4235

2025-08-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121358 Bug ID: 121358 Summary: [15/16 Regression] SVE ICE compiling highway since r15-4235 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal P

[Bug cobol/119324] cppcheck meets /cobol/

2025-08-01 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119324 Robert Dubner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/121352] TLS access optimization should ignore tls_model attribute

2025-08-01 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121352 --- Comment #3 from Alexander Monakov --- I broadly agree with the new title of the bug: in absence of documented reason why not to, GCC should be able to upgrade TLS model as an optimization.

[Bug cobol/119324] cppcheck meets /cobol/

2025-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119324 --- Comment #13 from GCC Commits --- The master branch has been updated by Robert Dubner : https://gcc.gnu.org/g:8b06c58c4ae83d4007510f2d2c74ee979bc2b86a commit r16-2713-g8b06c58c4ae83d4007510f2d2c74ee979bc2b86a Author: Robert Dubner Date:

[Bug tree-optimization/121357] memset could be optimized better for structs that don't need to be in memory

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121357 --- Comment #3 from Andrew Pinski --- Created attachment 62031 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62031&action=edit self contained testcase

[Bug tree-optimization/121357] memset could be optimized better for structs that don't need to be in memory

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121357 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/121334] riscv: ICE compiling 523.xalancbmk_r with -fno-vect-cost-model

2025-08-01 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121334 --- Comment #3 from Robin Dapp --- (In reply to Richard Biener from comment #2) > Possibly some place in the vectorizer doesn't properly check a constant it > expands? But this is a VLS mode vector, so it should be loadable from > memory? > OTO

[Bug tree-optimization/121357] memset could be optimized better for structs that don't need to be in memory

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121357 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Summary|Bad code

[Bug c/121357] New: Bad codegen when generically 1-filling a struct in C

2025-08-01 Thread pskocik at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121357 Bug ID: 121357 Summary: Bad codegen when generically 1-filling a struct in C Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug tree-optimization/121356] [13/14/15/16 Regression] missing VRP though the loop with shifts

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121356 --- Comment #2 from Andrew Pinski --- Note solving this missed optimization will also solve PR 121345.

[Bug tree-optimization/121356] [13/14/15/16 Regression] missing VRP though the loop with shifts

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121356 --- Comment #1 from Andrew Pinski --- This function should be empty which is what it does for GCC 12.5.0.

[Bug tree-optimization/121356] [13/14/15/16 Regression] missing VRP

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121356 Andrew Pinski changed: What|Removed |Added Known to fail||13.1.0 Known to work|

[Bug middle-end/121352] tls_model attribute documentation needs update

2025-08-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121352 --- Comment #2 from H.J. Lu --- (In reply to Alexander Monakov from comment #1) > That patch deliberately takes care not to optimize in presence of the > attribute: > > /* Upgrade TLS access model based on optimized visibility status,

[Bug tree-optimization/121356] New: [13/14/15/16 Regression] missing VRP

2025-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121356 Bug ID: 121356 Summary: [13/14/15/16 Regression] missing VRP Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Pr

[Bug middle-end/121352] tls_model attribute documentation needs update

2025-08-01 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121352 --- Comment #1 from Alexander Monakov --- That patch deliberately takes care not to optimize in presence of the attribute: /* Upgrade TLS access model based on optimized visibility status, unless it was specified explicit

[Bug c++/120620] [13/14/15/16 Regression] Internal Compiler Error in tree.cc, Line #11240

2025-08-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120620 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/120620] [13/14/15/16 Regression] Internal Compiler Error in tree.cc, Line #11240

2025-08-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120620 --- Comment #6 from Jason Merrill --- (In reply to Patrick Palka from comment #5) > Do we intend to attempt constant evaluation of user-written __dynamic_cast > calls? If so, we need to make cxx_eval_dynamic_cast_fn robust to > non-constant/non

[Bug tree-optimization/121355] New: std::array comparison inside struct comparison does not inline memcmp

2025-08-01 Thread tdebock at DRWUK dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121355 Bug ID: 121355 Summary: std::array comparison inside struct comparison does not inline memcmp Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug c++/121351] [15/16 Regression] Ambiguous resolution of constrained overloads imported from base class

2025-08-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121351 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug modula2/121354] ICE when attempting to fold HIGH from an unbounded array in a nested procedure

2025-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121354 --- Comment #5 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:08196f044015737b81a454864684e57fbfc5b1a9 commit r16-2712-g08196f044015737b81a454864684e57fbfc5b1a9 Author: Gaius Mulley Date: Fri

[Bug c++/108080] ICE: in module.cc:core_vals with -fmodule-header and #pragma GCC target / optimize (shows up in fmt)

2025-08-01 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108080 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #23 fro

[Bug modula2/121354] ICE when attempting to fold HIGH from an unbounded array in a nested procedure

2025-08-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121354 --- Comment #2 from Gaius Mulley --- Running it again using gm2 to build the compiler yields the same ICE but using the m2 sources: $ gm2 -fiso squash1.mod the gm2 front end poisoned this symbol (schnur) In function ‘GetGPMString’: cc1gm2: int

[Bug modula2/121354] ICE when attempting to fold HIGH from an unbounded array in a nested procedure

2025-08-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121354 --- Comment #4 from Gaius Mulley --- Created attachment 62029 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62029&action=edit Proposed fix which ignores attempts at folding HIGH for unbounded arrays The bug fix re-implements gcc/m2/gm2-c

[Bug modula2/121354] ICE when attempting to fold HIGH from an unbounded array in a nested procedure

2025-08-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121354 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug modula2/121354] New: ICE when attempting to fold HIGH from an unbounded array in a nested procedure

2025-08-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121354 Bug ID: 121354 Summary: ICE when attempting to fold HIGH from an unbounded array in a nested procedure Product: gcc Version: 16.0 Status: UNCONFIRMED Severity:

[Bug modula2/121354] ICE when attempting to fold HIGH from an unbounded array in a nested procedure

2025-08-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121354 --- Comment #3 from Gaius Mulley --- The problem is that it is attempting to fold HIGH for an unbounded array. FoldHigh needs to ignore such cases.

[Bug cobol/120621] COBOL isn't built with STRICT_WARN

2025-08-01 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120621 Rainer Orth changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug tree-optimization/90242] [UBSAN]: in vn_reference_compute_hash

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

[Bug tree-optimization/121350] [16 regression] Segfault in aarch64.cc for SLP_TREE_MEMORY_ACCESS_TYPE since r16-2663-ga5aa73e547d738

2025-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121350 --- Comment #8 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:39d429631ff7060238dc046db4340a304560227f commit r16-2710-g39d429631ff7060238dc046db4340a304560227f Author: Richard Biener Date:

[Bug tree-optimization/121350] [16 regression] Segfault in aarch64.cc for SLP_TREE_MEMORY_ACCESS_TYPE since r16-2663-ga5aa73e547d738

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

[Bug target/120351] [15 regression] Assemble failure on armv7-a with -mfpu=neon (ldrex r1, [s14], invalid use of NEON registers) since r15-1579-g792f97b44ffc5e

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

[Bug middle-end/99619] fails to infer local-dynamic TLS model from hidden visibility

2025-08-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99619 Sam James changed: What|Removed |Added Target Milestone|--- |13.0

[Bug target/120351] [15 regression] Assemble failure on armv7-a with -mfpu=neon (ldrex r1, [s14], invalid use of NEON registers) since r15-1579-g792f97b44ffc5e

2025-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120351 --- Comment #9 from GCC Commits --- The releases/gcc-15 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e14a895275d08da5a6bf87f5816d0a1ff6a13931 commit r15-10189-ge14a895275d08da5a6bf87f5816d0a1ff6a13931 Author: Richard Earns

[Bug tree-optimization/121349] scalar_cond_masked_set optimization fails to consider all SLP lanes

2025-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121349 --- Comment #1 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:95aecacc8d9c40100f01433ba214103e756dc984 commit r16-2709-g95aecacc8d9c40100f01433ba214103e756dc984 Author: Richard Biener Date:

[Bug target/119702] PPCLE: Inefficient auto-vectorization for 64-bit shifts on Power9

2025-08-01 Thread avinashd at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119702 --- Comment #7 from Avinash Jayakar --- (In reply to Peter Bergner from comment #6) > If the vaddudm is the fastest sequence, then yes. Got it, I referred the power10 user manual to check the latency information, and vaddudm has better cpi, min

[Bug c++/121351] [15/16 Regression] Ambiguous resolution of constrained overloads imported from base class

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

[Bug c++/121353] New: [OpenMP] 'declare mapper' - ICE on invalid code, rejected in 'struct'

2025-08-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121353 Bug ID: 121353 Summary: [OpenMP] 'declare mapper' - ICE on invalid code, rejected in 'struct' Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: ice-on-i

[Bug tree-optimization/121350] [16 regression] Segfault in aarch64.cc for SLP_TREE_MEMORY_ACCESS_TYPE since r16-2663-ga5aa73e547d738

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121350 --- Comment #7 from Richard Biener --- diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc index 83b35608c60..5b363bb6a4d 100644 --- a/gcc/tree-vect-stmts.cc +++ b/gcc/tree-vect-stmts.cc @@ -8245,7 +8245,7 @@ vectorizable_store (vec_inf

[Bug tree-optimization/121350] [16 regression] Segfault in aarch64.cc for SLP_TREE_MEMORY_ACCESS_TYPE since r16-2663-ga5aa73e547d738

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121350 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/121352] New: tls_model attribute documentation needs update

2025-08-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121352 Bug ID: 121352 Summary: tls_model attribute documentation needs update Product: gcc Version: 13.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/121318] handle_tls_model_attribute failed to consider compiler options

2025-08-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121318 H.J. Lu changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug c/107419] attributes are ignored when selecting TLS model

2025-08-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107419 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #2 fro

[Bug tree-optimization/121350] [16 regression] Segfault in aarch64.cc for SLP_TREE_MEMORY_ACCESS_TYPE since r16-2663-ga5aa73e547d738

2025-08-01 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121350 --- Comment #5 from Dhruv Chawla --- Looks like line 17738 was missed as well.

[Bug c++/121351] New: [15/16 Regression] Ambiguous resolution of constrained overloads imported from base class

2025-08-01 Thread moncef.mechri at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121351 Bug ID: 121351 Summary: [15/16 Regression] Ambiguous resolution of constrained overloads imported from base class Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug tree-optimization/121350] [16 regression] Segfault in aarch64.cc for SLP_TREE_MEMORY_ACCESS_TYPE since r16-2663-ga5aa73e547d738

2025-08-01 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121350 --- Comment #4 from Dhruv Chawla --- Ah, sorry, I meant line 17853. The backtrace showed 17855.

[Bug tree-optimization/121350] [16 regression] Segfault in aarch64.cc for SLP_TREE_MEMORY_ACCESS_TYPE since r16-2663-ga5aa73e547d738

2025-08-01 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121350 --- Comment #3 from Dhruv Chawla --- I think aarch64.cc:17855 was missed in that patch? I also missed that patch, thanks.

[Bug tree-optimization/121350] [16 regression] Segfault in aarch64.cc for SLP_TREE_MEMORY_ACCESS_TYPE since r16-2663-ga5aa73e547d738

2025-08-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121350 --- Comment #2 from Sam James --- (In reply to Sam James from comment #1) > Should be fixed by > https://inbox.sourceware.org/gcc-patches/20250731112653.2752e13...@imap1.dmz- > prg2.suse.org/ i.e. r16-2665-g51c03570b3e650

[Bug tree-optimization/121350] [16 regression] Segfault in aarch64.cc for SLP_TREE_MEMORY_ACCESS_TYPE since r16-2663-ga5aa73e547d738

2025-08-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121350 --- Comment #1 from Sam James --- Should be fixed by https://inbox.sourceware.org/gcc-patches/20250731112653.2752e13...@imap1.dmz-prg2.suse.org/

[Bug tree-optimization/121350] New: [16 regression] Segfault in aarch64.cc for SLP_TREE_MEMORY_ACCESS_TYPE since r16-2663-ga5aa73e547d738

2025-08-01 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121350 Bug ID: 121350 Summary: [16 regression] Segfault in aarch64.cc for SLP_TREE_MEMORY_ACCESS_TYPE since r16-2663-ga5aa73e547d738 Product: gcc Version: 16.0

[Bug tree-optimization/121349] New: scalar_cond_masked_set optimization fails to consider all SLP lanes

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121349 Bug ID: 121349 Summary: scalar_cond_masked_set optimization fails to consider all SLP lanes Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2025-08-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 114627, which changed state. Bug 114627 Summary: undefined behavior in tree-profile.cc while compiling gcc.misc-tests/gcov-18.c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114627 What|Removed

[Bug middle-end/114627] undefined behavior in tree-profile.cc while compiling gcc.misc-tests/gcov-18.c

2025-08-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114627 Sam James changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug tree-optimization/90242] [UBSAN]: in vn_reference_compute_hash

2025-08-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90242 --- Comment #4 from Sam James --- $ gcc -c ./gcc/testsuite/c-c++-common/Warray-bounds.c -g -O2 /var/tmp/portage/sys-devel/gcc-16.0./work/gcc-16.0./gcc/poly-int.h:502:21: runtime error: signed integer overflow: 9223372036854775804 + 4 cann

[Bug other/67446] libiberty sha1.c:324 sanitizer runtime error: load of misaligned address 0x62f00011847e for type 'const sha1_uint32', which requires 4 byte alignment

2025-08-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67446 --- Comment #4 from Sam James --- (In reply to Mikhail Maltsev from comment #2) > BTW, a similar bug reproduces during GCC bootstrap with ubsan: > > /home/jenkins/workspace/ubsan-bootstrap/src/libiberty/md5.c:336:7: runtime > error: load of misa

[Bug libquadmath/99203] Undefined behaviour in libquadmath file print_fp.c function __quadmath_printf_fp

2025-08-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99203 --- Comment #3 from Sam James --- (In reply to Francois-Xavier Coudert from comment #2) > This is present in upstream (glibc), probably should be reported there: > https://sourceware.org/git/?p=glibc.git;a=blob;f=stdio-common/printf_fp.c; > h=75b

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2025-08-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 110678, which changed state. Bug 110678 Summary: UBSAN error: signed integer overflow: 249946095246429448 * 100 cannot be represented in type 'long int' when compiling pr103513.c https://gcc.gnu.org/bugzilla/show_bug.cgi?

[Bug gcov-profile/110678] UBSAN error: signed integer overflow: 249946095246429448 * 100 cannot be represented in type 'long int' when compiling pr103513.c

2025-08-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110678 Sam James changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug modula2/121314] quotes appearing in concatenated error strings

2025-08-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121314 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/87826] ubsan: gimple-ssa-store-merging.c:281

2025-08-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87826 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2025-08-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 87826, which changed state. Bug 87826 Summary: ubsan: gimple-ssa-store-merging.c:281 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87826 What|Removed |Added --

[Bug libstdc++/121348] New: `vector::resize(n, value)` incorrectly requires the element type to be assignable

2025-08-01 Thread iamsupermouse at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121348 Bug ID: 121348 Summary: `vector::resize(n, value)` incorrectly requires the element type to be assignable Product: gcc Version: 14.2.1 Status: UNCONFIRMED Seve

[Bug tree-optimization/121347] [13/14/15/16 regression] wrong code at -O1 and above on x86_64-linux-gnu

2025-08-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121347 Sam James changed: What|Removed |Added Summary|wrong code at -O1 and above |[13/14/15/16 regression]

[Bug tree-optimization/121338] UBSAN error in ivopts (signed integer overflow: 9223372036854775805 + 26 cannot be represented in type 'long int')

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

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 121338, which changed state. Bug 121338 Summary: UBSAN error in ivopts (signed integer overflow: 9223372036854775805 + 26 cannot be represented in type 'long int') https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121338

[Bug tree-optimization/121347] New: wrong code at -O1 and above on x86_64-linux-gnu

2025-08-01 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 16.0.0 20250801 (experimental) (GCC) [535] % [535] % gcctk -O3 small.c [536] % ./a.out Aborted [537

[Bug tree-optimization/121338] UBSAN error in ivopts (signed integer overflow: 9223372036854775805 + 26 cannot be represented in type 'long int')

2025-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121338 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7d66563e8152360a298dd1dcfe09491853db7f03 commit r16-2704-g7d66563e8152360a298dd1dcfe09491853db7f03 Author: Richard Biener Date:

[Bug c/113825] missing warning for omitted parameter names in function definitions (c23 extension)

2025-08-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113825 Sam James changed: What|Removed |Added Resolution|INVALID |FIXED Target Milestone|---

[Bug c/113825] missing warning for omitted parameter names in function definitions (c23 extension)

2025-08-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113825 --- Comment #2 from Sam James --- You can use -Wmissing-parameter-name for this as well now, added in r15-5314-g8833389e90d676.

[Bug libstdc++/121128] Dereferencing std::indirect causes use-after-free on a valid code

2025-08-01 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121128 --- Comment #2 from Tomasz Kamiński --- > Note that _M_objp's type i.e. _ATraits::pointer may not be a raw pointer > type, so the value category should be propagated. Allocator requirements imply that _ATraits::pointer, needs to produce equiva

[Bug tree-optimization/106883] SLSR may generate signed wrap

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106883 --- Comment #4 from Richard Biener --- diff --git a/gcc/gimple-ssa-strength-reduction.cc b/gcc/gimple-ssa-strength-reduction.cc index 55ee0ca33e4..6c85480364c 100644 --- a/gcc/gimple-ssa-strength-reduction.cc +++ b/gcc/gimple-ssa-strength-reduct

[Bug c/119950] __builtin_constant_p warning with -Wdeprecated-non-prototype inconsistent

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

  1   2   >