[Bug target/118778] New: ICE: SIGSEGV in print_type (c-objc-common.cc:239) OR unrecognizable insn: (set (reg:SF ...) (mem/c:SF ...)) with -mgeneral-regs-only and "float"

2025-02-06 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118778 Bug ID: 118778 Summary: ICE: SIGSEGV in print_type (c-objc-common.cc:239) OR unrecognizable insn: (set (reg:SF ...) (mem/c:SF ...)) with -mgeneral-regs-only and "float" Pro

[Bug tree-optimization/118706] [15 Regression] ICE on valid code at -O1 and above with "-fno-tree-fre" on x86_64-linux-gnu: in make_bit_field_load, at gimple-fold.cc:7862 since r15-7171

2025-02-06 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118706 Alexandre Oliva changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot gnu.org

[Bug target/118776] [12/13/14/15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|14.3

[Bug target/118601] [15] RISC-V: unrecognizable insn ICE in xtheadvector/pr114194.c on 32bit targets

2025-02-06 Thread majin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118601 Jin Ma changed: What|Removed |Added Last reconfirmed||2025-02-07 Status|UNCONFIRMED

[Bug rtl-optimization/117081] [15 Regression] FAIL: gcc.target/i386/pr91384.c since r15-1619-g3b9b8d6cfdf593

2025-02-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117081 --- Comment #15 from H.J. Lu --- r15-7400-gd3ff498c478ace gave $ cat x.c int f (int); int advance (int dz) { if (dz > 0) return (dz + dz) * dz; else return dz * f (dz); } [hjl@gnu-tgl-3 pr111673]$ make x.o /export/build/gnu/tools-bu

[Bug rtl-optimization/117081] [15 Regression] FAIL: gcc.target/i386/pr91384.c since r15-1619-g3b9b8d6cfdf593

2025-02-06 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117081 --- Comment #16 from Hongtao Liu --- (In reply to H.J. Lu from comment #15) > r15-7400-gd3ff498c478ace gave > > $ cat x.c > int f (int); > int > advance (int dz) > { > if (dz > 0) > return (dz + dz) * dz; > else > return dz * f (dz)

[Bug rtl-optimization/117081] [15 Regression] FAIL: gcc.target/i386/pr91384.c since r15-1619-g3b9b8d6cfdf593

2025-02-06 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117081 --- Comment #14 from Hongtao Liu --- > can be sinked to else branch(as sub + mov). When jle .L2 is not taken, > it can save one push instruction. And that's why 511.povray_r is improved. plus one pop instruction.

[Bug rtl-optimization/117081] [15 Regression] FAIL: gcc.target/i386/pr91384.c since r15-1619-g3b9b8d6cfdf593

2025-02-06 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117081 --- Comment #13 from Hongtao Liu --- (In reply to H.J. Lu from comment #10) > (In reply to Hongtao Liu from comment #9) > > (In reply to Hongtao Liu from comment #8) > > > (In reply to H.J. Lu from comment #7) > > > > Created attachment 60350 [d

[Bug c++/118777] False positive when extending lifetime of temporary containing reference, created by non-static member function [-Wdangling-reference]

2025-02-06 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118777 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #2 fr

[Bug target/117082] [15 Regression] FAIL: gcc.target/i386/stack-check-17.c since r15-1619-g3b9b8d6cfdf593

2025-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117082 --- Comment #8 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d3ff498c478acefce35de04402f99171b4f64a1a commit r15-7400-gd3ff498c478acefce35de04402f99171b4f64a1a Author: H.J. Lu Date: Sun Feb 2 07:

[Bug rtl-optimization/118497] [15 Regression] Worse code generated on i686-linux since r15-1619

2025-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118497 --- Comment #6 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d3ff498c478acefce35de04402f99171b4f64a1a commit r15-7400-gd3ff498c478acefce35de04402f99171b4f64a1a Author: H.J. Lu Date: Sun Feb 2 07:

[Bug target/118753] [15 Regression] [meta-bug] GCC 15 Regression on x86

2025-02-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118753 Bug 118753 depends on bug 117081, which changed state. Bug 117081 Summary: [15 Regression] FAIL: gcc.target/i386/pr91384.c since r15-1619-g3b9b8d6cfdf593 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117081 What|Removed

[Bug target/118753] [15 Regression] [meta-bug] GCC 15 Regression on x86

2025-02-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118753 Bug 118753 depends on bug 117082, which changed state. Bug 117082 Summary: [15 Regression] FAIL: gcc.target/i386/stack-check-17.c since r15-1619-g3b9b8d6cfdf593 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117082 What|Removed

[Bug rtl-optimization/117081] [15 Regression] FAIL: gcc.target/i386/pr91384.c since r15-1619-g3b9b8d6cfdf593

2025-02-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117081 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug rtl-optimization/117082] [15 Regression] FAIL: gcc.target/i386/stack-check-17.c since r15-1619-g3b9b8d6cfdf593

2025-02-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117082 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Component|target

[Bug fortran/116829] Missing default initialization of finalizable non-polymorphic intent(out) arguments

2025-02-06 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116829 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Commen

[Bug rtl-optimization/117081] [15 Regression] FAIL: gcc.target/i386/pr91384.c since r15-1619-g3b9b8d6cfdf593

2025-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117081 --- Comment #11 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d3ff498c478acefce35de04402f99171b4f64a1a commit r15-7400-gd3ff498c478acefce35de04402f99171b4f64a1a Author: H.J. Lu Date: Sun Feb 2 07

[Bug rtl-optimization/115932] [15 Regression] performance regression after r15-1619-g3b9b8d6cfdf593

2025-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115932 --- Comment #3 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d3ff498c478acefce35de04402f99171b4f64a1a commit r15-7400-gd3ff498c478acefce35de04402f99171b4f64a1a Author: H.J. Lu Date: Sun Feb 2 07:

[Bug rtl-optimization/116028] [15 Regression] gcc.dg/pr10474.c test failure since r15-1619-g3b9b8d6cfdf593

2025-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116028 --- Comment #16 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d3ff498c478acefce35de04402f99171b4f64a1a commit r15-7400-gd3ff498c478acefce35de04402f99171b4f64a1a Author: H.J. Lu Date: Sun Feb 2 07

[Bug rtl-optimization/111673] assign_hard_reg() routine should scale save/restore costs of callee save registers with basic block frequency

2025-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111673 --- Comment #5 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d3ff498c478acefce35de04402f99171b4f64a1a commit r15-7400-gd3ff498c478acefce35de04402f99171b4f64a1a Author: H.J. Lu Date: Sun Feb 2 07:

[Bug target/118771] [15 regression] aarch64 bootstrap fails with --enabled-checking=release because of uninitialized warning

2025-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118771 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug jit/117047] [15 regression] Segfault in libgccjit garbage collection when compiling GNU Emacs with Native Compilation

2025-02-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 --- Comment #6 from Sam James --- I'll try get back to bisecting this in the week. It's hard to reproduce in some environments. richi/jakub: can we make this P1 for now? it doesn't have to really block the release if it comes down to it, but I'

[Bug target/117036] [SH] add __builtin_sh_fsca, __builtin_sh_fsrra

2025-02-06 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117036 Oleg Endo changed: What|Removed |Added Status|UNCONFIRMED |NEW Depends on|

[Bug c++/118775] [12/13/14/15 Regression] ICE in tree_to_uhwi with unique_ptr and addresss of var converted to an integer

2025-02-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118775 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/118775] [12/13/14/15 Regression] ICE in tree_to_uhwi with unique_ptr and addresss of var converted to an integer

2025-02-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118775 --- Comment #3 from Marek Polacek --- I suppose we need something like --- a/gcc/cp/constexpr.cc +++ b/gcc/cp/constexpr.cc @@ -2909,6 +2909,11 @@ cxx_eval_call_expression (const constexpr_ctx *ctx, tree t, gcc_assert (arg0); if (new

[Bug target/118776] [12/13/14/15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 --- Comment #13 from Jakub Jelinek --- Maybe --- gcc/config/i386/sse.md.jj 2025-01-23 11:10:47.842729956 +0100 +++ gcc/config/i386/sse.md 2025-02-07 00:08:47.985933719 +0100 @@ -17703,12 +17703,12 @@ }) (define_expand "3_mask" - [(set

[Bug c++/118775] [12/13/14/15 Regression] ICE in tree_to_uhwi with unique_ptr and addresss of var converted to an integer

2025-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118775 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug c++/118777] False positive when extending lifetime of temporary containing reference, created by non-static member function [-Wdangling-reference]

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

[Bug target/67771] integer-to-floating-point conversions wrongly produce -0 in FE_DOWNWARD mode

2025-02-06 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67771 --- Comment #5 from Joseph S. Myers --- Various glibc functions work around this using FIX_INT_FP_CONVERT_ZERO, I suppose the new log10f implementation taken from CORE-MATH needs such a workaround as well.

[Bug target/118776] [14/15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 --- Comment #12 from Andrew Pinski --- Created attachment 60407 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60407&action=edit New testcase that shows happens all the way back to GCC 12.1

[Bug target/118776] [14/15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/118776] [14/15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 --- Comment #10 from Jakub Jelinek --- The reduced one started with r14-1412-g45466eecf5ef669164c0922e5be8fd288b144886 Again, latent before that.

[Bug target/118776] [14/15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 Andrew Pinski changed: What|Removed |Added Known to fail||14.1.0, 14.2.0 Known to work|

[Bug target/118776] [15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 --- Comment #8 from Jakub Jelinek --- Started with r15-3509-gd34cda720988674bcf8a24267c9e1ec61335d6de But guess is a backend bug rather than middle-end, so it was latent before.

[Bug target/118776] [15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 --- Comment #7 from Andrew Pinski --- Created attachment 60406 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60406&action=edit testcase without LTO `-O2 -march=tigerlake` is enough

[Bug c++/118777] New: False positive when extending lifetime of temporary containing reference, created by non-static member function [-Wdangling-reference]

2025-02-06 Thread haining.cpp at gmail dot com via Gcc-bugs
tps://gcc.gnu.org/bugzilla/attachment.cgi?id=60405&action=edit MRE to produce dangling reference warning gcc version 15.0.1 20250206 (experimental) (Compiler-Explorer-Build-gcc-9a409f5c862c5b2625c4b94145031394ef28-binutils-2.42) Configured with: ../gcc-trunk-20250206/configure --prefix=/opt/c

[Bug target/118776] [15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 --- Comment #6 from Sam James --- Not killed LTO yet. bitstream.i: ``` typedef struct { int quant_type; short *mpeg_quant_matrices } DECODER; char BitstreamReadHeaders_matrix[]; void set_intra_matrix(); void BitstreamReadHeaders(struct leng

[Bug target/118776] [15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 --- Comment #5 from Sam James --- bitstream.i: ``` typedef struct { int quant_type; short *mpeg_quant_matrices } DECODER; char BitstreamReadHeaders_matrix[]; void set_intra_matrix(); void BitstreamReadHeaders(struct length *bs, DECODER *dec)

[Bug fortran/59252] [F03] wrong code generation for allocatable character component

2025-02-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59252 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org ---

[Bug rtl-optimization/117081] [15 Regression] FAIL: gcc.target/i386/pr91384.c since r15-1619-g3b9b8d6cfdf593

2025-02-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117081 --- Comment #10 from H.J. Lu --- (In reply to Hongtao Liu from comment #9) > (In reply to Hongtao Liu from comment #8) > > (In reply to H.J. Lu from comment #7) > > > Created attachment 60350 [details] > > > ira: Don't increase callee-saved regi

[Bug c++/118775] [12/13/14/15 Regression] ICE in tree_to_uhwi with unique_ptr and addresss of var converted to an integer

2025-02-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118775 Marek Polacek changed: What|Removed |Added Keywords|needs-reduction | --- Comment #2 from Marek Polacek ---

[Bug target/109780] [12/13/14/15 Regression] csmith: runtime crash with -O2 -march=znver1

2025-02-06 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109780 --- Comment #36 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #35) > It is not a good idea to CSE address that refers to virtual stack vars to a > temporary. This defeats stack/frame pointer detection, mentioned in Comment > #33, a

[Bug target/118776] [15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 --- Comment #4 from Andrew Pinski --- Note if you change the linker script to just export decoder_decode you can remove xvid.i file from what is needed to reduce it.

[Bug target/118776] [15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection, |

[Bug target/118776] [15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/118776] [15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug target/118776] [15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 --- Comment #1 from Sam James --- Created attachment 60403 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60403&action=edit xvid-118776.tar.xz `x86_64-pc-linux-gnu-gcc -m32 decoder.i xvid.i bitstream.i quant_matrix.i -o /dev/null -shared

[Bug target/118776] New: [15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882)

2025-02-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118776 Bug ID: 118776 Summary: [15 regression] ICE when building xvid-1.3.7 with LTO (extract_insn, at recog.cc:2882) Product: gcc Version: 15.0 Status: UNCONFIRMED K

[Bug fortran/108454] ICE in gfc_trans_common, at fortran/trans-common.cc:1385

2025-02-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108454 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|

[Bug target/109780] [12/13/14/15 Regression] csmith: runtime crash with -O2 -march=znver1

2025-02-06 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109780 --- Comment #35 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #34) > The problematic code is expanded from: > > ;; Generating RTL for gimple basic block 5 > > ;; __builtin_memset (&k, 0, 40); > > (insn 21 20 22 (parallel [ >

[Bug c++/118775] [12/13/14/15 Regression] ICE in tree_to_uhwi with unique_ptr and addresss of var converted to an integer

2025-02-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118775 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Ever co

[Bug target/109780] [12/13/14/15 Regression] csmith: runtime crash with -O2 -march=znver1

2025-02-06 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109780 --- Comment #34 from Uroš Bizjak --- The problematic code is expanded from: ;; Generating RTL for gimple basic block 5 ;; __builtin_memset (&k, 0, 40); (insn 21 20 22 (parallel [ (set (reg:DI 107) (plus:DI (reg/f:D

[Bug target/109780] [12/13/14/15 Regression] csmith: runtime crash with -O2 -march=znver1

2025-02-06 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109780 --- Comment #33 from Uroš Bizjak --- FTR, ix86_find_max_used_stack_alignment increases alignment only when stack pointer or frame pointer are explicitly mentioned in : /* Find the maximum stack alignment. */ sub

[Bug c++/118763] [12/13/14/15 regression] memory leak involving early return from statement expressions since r12-6325

2025-02-06 Thread valentin at tolmer dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118763 --- Comment #4 from Valentin Tolmer --- I noticed that the standard (or at least cppreference) says that "The call to the allocation function (operator new) is sequenced before(since C++17) the evaluation of the constructor arguments in a new ex

[Bug c++/118775] New: ICE in tree_to_uhwi

2025-02-06 Thread nickooo314 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118775 Bug ID: 118775 Summary: ICE in tree_to_uhwi Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: un

[Bug fortran/108454] ICE in gfc_trans_common, at fortran/trans-common.cc:1385

2025-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108454 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:ca652aebd30132b2a9afbc07c664a35b5e443350 commit r14-11276-gca652aebd30132b2a9afbc07c664a35b5e443350 Author: Harald Anlauf

[Bug target/109780] [12/13/14/15 Regression] csmith: runtime crash with -O2 -march=znver1

2025-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109780 --- Comment #32 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #31) > #c29 works since r15-571-g1e0ae1f52741f7e0133661659ed2d210f939a398 That means it most likely went latent.

[Bug target/117036] [SH] add __builtin_sh_fsca, __builtin_sh_fsrra

2025-02-06 Thread skmp at emudev dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117036 Stefanos Kornilios Mitsis Poiitidis changed: What|Removed |Added CC||skmp at emudev dot

[Bug target/67771] integer-to-floating-point conversions wrongly produce -0 in FE_DOWNWARD mode

2025-02-06 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67771 --- Comment #4 from John Paul Adrian Glaubitz --- This regression causes two testsuite failures in glibc on 32-bit PowerPC: FAIL: math/test-float-log10 FAIL: math/test-float32-log10 See: https://buildd.debian.org/status/fetch.php?pkg=glibc&arch

[Bug target/109780] [12/13/14/15 Regression] csmith: runtime crash with -O2 -march=znver1

2025-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109780 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug preprocessor/118770] Random Segmentation fault in preprocessor from _Pragma push pop within _Pragma

2025-02-06 Thread ymity.me at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118770 --- Comment #4 from ymity.me at gmail dot com --- I would expect it to take longer in such a case, it's almost instant on my laptop, and quite random on my tower pc. If i modify it just a little bit it would continue endlessly.

[Bug fortran/116829] Missing default initialization of finalizable non-polymorphic intent(out) arguments

2025-02-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116829 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org,

[Bug preprocessor/118770] Random Segmentation fault in preprocessor from _Pragma push pop within _Pragma

2025-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118770 --- Comment #3 from Andrew Pinski --- (In reply to ymity.me from comment #2) > Pretty sure recursion doesn't result in crash normally, i don't quite see > why it should be marked as dup. The crash is because of not detecting of a recursion afte

[Bug target/111709] [13/14/15 Regression] Miscompilation of sysdeps/ieee754/dbl-64/s_fma.c since r13-1268-g8c99e307b20c50

2025-02-06 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111709 John David Anglin changed: What|Removed |Added Resolution|--- |MOVED Status|WAITING

[Bug target/109780] [12/13/14/15 Regression] csmith: runtime crash with -O2 -march=znver1

2025-02-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109780 Sam James changed: What|Removed |Added Keywords||needs-bisection Known to work|

[Bug middle-end/118608] [14/15 regression][mips64] Lack of sign extension with -Os/-O1 after r14-6915

2025-02-06 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118608 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com --- Co

[Bug preprocessor/118770] Random Segmentation fault in preprocessor from _Pragma push pop within _Pragma

2025-02-06 Thread ymity.me at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118770 --- Comment #2 from ymity.me at gmail dot com --- Pretty sure recursion doesn't result in crash normally, i don't quite see why it should be marked as dup.

[Bug target/109780] [12/13/14/15 Regression] csmith: runtime crash with -O2 -march=znver1

2025-02-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109780 --- Comment #29 from Sam James --- ``` char a; static int b, c, f; char *d = &a; static char *e = &a; void g(int h, int i) { int j = 1; for (; c != -3; c = c - 1) { int k[10]; f = 0; for (; f < 10; f++) k[f] = 0; *d = k

[Bug libfortran/114618] Format produces incorrect output when contains 1x, ok when uses " "

2025-02-06 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114618 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug c++/110345] [C++26] P2552R3 - On the ignorability of standard attributes

2025-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110345 --- Comment #17 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7169ee08203878ba351eedf206df7ff43014d634 commit r15-7391-g7169ee08203878ba351eedf206df7ff43014d634 Author: Jakub Jelinek Date:

[Bug tree-optimization/118756] tree-ssa-loop-ivopts.cc:1156: Function defined but not used

2025-02-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118756 Tamar Christina changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/118756] tree-ssa-loop-ivopts.cc:1156: Function defined but not used

2025-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118756 --- Comment #4 from GCC Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:8d19fbb2be487f19ed1c48699e17cafe19520525 commit r15-7395-g8d19fbb2be487f19ed1c48699e17cafe19520525 Author: Tamar Christina Date:

[Bug libfortran/114618] Format produces incorrect output when contains 1x, ok when uses " "

2025-02-06 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114618 --- Comment #9 from Jerry DeLisle --- I am thinking to backport this as it cleans up some output with garbage in it. Any thoughts?

[Bug libfortran/114618] Format produces incorrect output when contains 1x, ok when uses " "

2025-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114618 --- Comment #8 from GCC Commits --- The master branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:cfed99751c1a3b93ca66451eb1b62271e682f927 commit r15-7394-gcfed99751c1a3b93ca66451eb1b62271e682f927 Author: Jerry DeLisle Date: W

[Bug c++/85481] [12/13/14/15 Regression] ICE in maybe_explain_implicit_delete

2025-02-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85481 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/110345] [C++26] P2552R3 - On the ignorability of standard attributes

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

[Bug c++/110338] Implement C++26 language features

2025-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110338 Bug 110338 depends on bug 110345, which changed state. Bug 110345 Summary: [C++26] P2552R3 - On the ignorability of standard attributes https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110345 What|Removed |Added --

[Bug c++/110345] [C++26] P2552R3 - On the ignorability of standard attributes

2025-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110345 --- Comment #19 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6305c46fad5ae9b3b94b069c040cdd0c67e6e49e commit r15-7393-g6305c46fad5ae9b3b94b069c040cdd0c67e6e49e Author: Jakub Jelinek Date:

[Bug c++/110345] [C++26] P2552R3 - On the ignorability of standard attributes

2025-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110345 --- Comment #18 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:122b946cc632e472ee6d828f8adf05567cfaa831 commit r15-7392-g122b946cc632e472ee6d828f8adf05567cfaa831 Author: Jakub Jelinek Date:

[Bug target/118771] [15 regression] aarch64 bootstrap fails with --enabled-checking=release because of uninitialized warning

2025-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118771 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org La

[Bug target/118771] [15 regression] aarch64 bootstrap fails with --enabled-checking=release because of uninitialized warning

2025-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118771 Andrew Pinski changed: What|Removed |Added Summary|[15 regression] aarch64 |[15 regression] aarch64

[Bug target/118764] [avr] Add support for Compact Vector Table

2025-02-06 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118764 Georg-Johann Lay changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/118764] [avr] Add support for Compact Vector Table

2025-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118764 --- Comment #1 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:cb27337f9f4956e6eb634b26a7999ea68063f58a commit r15-7390-gcb27337f9f4956e6eb634b26a7999ea68063f58a Author: Georg-Johann Lay Dat

[Bug c++/102647] Wrong caret location for 'attribute directive ignored' warning

2025-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102647 Andrew Pinski changed: What|Removed |Added CC||gjl at gcc dot gnu.org --- Comment #3 f

[Bug c/118769] Provide better location information for diagnostics with -Wattributes

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

[Bug libfortran/118774] Tab skips miscalculated with 'stream' write

2025-02-06 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118774 Jerry DeLisle changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug preprocessor/106767] Failure to detect recursive macro calls due to _Pragma(pop_macro)

2025-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106767 Andrew Pinski changed: What|Removed |Added CC||ymity.me at gmail dot com --- Comment #

[Bug preprocessor/118770] Random Segmentation fault in preprocessor from _Pragma push pop within _Pragma

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

[Bug libfortran/118774] New: Tab skips miscalculated with 'stream' write

2025-02-06 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118774 Bug ID: 118774 Summary: Tab skips miscalculated with 'stream' write Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libf

[Bug fortran/118750] [14/15 Regression] ICE on associate with elemental function with polymorphic array dummy argument

2025-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118750 --- Comment #4 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:a03303b4d5b2ca58e5750a4d5bd735d85a091273 commit r15-7389-ga03303b4d5b2ca58e5750a4d5bd735d85a091273 Author: Paul Thomas Date: Thu F

[Bug target/118241] RISC-V ICE: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407 caused by prefetch instructions

2025-02-06 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118241 --- Comment #5 from Jeffrey A. Law --- There's 3 patches all in this same area that we're still sorting through.

[Bug target/111709] [13/14/15 Regression] Miscompilation of sysdeps/ieee754/dbl-64/s_fma.c since r13-1268-g8c99e307b20c50

2025-02-06 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111709 --- Comment #28 from John David Anglin --- Created attachment 60399 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60399&action=edit Patch Fixes fma testcases on hppa. This is a glibc bug.

[Bug target/111709] [13/14/15 Regression] Miscompilation of sysdeps/ieee754/dbl-64/s_fma.c since r13-1268-g8c99e307b20c50

2025-02-06 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111709 John David Anglin changed: What|Removed |Added Attachment #60399|0 |1 is obsolete|

[Bug c++/100570] g++ does not suppress bitfield conversion warning even isystem flag is set

2025-02-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100570 --- Comment #4 from Patrick Palka --- I can't reproduce this. > g++ -c -x c++ test.cpp -I /usr/local/include/qt5 -I > /usr/local/include/qt5/QtCore -g2 -gdwarf-2 -Wall -Wswitch > -W"no-deprecated-declarations" -W"empty-body" -Wconversion -W"r

[Bug c++/102116] structured binding is returned from a function as rvalue in C++20 mode

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

[Bug fortran/118750] [14/15 Regression] ICE on associate with elemental function with polymorphic array dummy argument

2025-02-06 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118750 Paul Thomas changed: What|Removed |Added Attachment #60396|0 |1 is obsolete|

[Bug c++/118773] [15 Regression] Invalid rejection of attribute with dependent argument since r15-3046

2025-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118773 --- Comment #1 from Jakub Jelinek --- Created attachment 60398 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60398&action=edit gcc15-pr118773.patch Untested fix.

[Bug c++/118773] [15 Regression] Invalid rejection of attribute with dependent argument since r15-3046

2025-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118773 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug c++/118773] New: [15 Regression] Invalid rejection of attribute with dependent argument since r15-3046

2025-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118773 Bug ID: 118773 Summary: [15 Regression] Invalid rejection of attribute with dependent argument since r15-3046 Product: gcc Version: 15.0 Status: UNCONFIRMED Se

[Bug target/118772] BPF doesn't actually support effective-target 'exceptions'?

2025-02-06 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118772 --- Comment #1 from Jose E. Marchesi --- Hello Thomas. I can confirm it is ok to get check_effective_target_exceptions to return 0 for bpf-*-* targets. Thanks!

  1   2   >