[Bug c++/16663] Poor parse error recovery with mispelled type in function declaration

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16663 Andrew Pinski changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #1

[Bug c++/80684] poor error message and fix-it hint for a function with an argument of undeclared type

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

[Bug libstdc++/119081] New: libstdc++.modules.json generated with incorrect relative path if configured with '--prefix=/' or '--prefix=' (empty)

2025-03-01 Thread c at cyano dot cn via Gcc-bugs
ithms: zlib zstd gcc version 15.0.1 20250301 (experimental) (GCC) ``` (Install with `sudo make DESTDIR=/opt/gcc-git install`) Content of `/opt/gcc-git/lib64/libstdc++.modules.json`: ```json { "version": 1, "revision": 1, "modules": [ { "logical-name&

[Bug c++/119082] New: GCC Incorrectly Accepts Explicit Destructor Call for Scalar Type in constexpr Context

2025-03-01 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119082 Bug ID: 119082 Summary: GCC Incorrectly Accepts Explicit Destructor Call for Scalar Type in constexpr Context Product: gcc Version: 13.3.0 Status: UNCONFIRMED

[Bug libstdc++/119081] libstdc++.modules.json generated with incorrect relative path if configured with '--prefix=/' or '--prefix=' (empty)

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119081 --- Comment #1 from Andrew Pinski --- I am not even sure if prefix of / is valid use case. Shouldn't it be /usr ?

[Bug ipa/119012] [riscv] Bootstrap comparison failure: gcc/rust/rust-lex.o differs

2025-03-01 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #11 from Levi Zim --- When building 14.2.1+r711+g3228df20cfa3, I got a different object that is different between stage 2 and 3: Comparing stages 2 and 3 Bootstrap comparison failure!

[Bug c++/119082] GCC Incorrectly Accepts Explicit Destructor Call for Scalar Type in constexpr Context

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

[Bug c++/55004] [meta-bug] constexpr issues

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 119082, which changed state. Bug 119082 Summary: GCC Incorrectly Accepts Explicit Destructor Call for Scalar Type in constexpr Context https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119082 What|Removed

[Bug target/118934] [15 Regression] RISC-V: ICE: output_operand: invalid expression as operand

2025-03-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118934 Jeffrey A. Law changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |law at gcc dot gnu.org

[Bug target/69374] install.texi is bit-rotten

2025-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69374 --- Comment #30 from GCC Commits --- The trunk branch has been updated by Gerald Pfeifer : https://gcc.gnu.org/g:4fee152dc36ba6ffa39dd29b6493dc1840374b05 commit r15--g4fee152dc36ba6ffa39dd29b6493dc1840374b05 Author: Gerald Pfeifer Date:

[Bug c++/119073] [15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with temporary vector in range-for with -std=c++23 since r15-7481

2025-03-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119073 --- Comment #7 from Jakub Jelinek --- struct A { ~A (); }; struct B { B (const A &a = A ()); int *begin (); int *end (); ~B (); }; void foo (bool x) { for (auto i : (x ? B{} : B{})) ; } ICEs as well.

[Bug c/118765] c23 tag matching broken for multiple redeclarations of typedefs

2025-03-01 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118765 --- Comment #13 from uecker at gcc dot gnu.org --- Yes thanks, I need to analyze this a bit more but I narrowed the problem down to this. What do you mean by "my non-toy sources compiles/works correctly now"? There should be no existing code

[Bug fortran/119078] New: Abstract bind(c) interface should not be a global entity

2025-03-01 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119078 Bug ID: 119078 Summary: Abstract bind(c) interface should not be a global entity Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Prio

[Bug fortran/119078] Abstract bind(c) interface should not be a global entity

2025-03-01 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119078 Thomas Koenig changed: What|Removed |Added Keywords||diagnostic, needs-stdcheck --- Comment

[Bug target/119079] Intel assembly output should use MOVSXD instead of MOVSX for 32b->64b sign extensions

2025-03-01 Thread tiborgyri at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119079 --- Comment #1 from Tibor Győri --- Created attachment 60630 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60630&action=edit Intel manual page for MOVSX/MOVSXD

[Bug target/119079] New: Intel assembly output should use MOVSXD instead of MOVSX for 32b->64b sign extensions

2025-03-01 Thread tiborgyri at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119079 Bug ID: 119079 Summary: Intel assembly output should use MOVSXD instead of MOVSX for 32b->64b sign extensions Product: gcc Version: 15.0 URL: https://gcc.godbolt.org/

[Bug ipa/119012] [riscv] Bootstrap comparison failure: gcc/rust/rust-lex.o differs

2025-03-01 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #12 from Levi Zim --- The bad commit is 3228df20cfa3581015dc32657eb17d6f24af3104 "rtl: Remove invalid compare simplification" [PR117186]

[Bug ipa/119012] [riscv] Bootstrap comparison failure: gcc/rust/rust-lex.o differs

2025-03-01 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #10 from Levi Zim --- Sometimes I didn't get the comparison failure but a hard ICE instead: *** stack smashing detected ***: terminated during RTL pass: combine

[Bug c++/119080] New: Poor error message when parameter type is unknown

2025-03-01 Thread higher.performance.github at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119080 Bug ID: 119080 Summary: Poor error message when parameter type is unknown Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 --- Comment #5 from Andrew Pinski --- Created attachment 60631 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60631&action=edit test script This is the testscript which I used to reproduce the ICE

[Bug c/117178] -Wunterminated-string-initialization should ignore trailing NUL byte for nonstring char arrays

2025-03-01 Thread andrew--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178 --- Comment #27 from Andrew Clayton --- Thanks for the update!

[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 --- Comment #6 from Andrew Pinski --- Trying to reduce this.

[Bug tree-optimization/117919] [14/15 Regression] ICE: in propagate, at gimple-ssa-sccopy.cc:625 with -O -fno-tree-forwprop -fnon-call-exceptions --param=early-inlining-insns=192

2025-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117919 --- Comment #5 from GCC Commits --- The master branch has been updated by Filip Kastl : https://gcc.gnu.org/g:5349aa2accdf34a7bf9cabd1447878aaadfc0e87 commit r15-7779-g5349aa2accdf34a7bf9cabd1447878aaadfc0e87 Author: Filip Kastl Date: Sun M

[Bug tree-optimization/117919] [14/15 Regression] ICE: in propagate, at gimple-ssa-sccopy.cc:625 with -O -fno-tree-forwprop -fnon-call-exceptions --param=early-inlining-insns=192

2025-03-01 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117919 Filip Kastl changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/119080] Poor error message when parameter type is unknown

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

[Bug c++/16663] Poor parse error recovery with mispelled type in function declaration

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16663 Andrew Pinski changed: What|Removed |Added CC||higher.performance.github@g

[Bug target/119083] New: Remove SSE_FIRST_REG from ix86_class_likely_spilled_p

2025-03-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119083 Bug ID: 119083 Summary: Remove SSE_FIRST_REG from ix86_class_likely_spilled_p Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c++/71093] use of pseudo-destructor accepted in constant expression

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71093 Andrew Pinski changed: What|Removed |Added CC||qurong at ios dot ac.cn --- Comment #8 f

[Bug target/119077] gcc option -mint8 leads to undefined reference to `__builtin_avr_delay_cycles'

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

[Bug c++/119082] GCC Incorrectly Accepts Explicit Destructor Call for Scalar Type in constexpr Context

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119082 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 --- Comment #1 from Andrew Pinski

[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 --- Comment #4 from Andrew Pinski --- here is the full backtrace: In file included from ./include/nlohmann/json.hpp:60, of module ./json.hpp, imported at main.cxx:1: ./include/nlohmann/detail/output/serializer.hpp: In instantiation of ‘static ui

[Bug c/118765] c23 tag matching broken for multiple redeclarations of typedefs

2025-03-01 Thread himehaieto at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118765 --- Comment #12 from Hime Haieto --- This is a good weekend indeed! While I can't say that all is well, this patch is good progress - at least one of my non-toy sources compiles/works correctly now with workarounds. It seems like if you typede

[Bug c++/119076] ICE with Segmentation fault with modules

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

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

2025-03-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 --- Comment #44 from Jakub Jelinek --- In any case, libgccjit should be fixed to use just ggc_internal_alloc instead of ggc_internal_cleared_alloc in the operator new so that one doesn't actually even think of relying on the zero initialization

[Bug c/119058] wbN: A suffix for specifying the width of a bit-precise integer literal

2025-03-01 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119058 --- Comment #6 from Alejandro Colomar --- (In reply to Jakub Jelinek from comment #5) > (In reply to Alejandro Colomar from comment #3) > > Not yet. I commented it yesterday with Aaron Ballman during a break in the > > C Committee meeting, and

[Bug middle-end/115871] [14/15 Regression] ICE with declare simd since r14-5057

2025-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115871 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6589eb4efe39545ec7f7e641e1d302c89b260350 commit r15-7769-g6589eb4efe39545ec7f7e641e1d302c89b260350 Author: Jakub Jelinek Date: S

[Bug c/119058] wbN: A suffix for specifying the width of a bit-precise integer literal

2025-03-01 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119058 --- Comment #3 from Alejandro Colomar --- (In reply to Andrew Pinski from comment #2) > Plus why not just use casts? They tend to be dangerous when misplaced or when their type is accidentally wrong. For example, the following could be diagno

[Bug middle-end/115871] [14 Regression] ICE with declare simd since r14-5057

2025-03-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115871 Jakub Jelinek changed: What|Removed |Added Summary|[14/15 Regression] ICE with |[14 Regression] ICE with

[Bug c/119058] wbN: A suffix for specifying the width of a bit-precise integer literal

2025-03-01 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119058 --- Comment #4 from Alejandro Colomar --- I can still show the paper to other members of the C Committee, though, to see their opinion. But I prefer not proposing it officially.

[Bug c/119058] wbN: A suffix for specifying the width of a bit-precise integer literal

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

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

2025-03-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2025-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 --- Comment #45 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8c15a6cefa0d1f8ec12701af1f528f473c33ff6b commit r15-7770-g8c15a6cefa0d1f8ec12701af1f528f473c33ff6b Author: Jakub Jelinek Date:

[Bug c++/118981] "_GLOBAL__sub_I.00099_tzdb.cc" defined twice in the assembly output for c++20/tzdb.cc with -fvtable-verify=std (--enable-vtable-verify)

2025-03-01 Thread Erich.Loew at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118981 --- Comment #50 from Erich Löw --- Q_1 What would happen if saying (just hypothetically) --> All prios in range 0 ... 2^^16 - 1 are allowed --> Imho consequence of removing split in reserved and not-reserved prios. Q_2 Without usage of [[gnu::i

[Bug rtl-optimization/119071] [12/13/14/15 Regression] Miscompile at -O2

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

[Bug target/112465] libgcc: aarch64: lse runtime does not work with big data segments

2025-03-01 Thread mailboxnotfound at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112465 john henning changed: What|Removed |Added CC||mailboxnotfound at yahoo dot com --- Co

[Bug fortran/119074] New: Mismatched arguments for external dummy argument not caught

2025-03-01 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119074 Bug ID: 119074 Summary: Mismatched arguments for external dummy argument not caught Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement

[Bug c++/117787] [C++26] P3247R2 - Deprecating the notion of trivial types

2025-03-01 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117787 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #2 from Jian

[Bug libstdc++/119075] New: LWG4140 seems incompletely implemented

2025-03-01 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119075 Bug ID: 119075 Summary: LWG4140 seems incompletely implemented Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority

[Bug pch/119076] New: ICE with Segmentation fault if using PCH

2025-03-01 Thread trinxery at firemail dot cc via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 Bug ID: 119076 Summary: ICE with Segmentation fault if using PCH Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: pch

[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 Andrew Pinski changed: What|Removed |Added Component|pch |c++ Status|UNCONFIRMED

[Bug libstdc++/119075] LWG4140 seems incompletely implemented

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119075 --- Comment #1 from Andrew Pinski --- Reading pr 115098 seems to this on purpose.

[Bug ada/113815] error: there is no applicable operator "*" for a string type

2025-03-01 Thread p.p11 at orange dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113815 --- Comment #2 from Pascal Pignard --- No more error but warning still remains with version 14.2: % gcc -c -gnatv -gnat2022 test_20200613_decl.adb GNAT 14.2.0 Copyright 1992-2024, Free Software Foundation, Inc. Compiling: 2020/test_20200613_

[Bug other/119052] [15 regression] Uninitialized memory use in selftest::check_line

2025-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119052 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:dfdbad87aeb2deff9e13a394659ac7b37173648a commit r15-7772-gdfdbad87aeb2deff9e13a394659ac7b37173648a Author: Jakub Jelinek Date: S

[Bug target/114222] gcc.c-torture/execute/builtin-bitops-1.c fails for H8/300

2025-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114222 --- Comment #6 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:898f22d15805229a932fff7f22a0a8054e1b9b31 commit r15-7773-g898f22d15805229a932fff7f22a0a8054e1b9b31 Author: Jan Dubiec Date: Sat Mar 1

[Bug target/118906] RISC-V: zcf is not implied by zce

2025-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118906 --- Comment #1 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:a0d29dd218e7d96f0715360a2ab6fdd8dc9b3446 commit r15-7774-ga0d29dd218e7d96f0715360a2ab6fdd8dc9b3446 Author: Yuriy Kolerov Date: Sat Ma

[Bug target/118906] RISC-V: zcf is not implied by zce

2025-03-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118906 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/119052] [15 regression] Uninitialized memory use in selftest::check_line

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

[Bug c++/119073] New: [14/15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with temporary vector in range-for

2025-03-01 Thread philipp at fent dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119073 Bug ID: 119073 Summary: [14/15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with temporary vector in range-for Product: gcc Version: 15.0

[Bug c++/119073] [15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with temporary vector in range-for

2025-03-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119073 Sam James changed: What|Removed |Added Summary|[14/15 Regression] ICE in |[15 Regression] ICE in |c

[Bug rtl-optimization/119071] [12/13/14/15 Regression] Miscompile at -O2

2025-03-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 --- Comment #9 from Jeffrey A. Law --- WRT c#8. That would be a bit of a surprise. In *theory* it just allowed us to remove reg->reg moves when the source and destination where the same reg. So if that caused a regression I suspect it was jus

[Bug c++/119073] [15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with temporary vector in range-for with -std=c++23

2025-03-01 Thread philipp at fent dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119073 --- Comment #3 from Philipp Fent --- Thanks for mentioning it Andrew, this indeed seems to be related to a behavioral change in range-for lifetimes in C++23. I found commit 650e915 from Jakub Jelinek that implements the new behavior. There's als

[Bug c++/119073] [15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with temporary vector in range-for with -std=c++23

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119073 Andrew Pinski changed: What|Removed |Added Summary|[15 Regression] ICE in |[15 Regression] ICE in

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

2025-03-01 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 117787, which changed state. Bug 117787 Summary: [C++26] P3247R2 - Deprecating the notion of trivial types https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117787 What|Removed |Added -

[Bug c++/117787] [C++26] P3247R2 - Deprecating the notion of trivial types

2025-03-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117787 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug c++/119073] [15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with temporary vector in range-for with -std=c++23

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119073 --- Comment #2 from Andrew Pinski --- Next time please mention the full command line which is causing the ICE and NOT just give a link to godbolt for the command line.

[Bug c++/66943] GCC warns of Unknown Pragma for OpenMP, even though it support it.

2025-03-01 Thread manu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66943 --- Comment #11 from Manuel López-Ibáñez --- I think having -Wignored-pragma-omp would be useful: 1. It is useful to have a warning that warns that you need to use -fopenmp for #pragma omp to have an effect. 2. However, it is very common to wan

[Bug tree-optimization/100922] CSE leads to fully redundant (back to back) zero-extending loads of the same thing in a loop, or a register copy

2025-03-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100922 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/99089] unnecessary zero extend before AND

2025-03-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99089 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/119073] [15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with temporary vector in range-for with -std=c++23

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

[Bug middle-end/19466] [meta-bug] bit-fields are non optimal

2025-03-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19466 Bug 19466 depends on bug 97747, which changed state. Bug 97747 Summary: [12/13/14/15 Regression] missed combine opt with logical ops after zero extended load https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97747 What|Removed

[Bug c++/119073] [15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with temporary vector in range-for with -std=c++23

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119073 --- Comment #4 from Andrew Pinski --- Created attachment 60624 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60624&action=edit Reduced testcase

[Bug c/117178] -Wunterminated-string-initialization should ignore trailing NUL byte for nonstring char arrays

2025-03-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178 --- Comment #26 from Sam James --- Jakub's revised patch: https://inbox.sourceware.org/gcc-patches/Z63vQc7tBvolrk27@tucnak/

[Bug c++/119073] [15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with temporary vector in range-for with -std=c++23 since r15-7481

2025-03-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119073 Jakub Jelinek changed: What|Removed |Added CC|jakub at redhat dot com|jakub at gcc dot gnu.org,

[Bug c++/119073] [15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with temporary vector in range-for with -std=c++23 since r15-7481

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

[Bug rtl-optimization/92656] The zero_extend insn can't be eliminated in the combine pass

2025-03-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92656 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/71942] [ARM] Zero-extending whats allready zero-extended even when -O3

2025-03-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71942 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/97747] [12/13/14/15 Regression] missed combine opt with logical ops after zero extended load

2025-03-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97747 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-01 Thread trinxery at firemail dot cc via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 --- Comment #2 from trinxery at firemail dot cc --- Created attachment 60626 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60626&action=edit preprocessed json.hpp

[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-01 Thread trinxery at firemail dot cc via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 --- Comment #3 from trinxery at firemail dot cc --- and main.cxx is: # 0 "./main.cxx" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "./main.cxx" import "././include/nlohmann/json.hpp" [[__translated]]; # 1 "/usr/include/c++/

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

2025-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 --- Comment #47 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ff38712bcba97ff9cba168a4e864c5a8ac453b7f commit r15-7776-gff38712bcba97ff9cba168a4e864c5a8ac453b7f Author: Jakub Jelinek Date:

[Bug target/119077] New: gcc option -mint8 leads to undefined reference to `__builtin_avr_delay_cycles'

2025-03-01 Thread ulinl--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119077 Bug ID: 119077 Summary: gcc option -mint8 leads to undefined reference to `__builtin_avr_delay_cycles' Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severit

[Bug c/118061] [15 regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tagged_types_tu_compatible_p, at c/c-typeck.cc:1946

2025-03-01 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118061 --- Comment #3 from uecker at gcc dot gnu.org --- Created attachment 60627 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60627&action=edit patch Patch adding checking for errors.

[Bug c/118765] c23 tag matching broken for multiple redeclarations of typedefs

2025-03-01 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118765 --- Comment #11 from uecker at gcc dot gnu.org --- Created attachment 60628 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60628&action=edit patch Tentative fix.

[Bug c++/118981] "_GLOBAL__sub_I.00099_tzdb.cc" defined twice in the assembly output for c++20/tzdb.cc with -fvtable-verify=std (--enable-vtable-verify)

2025-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118981 --- Comment #51 from Jonathan Wakely --- (In reply to Erich Löw from comment #50) > Q_1 > What would happen if saying (just hypothetically) > --> All prios in range 0 ... 2^^16 - 1 are allowed > --> Imho consequence of removing split in reserved