[Bug c/117139] New: ICE with invalid constexpr expression (tree check: expected integer_cst, have real_cst in get_len, at tree.h:6509)

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117139 Bug ID: 117139 Summary: ICE with invalid constexpr expression (tree check: expected integer_cst, have real_cst in get_len, at tree.h:6509) Product: gcc Version:

[Bug ipa/115033] [12 Regression] Incorrect optimization of by-reference closure fields by fre1 pass since r12-5113-gd70ef65692fced

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115033 Sam James changed: What|Removed |Added Known to work||12.4.1 Resolution|---

[Bug ipa/114207] [12 Regression] modref gets confused by vectorized code `-O3 -fno-tree-forwprop` since r12-5439

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114207 Sam James changed: What|Removed |Added Known to work||12.4.1 Resolution|---

[Bug ipa/111613] [12 Regression] Bit field stores can be incorrectly optimized away when -fstore-merging is in effect since r12-5383-g22c242342e38eb

2024-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111613 --- Comment #19 from GCC Commits --- The releases/gcc-12 branch has been updated by Sam James : https://gcc.gnu.org/g:0e3580191b449e599a4c8d7bfd634df2ca351d4a commit r12-10772-g0e3580191b449e599a4c8d7bfd634df2ca351d4a Author: Sam James Date:

[Bug tree-optimization/113787] [12 Regression] Wrong code at -O with ipa-modref on aarch64

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113787 Sam James changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug ipa/111613] [12 Regression] Bit field stores can be incorrectly optimized away when -fstore-merging is in effect since r12-5383-g22c242342e38eb

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111613 Sam James changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/117140] [15 regression] RISC-V: ICE in initialize_flags_in_bb for rv32gcv

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117140 --- Comment #2 from Andrew Pinski --- I suspect r15-4324-gaccb85345edb91 .

[Bug target/113952] Finish LRA transition for sparc by removing -mlra

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113952 Sam James changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |sjames at gcc dot gnu.org

[Bug testsuite/115545] [15 regression] missing/excess errors after r15-1394 for targets where sizeof(int)==sizeof(long)

2024-10-14 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115545 --- Comment #9 from seurer at gcc dot gnu.org --- Looks OK on powerpc, too.

[Bug bootstrap/117109] [15 Regression] "make gcc.pot" fails with "emit_diagnostic used incompatibly" since r15-4081-g385a232229a5b4 (diagnostics: bulletproof opening of SARIF output)

2024-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117109 --- Comment #2 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:23e7b702521aa5611060a0b8dd194f3801fc commit r15-4343-g23e7b702521aa5611060a0b8dd194f3801fc Author: David Malcolm Date: M

[Bug bootstrap/117109] [15 Regression] "make gcc.pot" fails with "emit_diagnostic used incompatibly" since r15-4081-g385a232229a5b4 (diagnostics: bulletproof opening of SARIF output)

2024-10-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117109 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/117111] [SH] delay slot is filled with wrong instruction

2024-10-14 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117111 --- Comment #6 from Oleg Endo --- (In reply to Jeffrey A. Law from comment #5) > reorg splits insns because doing so gives more opportunities to fill delay > slot, particularly when the asm-output step would generate multiple > instructions for

[Bug target/117111] [SH] delay slot is filled with wrong instruction

2024-10-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117111 --- Comment #7 from Jeffrey A. Law --- But reorg should handle that fine. It's got code to track dependencies and not move something in an unsafe manner. Of course all that code is incredibly hairy as it predates a control flow graph and real

[Bug target/117140] [15 regression] RISC-V: ICE in initialize_flags_in_bb for rv32gcv

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117140 --- Comment #1 from Andrew Pinski --- /* We are going to use the operand cache API, such as SET_USE, SET_DEF, and FOR_EACH_IMM_USE_FAST. The operand cache for each statement should be up-to-date. */ gcc_checking_a

[Bug ipa/108250] [12/13 regression] llvm-tblgen miscompiled on powerpc-unknown-linux-gnu since r12-5383-g22c242342e38eb

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108250 --- Comment #17 from Sam James --- Various IPA fixes have been backported now including for PR111613. I haven't yet checked if LLVM still fails but I suspect it works now.

[Bug ipa/115135] [12/13/14/15 regression] [C++] GCC produces wrong code at certain inlining levels on Aarch64 with -fno-exceptions, related to lambdas and variants since r12-5113-gd70ef65692fced

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115135 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug fortran/117136] [15 regression] ICE for gfortran.dg/typebound_operator_11.f90 since r15-4298-g3269a722b7a036

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117136 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/117140] New: [15 regression] RISC-V: ICE in initialize_flags_in_bb for rv32gcv

2024-10-14 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117140 Bug ID: 117140 Summary: [15 regression] RISC-V: ICE in initialize_flags_in_bb for rv32gcv Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/106057] [12/13/14/15 regression] Missed stmt_can_throw_external check in stmt_kills_ref_p

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106057 Sam James changed: What|Removed |Added Known to fail||10.5.0, 11.5.0, 12.4.1, |

[Bug c++/106057] [12/13/14/15 regression] Missed stmt_can_throw_external check in stmt_kills_ref_p

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106057 Sam James changed: What|Removed |Added Last reconfirmed||2024-10-15 Status|UNCONFIRMED

[Bug c++/106057] [12/13/14/15 regression] Missed stmt_can_throw_external check in stmt_kills_ref_p

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106057 --- Comment #8 from Sam James --- I guess that's why Honza didn't add it in r13-1241-g7fd34782b95bbe1b4dc9936b8923f86d4aaee379, actually. So the question is just if the testcase is valid or not. If it isn't, we're all done.

[Bug ipa/111245] [12/13/14/15 Regression] miscompilation: missing assignment when exception thrown since r12-5244-g64f3e71c302b4a13e61656ee509e7050b9bce978

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111245 --- Comment #6 from Sam James --- Honza?

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #22 from David Malcolm --- (In reply to David Malcolm from comment #18) [...snip...] > > I have work-in-progress patches that implement this as a new > -fdiagnostics-add-output= > option, but they're not yet ready to push upstream

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

2024-10-14 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117082 Haochen Jiang changed: What|Removed |Added CC||haochen.jiang at intel dot com --- Comm

[Bug c/117142] New: ICE: verify_flow_info failed: error: returns_twice call is not first in basic block 2 at -O1 and above

2024-10-14 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117142 Bug ID: 117142 Summary: ICE: verify_flow_info failed: error: returns_twice call is not first in basic block 2 at -O1 and above Product: gcc Version: 15.0 Status: UNCONFI

[Bug c++/117146] ICE on error recovery with openscad-2021.01

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117146 --- Comment #2 from Andrew Pinski --- >Extracting preprocessed source for this is a pain as it doesn't ICE with that. Since it is in tree_decl_hash, that looks like a GC issue ... So `--param=ggc-min-expand=1 --param=ggc-min-heapsize=1`

[Bug c++/117146] ICE on error recovery with openscad-2021.01

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117146 --- Comment #3 from Andrew Pinski --- It also might be related to r9-2651-gbdd039843c2df9 ...

[Bug tree-optimization/117147] [15 regression] ICE when building vtk-9.3.0 (crash in vect_build_slp_tree_1)

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117147 --- Comment #1 from Sam James --- ==2895651== Invalid read of size 1 ==2895651==at 0x23DD0DF: vect_build_slp_tree_1(vec_info*, unsigned char*, vec<_stmt_vec_info*, va_heap, vl_ptr>, unsigned int, poly_int<1u, unsigned long>*, bool*, bool*, t

[Bug tree-optimization/117147] [15 regression] ICE when building vtk-9.3.0 (crash in vect_build_slp_tree_1)

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117147 --- Comment #2 from Sam James --- Maybe a dupe of PR117060?

[Bug tree-optimization/117148] New: `-Os` results in much larger code than `-O2` about bitfields

2024-10-14 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117148 Bug ID: 117148 Summary: `-Os` results in much larger code than `-O2` about bitfields Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/117110] [15 Regression] Bootstrap broken on FreeBSD with build/genmatch

2024-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117110 --- Comment #7 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:384faebde257b0b5a0aa334718ef1b645d4c8d1e commit r15-4345-g384faebde257b0b5a0aa334718ef1b645d4c8d1e Author: Jakub Jelinek Date: T

[Bug tree-optimization/117147] New: [15 regression] ICE when building vtk-9.3.0 (crash in vect_build_slp_tree_1)

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117147 Bug ID: 117147 Summary: [15 regression] ICE when building vtk-9.3.0 (crash in vect_build_slp_tree_1) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: n

[Bug tree-optimization/117148] `-Os` results in much larger code than `-O2` about bitfields

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117148 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Andrew

[Bug tree-optimization/117147] [15 regression] ICE when building vtk-9.3.0 (crash in vect_build_slp_tree_1)

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117147 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code CC|

[Bug c++/116838] Problem with warming c23, c++23

2024-10-14 Thread lukaszcz18 at wp dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116838 --- Comment #6 from Jamaika --- (In reply to Jonathan Wakely from comment #3) > If you enable C++20 (or C++23) and GCC tells you that your code is not > compatible with C++20, fix the code. > > (In reply to Jamaika from comment #0) > > Codec vv

[Bug tree-optimization/105495] `__atomic_compare_exchange` prevents tail-call optimization

2024-10-14 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105495 --- Comment #8 from LIU Hao --- (In reply to LIU Hao from comment #7) > Oh, the sample code contained a typo: > >*(intptr_t*) out = ival; > > should be > >*(intptr_t*) out = icmp; > > However it doesn't affect the bug. ahh sorry pos

[Bug tree-optimization/105495] `__atomic_compare_exchange` prevents tail-call optimization

2024-10-14 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105495 --- Comment #7 from LIU Hao --- Oh, the sample code contained a typo: *(intptr_t*) out = ival; should be *(intptr_t*) out = icmp; However it doesn't affect the bug.

[Bug tree-optimization/117148] `-Os` results in much larger code than `-O2` about bitfields

2024-10-14 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117148 --- Comment #2 from LIU Hao --- Oh, the sample code contained a typo: *(intptr_t*) out = ival; should be *(intptr_t*) out = icmp; However it doesn't affect the bug. (https://godbolt.org/z/fdxbbadnj) It's because GCC fail to inline `ato

[Bug middle-end/117141] New: gcc/match.pd: patten duplicates around signed_integer_sat_sub

2024-10-14 Thread slyfox at gcc dot gnu.org via Gcc-bugs
osix Supported LTO compression algorithms: zlib gcc version 15.0.0 20241014 (experimental) (GCC)

[Bug target/117116] [15 regression] error: unrecognizable insn: with -march=znver3

2024-10-14 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117116 --- Comment #12 from Uroš Bizjak --- Created attachment 59348 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59348&action=edit Proposed patch Patch in testing. Just leave CONST_VECTOR RTXes that won't simplify to integer in memory. The f

[Bug c/117139] ICE with invalid constexpr expression (tree check: expected integer_cst, have real_cst in get_len, at tree.h:6509)

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117139 --- Comment #1 from Sam James --- Note that for GCC 14 without checking (see https://godbolt.org/z/Tb53j8WWz), the user reports an odd "confused by earlier errors, bailing out" note: """ gcc-14 (14.2.1_p20240921 p1) also is a bit weird about th

[Bug c/117139] ICE with invalid constexpr expression (tree check: expected integer_cst, have real_cst in get_len, at tree.h:6509)

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

[Bug middle-end/117141] gcc/match.pd: patten duplicates around signed_integer_sat_sub

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

[Bug pch/54050] Add support for chaining of PCH

2024-10-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54050 Eric Gallager changed: What|Removed |Added Summary|chaining|Add support for chaining of

[Bug debug/111425] ia64: ICE in net/ipv4/fib_semantics.c:1621:1: internal compiler error: Segmentation fault

2024-10-14 Thread frank.scheiner at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111425 --- Comment #9 from Frank Scheiner --- Looks like this is fixed in gcc-15-20241013, I assume thanks to the fix for #116627. Just checked that cross-building Linux v6.12-rc3 for ia64 with the mentioned snapshot now works w/o using the workaround

[Bug c/117144] Waddress warning does not show up via macros with integrated preprocessor

2024-10-14 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117144 YunQiang Su changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c/117144] New: More warnings if gcc -E xx.c -o xx.i and gcc -c xx.i

2024-10-14 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117144 Bug ID: 117144 Summary: More warnings if gcc -E xx.c -o xx.i and gcc -c xx.i Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug c/117144] Waddress warning does not show up via macros with integrated preprocessor

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117144 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/117144] Waddress warning does not show up via macros with integrated preprocessor

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117144 --- Comment #2 from Andrew Pinski --- Note you can easily reproduce it by using `-save-temps` .

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

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113341 Sam James changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug tree-optimization/117145] New: ICE: in make_ssa_name_fn, at tree-ssanames.cc:355 at -O1 and above with vector_size

2024-10-14 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117145 Bug ID: 117145 Summary: ICE: in make_ssa_name_fn, at tree-ssanames.cc:355 at -O1 and above with vector_size Product: gcc Version: 15.0 Status: UNCONFIRMED Seve

[Bug ipa/117145] [14/15 Regression] ICE: in make_ssa_name_fn, at tree-ssanames.cc:355 at -O1 and above with vector_size and VLA in struct argument

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117145 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.3 Summary|ICE: in make_ss

[Bug ipa/117145] [14/15 Regression] ICE: in make_ssa_name_fn, at tree-ssanames.cc:355 at -O1 and above with vector_size and VLA in struct argument

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117145 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/117139] ICE with invalid constexpr expression (tree check: expected integer_cst, have real_cst in get_len, at tree.h:6509)

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117139 --- Comment #3 from Andrew Pinski --- Even more reduced: ``` constexpr int myconst = 5.0; ``` Also ICEs with complex integer too: ``` constexpr int myconst = 5i; ```

[Bug fortran/117136] [15 regression] ICE for gfortran.dg/typebound_operator_11.f90 since r15-4298-g3269a722b7a036

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117136 Sam James changed: What|Removed |Added CC||vehre at gcc dot gnu.org Keywords

[Bug ipa/91682] IPA-cp can not propagate value for by-ref argument in form of *arg = param op constant

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91682 Sam James changed: What|Removed |Added Target Milestone|--- |10.0

[Bug pch/79306] ICE on valid code building WebRTC with PCH

2024-10-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79306 Eric Gallager changed: What|Removed |Added Summary|ICE on valid code |ICE on valid code building

[Bug libstdc++/44952] #include implies global constructor.

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44952 --- Comment #19 from Sam James --- Is this one essentially fixed? I don't see a way of handling it for non-ELF and I doubt anyone really cares much about that for an optimisation like this.

[Bug target/117116] [15 regression] error: unrecognizable insn: with -march=znver3

2024-10-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117116 Hongtao Liu changed: What|Removed |Added Assignee|liuhongt at gcc dot gnu.org|uros at gcc dot gnu.org --- Commen

[Bug target/79786] [12/13/14/15 Regression] ICE tree check: expected class 'type', have 'declaration' (var_decl) in iamcu_alignment, at config/i386/i386.c:30263

2024-10-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79786 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #7

[Bug fortran/117136] ice for gfortran.dg/typebound_operator_11.f90

2024-10-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117136 --- Comment #1 from anlauf at gcc dot gnu.org --- Running f951 under valgrind I see: ==5119== Conditional jump or move depends on uninitialised value(s) ==5119==at 0xAF2DFC: gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*,

[Bug c++/107151] Specializing a concepted template can emit bogus assembly

2024-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107151 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org S

[Bug c++/100825] function signature constraints are not a part of mangled name

2024-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100825 Patrick Palka changed: What|Removed |Added CC||blubban at gmail dot com --- Comment #1

[Bug c++/100825] function signature constraints are not a part of mangled name

2024-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100825 --- Comment #16 from Patrick Palka --- *** Bug 103884 has been marked as a duplicate of this bug. ***

[Bug c++/103884] ICE when calling static and non-static member function templates with the same parameter types and requires clause

2024-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103884 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/117140] [15 regression] RISC-V: ICE in initialize_flags_in_bb for rv32gcv

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117140 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|--

[Bug target/49564] [cppcheck][patch] fixed resource and memory leaks in /gcc/gcc/config/alpha/host-osf.c

2024-10-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49564 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug other/89863] [meta-bug] Issues in gcc that other static analyzers (cppcheck, clang-static-analyzer, PVS-studio) find that gcc misses

2024-10-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89863 Bug 89863 depends on bug 47170, which changed state. Bug 47170 Summary: [cppcheck][PATCH] found resource leaks in gcc/intl/localealias.c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47170 What|Removed |Added --

[Bug ipa/115033] [12 Regression] Incorrect optimization of by-reference closure fields by fre1 pass since r12-5113-gd70ef65692fced

2024-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115033 --- Comment #26 from GCC Commits --- The releases/gcc-12 branch has been updated by Sam James : https://gcc.gnu.org/g:f2686f12e9345d95a2d6b7291bd777501d197869 commit r12-10768-gf2686f12e9345d95a2d6b7291bd777501d197869 Author: Jan Hubicka Date

[Bug ipa/114207] [12 Regression] modref gets confused by vectorized code `-O3 -fno-tree-forwprop` since r12-5439

2024-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114207 --- Comment #10 from GCC Commits --- The releases/gcc-12 branch has been updated by Sam James : https://gcc.gnu.org/g:e098149b6b2c61ffe9e758dcd3ef021a78f2d132 commit r12-10767-ge098149b6b2c61ffe9e758dcd3ef021a78f2d132 Author: Jan Hubicka Date

[Bug tree-optimization/113787] [12 Regression] Wrong code at -O with ipa-modref on aarch64

2024-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113787 --- Comment #26 from GCC Commits --- The releases/gcc-12 branch has been updated by Sam James : https://gcc.gnu.org/g:92889011625f16e7eed654a137b9c14a29282917 commit r12-10769-g92889011625f16e7eed654a137b9c14a29282917 Author: Jan Hubicka Date

[Bug ipa/111613] [12 Regression] Bit field stores can be incorrectly optimized away when -fstore-merging is in effect since r12-5383-g22c242342e38eb

2024-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111613 --- Comment #18 from GCC Commits --- The releases/gcc-12 branch has been updated by Sam James : https://gcc.gnu.org/g:65b67169fb1c641a11973988bd439e255d62131a commit r12-10771-g65b67169fb1c641a11973988bd439e255d62131a Author: Jan Hubicka Date

[Bug other/47170] [cppcheck][PATCH] found resource leaks in gcc/intl/localealias.c

2024-10-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47170 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/109985] [12/14 Regression] __builtin_prefetch ignored by GCC 12/13

2024-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109985 --- Comment #12 from GCC Commits --- The releases/gcc-12 branch has been updated by Sam James : https://gcc.gnu.org/g:b454ad0e4eb6bb38a6dfe15a43acb6792315640b commit r12-10770-gb454ad0e4eb6bb38a6dfe15a43acb6792315640b Author: Jan Hubicka Date

[Bug target/116883] Compile cpp code with rv32imafc_zve32f failed

2024-10-14 Thread fanghuaqi at vip dot qq.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116883 Huaqi changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/106057] Missed stmt_can_throw_external check in stmt_kills_ref_p

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106057 Sam James changed: What|Removed |Added Keywords||EH, wrong-code CC|

[Bug c++/117146] New: ICE on error recovery with openscad-2021.01

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117146 Bug ID: 117146 Summary: ICE on error recovery with openscad-2021.01 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: error-recovery Severity: normal Pr

[Bug c++/117146] ICE on error recovery with openscad-2021.01

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117146 --- Comment #1 from Sam James --- ==2895333== Invalid read of size 2 ==2895333==at 0x1C94E6B: UnknownInlinedFun (hash-map-traits.h:50) ==2895333==by 0x1C94E6B: UnknownInlinedFun (hash-map.h:52) ==2895333==by 0x1C94E6B: hash_table >::

[Bug tree-optimization/109985] [14 Regression] __builtin_prefetch ignored by GCC 12/13

2024-10-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109985 Sam James changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/109985] [14 Regression] __builtin_prefetch ignored by GCC 12/13

2024-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109985 --- Comment #13 from GCC Commits --- The releases/gcc-14 branch has been updated by Sam James : https://gcc.gnu.org/g:f0629e32278ef3966c00e889d0c6dce1de6115cc commit r14-10787-gf0629e32278ef3966c00e889d0c6dce1de6115cc Author: Jan Hubicka Date

[Bug tree-optimization/117140] [15 regression] RISC-V: ICE in initialize_flags_in_bb for rv32gcv

2024-10-14 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117140 --- Comment #3 from Edwin Lu --- Created attachment 59349 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59349&action=edit reduced testcase (In reply to Andrew Pinski from comment #2) > I suspect r15-4324-gaccb85345edb91 . Confirmed to b

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #23 from David Malcolm --- (In reply to David Malcolm from comment #21) [...snip...] > > FWIW SARIF has a distinction between a "result" and a "notification" where > the former refer to the software under test, and the latter to the

[Bug target/55212] [SH] Switch to LRA

2024-10-14 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #400 from Oleg Endo --- There was a latent issue that popped up as PR 113533 -- the cost estimation of sh_rtx_costs for mem loads/stores were a bit distorted. I've rebased the LRA devel branch https://github.com/olegendo/gcc/tree/de

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

2024-10-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117081 --- Comment #5 from Hongtao Liu --- *** Bug 117082 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/117142] [13/14/15 Regression] ICE: verify_flow_info failed: error: returns_twice call is not first in basic block 2 at -O1 and above

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117142 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-10-15 Status|UNCONFIRM

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

2024-10-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117082 Hongtao Liu changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug middle-end/117143] New: program crash under -O3 optimization or higher with function optimization flags assigned

2024-10-14 Thread bouncy12578 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117143 Bug ID: 117143 Summary: program crash under -O3 optimization or higher with function optimization flags assigned Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/117142] [13/14/15 Regression] ICE: verify_flow_info failed: error: returns_twice call is not first in basic block 2 at -O1 and above

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

[Bug middle-end/117143] program crash under -O3 optimization or higher with function optimization flags assigned

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117143 --- Comment #1 from Andrew Pinski --- Created attachment 59350 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59350&action=edit Better testcase you can use the noinline attribute to get the same effect, this has been fixed in GCC 14 ...

[Bug middle-end/117143] program crash under -O3 optimization or higher with function optimization flags assigned

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

[Bug middle-end/116749] [12/13 Regression] program crash under -O3 optimization

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116749 --- Comment #4 from Andrew Pinski --- *** Bug 117143 has been marked as a duplicate of this bug. ***

[Bug ada/114593] [12/13/14 regression] bogus error on type conversion in instantiation of child unit inside generic child unit

2024-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114593 --- Comment #11 from GCC Commits --- The releases/gcc-12 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:3bb9418811d2ce870bd1c1c98a2ddca1bdcce998 commit r12-10765-g3bb9418811d2ce870bd1c1c98a2ddca1bdcce998 Author: Eric Botcazou

[Bug ada/114593] [12/13/14 regression] bogus error on type conversion in instantiation of child unit inside generic child unit

2024-10-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114593 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/117133] [15 regression] Undefined references when building stockfish-17 (incbin)

2024-10-14 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117133 --- Comment #4 from Nathaniel Shead --- This is a bit of a strange case... strictly this (new) behaviour is correct, I think, since gEmbeddedNNUEBigData has internal linkage (see https://eel.is/c++draft/basic.link#4.9) and as such is not actuall

[Bug ada/114593] [12/13/14 regression] bogus error on type conversion in instantiation of child unit inside generic child unit

2024-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114593 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:b62c956f775408b9058a3c9b738462e5d67d8df7 commit r14-10785-gb62c956f775408b9058a3c9b738462e5d67d8df7 Author: Eric Botcazou

[Bug ada/114593] [12/13/14 regression] bogus error on type conversion in instantiation of child unit inside generic child unit

2024-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114593 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:aff061f0f51e2547b04c8d24c3b0dc713a6d62a3 commit r14-10784-gaff061f0f51e2547b04c8d24c3b0dc713a6d62a3 Author: Steve Baird D

[Bug ada/114593] [12/13/14 regression] bogus error on type conversion in instantiation of child unit inside generic child unit

2024-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114593 --- Comment #10 from GCC Commits --- The releases/gcc-12 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:fb61a7a203c5de3552e11bd633bc351463e51594 commit r12-10764-gfb61a7a203c5de3552e11bd633bc351463e51594 Author: Steve Baird

[Bug target/117134] [15 regression] ICE when building mercury-22.01.1 with -march=znver2

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

[Bug target/117116] [15 regression] error: unrecognizable insn: with -march=znver3

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117116 Andrew Pinski changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #

[Bug libstdc++/117135] 22_locale/time_get/get/wchar_t/5.cc fails on arm since gcc-15-4016-gc534e37facc

2024-10-14 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117135 --- Comment #2 from Christophe Lyon --- The additional debug output with your patch is: Wide D_T_FMT for C locale: eofbit: 0 failbit: 0 badbit: 0 22_locale/time_get/get/wchar_t/5.cc:29: int main(): Assertion 'err == std::ios::eofbit' failed.

  1   2   3   >