[Bug c/119877] New: [12/13/14/15/16 Regression] Honor __attribute__((unused)) and don't issue a warning -Wunused-function

2025-04-20 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119877 Bug ID: 119877 Summary: [12/13/14/15/16 Regression] Honor __attribute__((unused)) and don't issue a warning -Wunused-function Product: gcc Version: 15.0

[Bug c/119842] [15/16 Regression] ICE: in c_type_tag, at c/c-typeck.cc:606

2025-04-20 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119842 uecker at gcc dot gnu.org changed: What|Removed |Added CC||uecker at gcc dot gnu.org --

[Bug c/119877] [12/13/14/15/16 Regression] Honor __attribute__((unused)) and don't issue a warning -Wunused-function

2025-04-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119877 --- Comment #1 from Andrew Pinski --- This is by design IIRC.

[Bug c++/60551] __attribute__((unused)) is ignored for 'static' declarations

2025-04-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60551 Andrew Pinski changed: What|Removed |Added CC||mcccs at gmx dot com --- Comment #4 from

[Bug tree-optimization/119876] suboptimal code for avx512 conditinal move

2025-04-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119876 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-04-20 CC|

[Bug tree-optimization/119872] [15/16 regression] wrong code at -O{1,2,s}

2025-04-20 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119872 mcccs at gmx dot com changed: What|Removed |Added Attachment #61163|0 |1 is obsolete|

[Bug target/119879] New: [r16-39 Regression] FAIL: gcc.target/i386/avx512fp16-trunc-extendvnhf.c

2025-04-20 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119879 Bug ID: 119879 Summary: [r16-39 Regression] FAIL: gcc.target/i386/avx512fp16-trunc-extendvnhf.c Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/119880] New: fwide must be called before and after std::wcout to change wide orientation to allow std::cout works

2025-04-20 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119880 Bug ID: 119880 Summary: fwide must be called before and after std::wcout to change wide orientation to allow std::cout works Product: gcc Version: 16.0 Status: UNCONFIRM

[Bug tree-optimization/119881] New: support alias analysis for large number of pointers

2025-04-20 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119881 Bug ID: 119881 Summary: support alias analysis for large number of pointers Product: gcc Version: unknown Status: UNCONFIRMED Keywords: missed-optimization Severity: nor

[Bug target/119876] New: suboptimal code for avx512 conditinal move

2025-04-20 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119876 Bug ID: 119876 Summary: suboptimal code for avx512 conditinal move Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: ta

[Bug c++/107616] c++tools: select not found breaks build

2025-04-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107616 --- Comment #5 from GCC Commits --- The releases/gcc-12 branch has been updated by John David Anglin : https://gcc.gnu.org/g:3ea4b96173db521366cd5d62c125d4cb6c8f6065 commit r12-11062-g3ea4b96173db521366cd5d62c125d4cb6c8f6065 Author: John David

[Bug tree-optimization/119872] [15/16 regression] wrong code at -O{1,2,s}

2025-04-20 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119872 --- Comment #3 from mcccs at gmx dot com --- Created attachment 61163 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61163&action=edit cleaned up I cleaned up the testcase, without changing the arithmetic, so it passes with 14.2 -O3 and tr

[Bug rtl-optimization/116479] [15/16 Regression] wrong code with -O -funroll-loops -finline-stringops -fmodulo-sched --param=max-iterations-computation-cost=637924876 on aarch64

2025-04-20 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116479 mcccs at gmx dot com changed: What|Removed |Added CC||mcccs at gmx dot com --- Comment

[Bug rtl-optimization/116479] [15/16 Regression] wrong code with -O -funroll-loops -finline-stringops -fmodulo-sched --param=max-iterations-computation-cost=637924876 on aarch64 since r15-1447-g5d0c1b

2025-04-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116479 Sam James changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug tree-optimization/119872] [15/16 regression] wrong code at -O{1,2,s} since r15-1809-g735edbf1e2479f

2025-04-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119872 Sam James changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org Summ

[Bug tree-optimization/119592] [12/13/14/15/16 Regression] false positive array bounds warning with set> since r12-1992-g6feb628a706e86

2025-04-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119592 Sam James changed: What|Removed |Added Keywords|needs-bisection | Summary|[12/13/14/15/16 Regress

[Bug c/119878] New: __builtin_has_attribute(VAR, nonstring) does not work on multidimensional arrays marked with nonstring

2025-04-20 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119878 Bug ID: 119878 Summary: __builtin_has_attribute(VAR, nonstring) does not work on multidimensional arrays marked with nonstring Product: gcc Version: 15.0 Status: UNCONFI

[Bug tree-optimization/119875] loop with floating point conditional move not vectorized without -ffast-math

2025-04-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119875 --- Comment #1 from Andrew Pinski --- Try with just -fno-trapping-math . And try clang with -ftrapping-math. Since gcc and clang have opposite settings here.

[Bug c/54192] -fno-trapping-math by default?

2025-04-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192 Andrew Pinski changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #

[Bug tree-optimization/119875] loop with floating point conditional move not vectorized without -ffast-math

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

[Bug target/101197] __builtin_memmove (64) does not expand inline for AVX2

2025-04-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 Andrew Pinski changed: What|Removed |Added Summary|__builtin_memmove does not |__builtin_memmove (64) does

[Bug c/119877] [12/13/14/15/16 Regression] Honor __attribute__((unused)) and don't issue a warning -Wunused-function

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

[Bug tree-optimization/119875] New: loop with floating point conditional move not vectorized without -ffast-math

2025-04-20 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119875 Bug ID: 119875 Summary: loop with floating point conditional move not vectorized without -ffast-math Product: gcc Version: unknown Status: UNCONFIRMED Severity

[Bug tree-optimization/119875] loop with floating point conditional move not vectorized without -ffast-math

2025-04-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119875 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Try with just -fno-trapping-math . > > And try clang with -ftrapping-math. > > Since gcc and clang have opposite settings here. Yes it is trapping math, let m

[Bug c++/119866] constexpr with __builtin_strlen does not always work

2025-04-20 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119866 --- Comment #9 from Barry Revzin --- > I think it was never intentionally supported in constexpr (it just happened > to work) and so such code was never correct. Can it just be made to work in constexpr? Is there a reason not to? It already mo

[Bug target/117863] Missing pcmpeq splitters

2025-04-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117863 --- Comment #1 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:a9fc1b9dec92842b3a978183388c1833918776fd commit r16-44-ga9fc1b9dec92842b3a978183388c1833918776fd Author: H.J. Lu Date: Sun Apr 20 15:0

[Bug target/117863] Missing pcmpeq splitters

2025-04-20 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117863 H.J. Lu changed: What|Removed |Added Target Milestone|--- |15.0 Status|UNCONFIRMED

[Bug d/119826] [13/14/15/16 regression] ICE: verify_type failed: type variant differs by TYPE_MAX_VALUE with -g

2025-04-20 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119826 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/114932] IVopts inefficient handling of signed IV used for addressing.

2025-04-20 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114932 --- Comment #27 from Tamar Christina --- (In reply to Tianyang Chou from comment #26) > (In reply to Tamar Christina from comment #0) > > Hi Tamar, > After reading the whole discussion, I still confused about how does the > immediate offset

[Bug tree-optimization/119592] [12/13/14/15/16 Regression] false positive array bounds warning with set>

2025-04-20 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119592 mcccs at gmx dot com changed: What|Removed |Added CC||mcccs at gmx dot com --- Comment

[Bug target/116030] [15 regression] ICE "could not split insn" in final_scan_insn_1, at final.cc on power pc since r15-1576-g6274f10318d053

2025-04-20 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116030 --- Comment #11 from Jiu Fu Guo --- (In reply to Peter Bergner from comment #10) > Testing was clean with the patch updated with Kewen and Sam's suggestions, > so I pushed the commit given Kewen's approval in the patch thread. Hi Peter, thanks!

[Bug c++/119864] [15/16 Regression][modules] ICE with -fmodules and omp reduction of UDT

2025-04-20 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119864 --- Comment #3 from Pilar Latiesa --- The original testcase also ICEs with G++ 14. However, simpler omp constructs (such as #pragma opm parallel for) work with G++-14 + -fmodules-ts. G++-15 fails to compile anything if the combo -fmodules -fope

[Bug c++/119863] [15/16 Regression][modules] Bogus conflicting friend template declaration

2025-04-20 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119863 --- Comment #4 from Pilar Latiesa --- Thanks Nathaniel. I could workaround this issue in my usecase by simply granting friendship to the particular instantiation that needed it.

[Bug d/119817] d: internal compiler error: in dwarf2out_imported_module_or_decl, at dwarf2out.cc:27676

2025-04-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119817 --- Comment #5 from GCC Commits --- The releases/gcc-12 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:0701c8d32507d9014c5b425157a034632d01e45f commit r12-11061-g0701c8d32507d9014c5b425157a034632d01e45f Author: Iain Buclaw Dat

[Bug d/119817] d: internal compiler error: in dwarf2out_imported_module_or_decl, at dwarf2out.cc:27676

2025-04-20 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119817 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/118939] [14/15/16 Regression] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type since r14-2653-g2971ff7b1d564a

2025-04-20 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 --- Comment #21 from Nicolas Boulenguez --- Created attachment 61162 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61162&action=edit assembly file with 8 combinations of options Hello. Probably too late, but just in case… Here are the as

[Bug tree-optimization/119872] [15/16 regression] wrong code at -O{1,2,s}

2025-04-20 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119872 mcccs at gmx dot com changed: What|Removed |Added CC||mcccs at gmx dot com --- Comment