[Bug ada/119698] gen_il-main: raised PROGRAM_ERROR : finalize/adjust raised exception

2025-04-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119698 --- Comment #2 from Richard Biener --- Building stage1 with gnat-12 - this means the bug is in GCC 12? Or is this a "source error" in the GCC 15 sources?

[Bug target/115259] [15 Regressions] GCN vs. "tree-optimization/115144 - improve sinking destination choice"

2025-04-10 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115259 --- Comment #12 from Thomas Schwinge --- Andrew P., thanks for having a look! I tested attachment 61055; terminates normally. :-|

[Bug tree-optimization/119706] [15 regression] ICE in gimple pass 'dom' for -O3 -mcpu=grace --param=aarch64-autovec-preference=sve-only

2025-04-10 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119706 --- Comment #4 from mcccs at gmx dot com --- Created attachment 61059 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61059&action=edit This is a reduced testcase, but modified in a way that it gives an error in VRP stage instead of DOM Whi

[Bug c++/119705] Massive memory use when building Flang (10GB+)

2025-04-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119705 --- Comment #6 from Richard Biener --- Created attachment 61060 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61060&action=edit -fmem-report with detailed-mem-stats and -fsyntax-only -fmem-report with details shows tree_list

[Bug c++/119705] Massive memory use when building Flang (10GB+)

2025-04-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119705 --- Comment #7 from Richard Biener --- Created attachment 61061 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61061&action=edit -fmem-report with detailed-mem-stats and -g Using -g instead of -fsyntax-only (which will bring us to 10GB ma

[Bug c++/119710] New: failure demangling std::variant stuff

2025-04-10 Thread jengelh at inai dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119710 Bug ID: 119710 Summary: failure demangling std::variant stuff Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/119707] wrong code with _BitInt() mask and shift at -O1

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

[Bug libstdc++/115285] [12/13 Regression] std::unordered_set can have duplicate value

2025-04-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285 --- Comment #21 from Jonathan Wakely --- Fixed for 15 and 14.3 so far.

[Bug debug/119711] New: dw_attr_struct and dw_loc_descr_node are wasteful with padding

2025-04-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119711 Bug ID: 119711 Summary: dw_attr_struct and dw_loc_descr_node are wasteful with padding Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/119351] [15 Regression] Wrong code in GROMACS for AArch64 generic SVE VLS target since r15-6807-g68326d5d1a593d

2025-04-10 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119351 --- Comment #16 from Tamar Christina --- Ok, found the bug and c-vise is running for a testcase. The issue is as follows: For early break we need to know which value to start the scalar loop with if we take an early exit. Historically this me

[Bug fortran/104826] [12/13/14 Regression] ICE in gimple_range_global, at value-query.cc:424 – with deferred-length character variable

2025-04-10 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104826 Andre Vehreschild changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/119175] [14/15 Regression] ICE segfault on lambda in requires clause of generic lambda in requires clause

2025-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119175 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:39892d9618ee0f06dd09271589878b0df7b1e75d commit r15-9362-g39892d9618ee0f06dd09271589878b0df7b1e75d Author: Jason Merrill Date: We

[Bug fortran/66681] [Coarray] Wrong result in assigning this_image() to a complex coarray

2025-04-10 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66681 Andre Vehreschild changed: What|Removed |Added CC||vehre at gcc dot gnu.org

[Bug fortran/103001] missing simplify of (CAF) get_team

2025-04-10 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103001 Andre Vehreschild changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #1 from Andre V

[Bug tree-optimization/119707] wrong code with _BitInt() mask and shift at -O1

2025-04-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119707 --- Comment #3 from Jakub Jelinek --- __attribute__((noipa)) unsigned _BitInt(256) foo (_BitInt(129) x) { return (unsigned _BitInt(255)) x; } int main () { if (foo (-1) != 0x7fffuw

[Bug tree-optimization/119393] [15 Regression] Worse vectorization of imagick_r hot loop on aarch64 since r15-5024-g2a2e6784074e1f

2025-04-10 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119393 --- Comment #6 from Alex Coplan --- Alright, so after some digging through the dumps I realised that adding -fno-early-inlining is enough to get a non-LTO testcase. So the following testcase reproduces the different codegen before/after the abo

[Bug translation/119684] [15 Regression] Severe bug in german translation

2025-04-10 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119684 --- Comment #22 from Bruno Haible --- (In reply to Joseph S. Myers from comment #21) > If we want such checking, it should be done in CI (similar to the CI that > verifies generated files that are checked in have been correctly > regenerated), n

[Bug other/119712] New: compiler hang at -O{1,2,3,s} since 14.1

2025-04-10 Thread chopra.kavya04 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119712 Bug ID: 119712 Summary: compiler hang at -O{1,2,3,s} since 14.1 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug target/119629] mismatch between [power9-64] builtins and their instructions

2025-04-10 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119629 --- Comment #14 from Alexandre Oliva --- ack, patch combining the patchlets in commits 7 and 9 looking good in gcc-14 ppc-elf test results. I'll point out that this report was not so much about this specific mismatch between ppc builtins and th

[Bug translation/119684] [15 Regression] Severe bug in german translation

2025-04-10 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119684 --- Comment #21 from Joseph S. Myers --- If we want such checking, it should be done in CI (similar to the CI that verifies generated files that are checked in have been correctly regenerated), not at .pot regeneration time or .po commit time.

[Bug tree-optimization/119712] [14/15 Regression] compiler hang at -O{1,2,3,s} since r14-5109

2025-04-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119712 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Sum

[Bug tree-optimization/119712] [14/15 Regression] compiler hang at -O{1,2,3,s} since r14-5109

2025-04-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119712 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/113524] FAIL: gcc.dg/torture/pr113026-1.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for bogus messages, line 10)

2025-04-10 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113524 --- Comment #7 from Alexandre Oliva --- ... and riscv*-elf, powerpc-elf.

[Bug tree-optimization/119393] [15 Regression] Worse vectorization of imagick_r hot loop on aarch64 since r15-5024-g2a2e6784074e1f

2025-04-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119393 --- Comment #7 from Andrew Pinski --- I don't see any difference between 14 and 15 with your reduced testcase at `-Ofast -fno-early-inlining -mcpu=neoverse-v1+nosve ` .

[Bug fortran/87326] [F18] Support the NEW_INDEX= specifier in the FORM TEAM statement

2025-04-10 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87326 Andre Vehreschild changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #10 from Andre V

[Bug tree-optimization/119706] [12/13/14 regression] ICE in gimple pass 'dom' for -O3 -mcpu=grace --param=aarch64-autovec-preference=sve-only

2025-04-10 Thread jschmitz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119706 --- Comment #7 from Jennifer Schmitz --- Great, thanks a lot for the quick fix!

[Bug target/116591] internal compiler error: in extract_insn when compiling for risc-v xtheadvector

2025-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116591 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Ma Jin : https://gcc.gnu.org/g:07d4c264a000b6448d6b519110c05c3b8a64d23b commit r14-11581-g07d4c264a000b6448d6b519110c05c3b8a64d23b Author: Jin Ma Date: Wed N

[Bug fortran/87556] FORM TEAM statement team-number argument interpreted incorrectly when function

2025-04-10 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87556 Andre Vehreschild changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #4 from Andre Ve

[Bug fortran/87939] [F18] Support STAT= and ERRMSG= specifiers to CRITICAL and TEAM statements

2025-04-10 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87939 Andre Vehreschild changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #3 from Andre Ve

[Bug fortran/88154] [F18] ICE: Intrinsic function '_gfortran_caf_get_team' (119) not recognized

2025-04-10 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88154 Andre Vehreschild changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #4 from Andre Ve

[Bug fortran/88254] [F18] Support construct name for CHANGE TEAM & END TEAM

2025-04-10 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88254 Andre Vehreschild changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #2 from Andre Ve

[Bug fortran/88960] [F18] ISO_FORTRAN_ENV: add INITIAL_TEAM, PARENT_TEAM, and CURRENT_TEAM

2025-04-10 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88960 Andre Vehreschild changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #3 from Andre Ve

[Bug fortran/97210] Intrinsic function get_team() does not work

2025-04-10 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97210 Andre Vehreschild changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #2 from Andre Ve

[Bug fortran/103796] form-team-spec-list is unsupported

2025-04-10 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103796 Andre Vehreschild changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #11 from Andre

[Bug tree-optimization/119712] [14/15 Regression] compiler hang at -O{1,2,3,s} since 14.1

2025-04-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119712 Andrew Pinski changed: What|Removed |Added Summary|compiler hang at|[14/15 Regression] compiler

[Bug translation/119684] [15 Regression] Severe bug in german translation

2025-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119684 --- Comment #23 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1f32b87117b0e2ecc33b844d929d723de3fe8085 commit r15-9366-g1f32b87117b0e2ecc33b844d929d723de3fe8085 Author: Jakub Jelinek Date:

[Bug target/106671] aarch64: BTI instruction are not inserted for cross-section direct calls

2025-04-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID See Also|

[Bug libstdc++/119708] New: : \00 should be rejected

2025-04-10 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119708 Bug ID: 119708 Summary: : \00 should be rejected Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug target/115259] [15 Regressions] GCN vs. "tree-optimization/115144 - improve sinking destination choice"

2025-04-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115259 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > Created attachment 61054 [details] > Maybe a testcase > > I tried this on x86_64 with: > -O2 -fdisable-tree-cselim -march=skylake-avx512 -fno-vect-cost-model >

[Bug tree-optimization/119707] New: wrong code with _BitInt() mask and shift at -O1

2025-04-10 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119707 Bug ID: 119707 Summary: wrong code with _BitInt() mask and shift at -O1 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Pr

[Bug tree-optimization/119706] [15 regression] ICE in gimple pass 'dom' for -O3 -mcpu=grace --param=aarch64-autovec-preference=sve-only

2025-04-10 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119706 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/119692] C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading

2025-04-10 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119692 --- Comment #3 from Thomas Schwinge --- Jakub, could you please quickly describe the approach you'd take to get the relevant 'DECL_TINFO_P' and 'DECL_VTABLE_OR_VTT_P' (correct, and complete list of predicates?) into 'offload_vars' (via the usual

[Bug tree-optimization/119614] [15 regression] protobuf-29.4 fails to build with -O2 (error: cannot tail-call: call and return value are different)

2025-04-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614 --- Comment #25 from Jakub Jelinek --- As a temporary fix for GCC 15, I think we could always do something like --- gcc/cgraph.h.jj 2025-04-08 14:08:48.517319926 +0200 +++ gcc/cgraph.h2025-04-10 10:07:19.059246243 +0200 @@ -896,8 +89

[Bug tree-optimization/119706] New: [15 regression] ICE in gimple pass 'dom' for -O3 -mcpu=grace --param=aarch64-autovec-preference=sve-only

2025-04-10 Thread jschmitz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119706 Bug ID: 119706 Summary: [15 regression] ICE in gimple pass 'dom' for -O3 -mcpu=grace --param=aarch64-autovec-preference=sve-only Product: gcc Version: 15.0

[Bug ada/119701] Ada.Calendar.Formatting.Day_Of_Week returns wrong value after Ada.Calendar.Time is incremented via Ada.Calendar.Arithmetic."+".

2025-04-10 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119701 Eric Botcazou changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug tree-optimization/119690] [12/13/14/15 regression] wrong code at -O{s,1,2,3} on x86_64-linux-gnu since r12-4871

2025-04-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119690 --- Comment #5 from Jakub Jelinek --- Already -O1 fails: int a, b = -__INT_MAX__, c; int main () { d: c = a + b + __INT_MAX__; if (-c >= 0) goto e; goto f; e: a = c + 1; goto d; f: if (a != 1) __builtin_abort (); }

[Bug target/119610] [12/13/14/15 regression] aarch64: Wrong unwind info with -fstack-clash-protection -fstack-protector-strong since r14-3900-g3e4afea3b192c2

2025-04-10 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119610 Richard Sandiford changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassig

[Bug tree-optimization/119706] [15 regression] ICE in gimple pass 'dom' for -O3 -mcpu=grace --param=aarch64-autovec-preference=sve-only

2025-04-10 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119706 ktkachov at gcc dot gnu.org changed: What|Removed |Added Known to fail||15.0 Target Milestone|--

[Bug c++/119692] C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading

2025-04-10 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119692 --- Comment #2 from Thomas Schwinge --- When still 'map'ping C++ 'typeinfo', 'vtable' at the OpenACC compute, OpenMP 'target' construct (as 'firstprivate', or 'map(to)'), there's an additional issue. With attachment 61052 altered as follows:

[Bug middle-end/119507] only the comdat functions before normal functions get their own gcc_except_table section (unless using -ffunction-sections)

2025-04-10 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119507 --- Comment #6 from chenglulu --- Ping?

[Bug libstdc++/105926] Using a spaceship operator on an optional of a type derived from optional causes infinite constraint recursion

2025-04-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105926 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/119399] [12/13/14 Backport] Overlap check in vectorized code may invoke UB

2025-04-10 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119399 Richard Sandiford changed: What|Removed |Added Summary|Overlap check in vectorized |[12/13/14 Backport] Overlap

[Bug cobol/119244] cobol/libgcobol should allow libquadmath to provide 128b floating support.

2025-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119244 --- Comment #30 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:95f10974a9190e345776604480a2df0191104308 commit r15-9357-g95f10974a9190e345776604480a2df0191104308 Author: Iain Sandoe Date: Sa

[Bug tree-optimization/119690] [12/13/14/15 regression] wrong code at -O{s,1,2,3} on x86_64-linux-gnu since r12-4871

2025-04-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119690 --- Comment #6 from Jakub Jelinek --- I think at -O1 in *.sra it is still correct, we have [local count: 118111600]: a.0_12 = a; b.1_13 = b; _14 = a.0_12 + b.1_13; _15 = _14 + 2147483647; c = _15; if (_15 <= 0) goto ; [89.00%]

[Bug tree-optimization/119706] [15 regression] ICE in gimple pass 'dom' for -O3 -mcpu=grace --param=aarch64-autovec-preference=sve-only

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

[Bug tree-optimization/119690] [12/13/14/15 regression] wrong code at -O{s,1,2,3} on x86_64-linux-gnu since r12-4871

2025-04-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119690 --- Comment #7 from Jakub Jelinek --- I think this is ivopts bug (or at least that pass introduces UB into the IL that wasn't there before). In particular on the c <= 0 guarded edge it adds [local count: 105119324]: + _26 = b.1_13 + -214748

[Bug ada/119698] gen_il-main: raised PROGRAM_ERROR : finalize/adjust raised exception

2025-04-10 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119698 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org Re

[Bug c++/119692] C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading

2025-04-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119692 --- Comment #4 from Tobias Burnus --- Some generic remarks - regarding OpenMP to: > When still 'map'ping C++ 'typeinfo', 'vtable' at the OpenACC compute, > OpenMP 'target' construct Obviously, the type info etc. is required for all work on th

[Bug tree-optimization/119399] Overlap check in vectorized code may invoke UB

2025-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119399 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:4c8c373495d7d863dfb7102726ac3b4b41685df4 commit r15-9355-g4c8c373495d7d863dfb7102726ac3b4b41685df4 Author: Richard Sandiford Da

[Bug target/116593] internal compiler error: in get_attr_type, at config/riscv/riscv.md:28048 with -O2 -O3 when compiling for risc-v xtheadvector

2025-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116593 --- Comment #5 from GCC Commits --- The releases/gcc-14 branch has been updated by Ma Jin : https://gcc.gnu.org/g:2631ac38d9b2a9def13a04c1e1fefb3871e420ab commit r14-11583-g2631ac38d9b2a9def13a04c1e1fefb3871e420ab Author: Jin Ma Date: Tue J

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

2025-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118601 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Ma Jin : https://gcc.gnu.org/g:f2e2e255004dc35beef9d8b5800d69d228f7eec1 commit r14-11584-gf2e2e255004dc35beef9d8b5800d69d228f7eec1 Author: Jin Ma Date: Tue F

[Bug tree-optimization/119706] [15 regression] ICE in gimple pass 'dom' for -O3 -mcpu=grace --param=aarch64-autovec-preference=sve-only

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

[Bug c/119709] New: RISC-V: Why volatile int16_t variables generate extra shift instructions in compiler output

2025-04-10 Thread bigmagicreadsun at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119709 Bug ID: 119709 Summary: RISC-V: Why volatile int16_t variables generate extra shift instructions in compiler output Product: gcc Version: 14.2.1 Status: UNCONFIRMED

[Bug c++/119705] Massive memory use when building Flang (10GB+)

2025-04-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119705 --- Comment #4 from Richard Biener --- >From the profile it looks like using that much memory (creating that much garbage) is the main issue, due to GC that always eats at compile-time.

[Bug tree-optimization/119707] wrong code with _BitInt() mask and shift at -O1

2025-04-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119707 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/119707] wrong code with _BitInt() mask and shift at -O1

2025-04-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119707 --- Comment #2 from Jakub Jelinek --- Further simplified __attribute__((noipa)) unsigned _BitInt(256) foo (unsigned _BitInt(256) x, _BitInt(129) y) { return x - (unsigned _BitInt(255)) y; } int main () { if (foo (0, -1) != 0x800

[Bug libstdc++/115285] [12/13/14 Regression] std::unordered_set can have duplicate value

2025-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285 --- Comment #19 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6343a0fef382a6f37f50755beb239f4e1e9e83cb commit r14-11586-g6343a0fef382a6f37f50755beb239f4e1e9e83cb Author: François Du

[Bug libstdc++/115285] [12/13/14 Regression] std::unordered_set can have duplicate value

2025-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285 --- Comment #20 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5cfe086bea29799c2d4eff59d2d43e30a162bf9c commit r14-11589-g5cfe086bea29799c2d4eff59d2d43e30a162bf9c Author: Jonathan Wa

[Bug tree-optimization/119690] [12/13/14/15 regression] wrong code at -O{s,1,2,3} on x86_64-linux-gnu since r12-4871

2025-04-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119690 Richard Biener changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug demangler/78564] cp-demangle fails to decode Ul+auto/anon

2025-04-10 Thread jengelh at inai dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78564 Jan Engelhardt changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug demangler/60354] fails to demangle _Z3fooIPUlvE_EvT_

2025-04-10 Thread jengelh at inai dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60354 --- Comment #3 from Jan Engelhardt --- Issue persists as of gcc version 15.0.1 20250408 (experimental) (SUSE Linux)

[Bug tree-optimization/119706] [15 regression] ICE in gimple pass 'dom' for -O3 -mcpu=grace --param=aarch64-autovec-preference=sve-only

2025-04-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119706 --- Comment #5 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:bf812c6ad83ec0b241bb3fecc7e68f883b6083df commit r15-9358-gbf812c6ad83ec0b241bb3fecc7e68f883b6083df Author: Richard Biener Date:

[Bug tree-optimization/119706] [12/13/14 regression] ICE in gimple pass 'dom' for -O3 -mcpu=grace --param=aarch64-autovec-preference=sve-only

2025-04-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119706 Richard Biener changed: What|Removed |Added Known to fail|15.0| Summary|[15 regression] IC

[Bug c++/119705] Massive memory use when building Flang (10GB+)

2025-04-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119705 Richard Biener changed: What|Removed |Added Last reconfirmed||2025-04-10 Status|UNCONFIR

[Bug rtl-optimization/116294] -O2 -gno-statement-frontiers -fcompare-debug failure when building duktape-2.7.0

2025-04-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116294 --- Comment #10 from Sam James --- It fails at -O1 only with statement-frontiers, so another bug again (but who cares about frontiers). Reducing -O2 with -gno-statement-frontiers.

[Bug c++/119687] [14/15 Regression] ICE when building kwin-6.3.4 against qt-6.9 (in operator*, at cp/cp-tree.h:876) (deduction guides related) since r14-10655

2025-04-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119687 Sam James changed: What|Removed |Added Keywords||patch --- Comment #15 from Sam James --- T

[Bug tree-optimization/119399] Overlap check in vectorized code may invoke UB

2025-04-10 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119399 --- Comment #5 from Richard Sandiford --- (In reply to rguent...@suse.de from comment #4) > >, so for a 4-element > > vector, the only problem cases are p==q+4, p==q+8 and p==q+12. That's > > equivalent to testing whether the unsigned value p-(

[Bug target/119596] x86: too eager use of rep movsq/rep stosq for inlined ops

2025-04-10 Thread mjguzik at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119596 --- Comment #21 from Mateusz Guzik --- Given the issues outline in 119703 and 119704 I decided to microbench 2 older uarchs with select sizes. Note a better quality test which does not merely microbenchmark memset or memcpy is above for one rea

[Bug tree-optimization/119614] [15 regression] protobuf-29.4 fails to build with -O2 (error: cannot tail-call: call and return value are different)

2025-04-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614 --- Comment #24 from Sam James --- (In reply to Martin Jambor from comment #21) > I'll look at implementing the required IPA-VR streaming for return values > this Friday. If this ends up being too difficult (or has too high risk of fallout), is

[Bug c++/119705] New: Massive memory use when building Flang (10GB+)

2025-04-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119705 Bug ID: 119705 Summary: Massive memory use when building Flang (10GB+) Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: compile-time-hog, memory-hog Severity: no

[Bug c++/119705] Massive memory use when building Flang (10GB+)

2025-04-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119705 --- Comment #1 from Sam James --- Created attachment 61056 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61056&action=edit DataSharingProcessor.cpp.ii.xz

[Bug c++/119705] Massive memory use when building Flang (10GB+)

2025-04-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119705 --- Comment #2 from Sam James --- Patrick, would you be able to take a look with reducing it (or offer some advice)? We've tried but it's challenging.

[Bug c++/119705] Massive memory use when building Flang (10GB+)

2025-04-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119705 --- Comment #3 from Sam James --- (Clang fares far better on this, and takes > 50% less memory. I think it's far quicker as well.)

[Bug target/119691] gcc does not build for powerpc64-apple-darwin9: ld: bl out of range (-16845644 max is +/-16M) from __ZN10hash_tableI19default_hash_traitsIP11cgraph_edgeELb0E11xcallocatorED1Ev at 0

2025-04-10 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119691 --- Comment #6 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #5) > Lets take this discussion elsewhere - e.g. to my Darwin toolchains - there > is no upstream solution to this on any of the components (cctools, ld64, > gcc, llvm)

[Bug debug/119711] dw_attr_struct and dw_loc_descr_node are wasteful with padding

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

[Bug fortran/119669] [15 Regression] ICE in compare_parameter since r15-7449

2025-04-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119669 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING --- Comment #1 from

[Bug rtl-optimization/60749] combine is overly cautious when operating on volatile memory references

2025-04-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60749 Andrew Pinski changed: What|Removed |Added CC||bigmagicreadsun at gmail dot com --- Co

[Bug rtl-optimization/119709] RISC-V: Why volatile int16_t variables generate extra shift instructions in compiler output

2025-04-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119709 --- Comment #2 from Andrew Pinski --- I should mention this is a known issue and not one easily solvable. bug 60749 describes the internals of GCC on what is going wrong which is why it might not read as a duplicate. But this is the jist: In par

[Bug libstdc++/119714] New: Failure when using == operator on a class derived from std::expected

2025-04-10 Thread makovick at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119714 Bug ID: 119714 Summary: Failure when using == operator on a class derived from std::expected Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/119708] : \00 should be rejected

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

[Bug libstdc++/119714] Failure when using == operator on a class derived from std::expected

2025-04-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119714 --- Comment #1 from Andrew Pinski --- https://en.cppreference.com/w/cpp/utility/expected/operator_cmp This mentions that it is invalid for C++23 but would be valid for C++26. Looks like we have not implemented the 26 rules either.

[Bug c/119713] RISC-V: -march=rv64gcv gives an internal compiler error in a_as

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

[Bug fortran/119669] [15 Regression] ICE in compare_parameter since r15-7449

2025-04-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119669 --- Comment #2 from Jakub Jelinek --- I can: /opt/notnfs/gcc-bisect/obj/gcc/f951.r15-9357 -quiet pr119669.f90 f951.r15-9357: internal compiler error: in compare_parameter, at fortran/interface.cc:2537 0x2d42e37 internal_error(char const*, ...)

[Bug fortran/119669] [15 Regression] ICE in compare_parameter since r15-7449

2025-04-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119669 --- Comment #3 from Jakub Jelinek --- Note, removing the ! character makes it work.

[Bug debug/119711] dw_attr_struct and dw_loc_descr_node are wasteful with padding

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

[Bug rtl-optimization/119672] [15 regression] RISC-V: ICE during RTL pass: cse1 in as_a, at machmode.h:391

2025-04-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119672 Sam James changed: What|Removed |Added CC||negge at dgql dot org --- Comment #12 from

[Bug fortran/119669] [15 Regression] ICE in compare_parameter since r15-7449

2025-04-10 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119669 Thomas Koenig changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unassigned

[Bug c/119713] New: RISC-V: -march=rv64gcv gives an internal compiler error in a_as

2025-04-10 Thread negge at dgql dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119713 Bug ID: 119713 Summary: RISC-V: -march=rv64gcv gives an internal compiler error in a_as Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug debug/119711] dw_attr_struct and dw_loc_descr_node are wasteful with padding

2025-04-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119711 --- Comment #2 from Andrew Pinski --- dw_discr_value has a similar issue too. I wonder if dw_loc_descr_node fields (dw_loc_oprnd1 dw_loc_oprnd2) could use the no_unique_address attribute? Since there is some padding inbetween them too.

[Bug fortran/119669] [15 Regression] ICE in compare_parameter since r15-7449

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

  1   2   >