[Bug c++/121335] Vulkan module ICE

2025-08-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121335 --- Comment #5 from Patrick Palka --- i.e. place #includes first: #define GLFW_INCLUDE_VULKAN #include import std; import vulkan_hpp;

[Bug c++/121335] Vulkan module ICE

2025-08-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121335 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug libstdc++/121402] repeat_view and [[no_unique_address]]

2025-08-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
||ppalka at gcc dot gnu.org Ever confirmed|0 |1 Target Milestone|--- |16.0 Status|UNCONFIRMED |NEW

[Bug c++/121351] [15 Regression] Ambiguous resolution of constrained overloads imported from base class

2025-08-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121351 Patrick Palka changed: What|Removed |Added Summary|[15/16 Regression] |[15 Regression] Ambiguous

[Bug c++/120620] [13/14/15 Regression] Internal Compiler Error in tree.cc, Line #11240

2025-08-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120620 Patrick Palka changed: What|Removed |Added Summary|[13/14/15/16 Regression]|[13/14/15 Regression]

[Bug c++/121351] [15/16 Regression] Ambiguous resolution of constrained overloads imported from base class

2025-08-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/120620] [13/14/15/16 Regression] Internal Compiler Error in tree.cc, Line #11240

2025-08-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/121351] [15/16 Regression] Ambiguous resolution of constrained overloads imported from base class

2025-08-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
||2025-08-01 CC||ppalka at gcc dot gnu.org See Also||https://gcc.gnu.org/bugzill ||a/show_bug.cgi?id=119859 Status|UNCONFIRMED

[Bug c++/120620] [13/14/15/16 Regression] Internal Compiler Error in tree.cc, Line #11240

2025-07-31 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120620 Patrick Palka changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #5

[Bug c++/120757] [13/14/15/16 Regression] ICE: in tsubst, at cp/pt.cc:16787

2025-07-31 Thread ppalka at gcc dot gnu.org via Gcc-bugs
, ||ppalka at gcc dot gnu.org See Also||https://gcc.gnu.org/bugzill ||a/show_bug.cgi?id=105964 Keywords|needs-bisection | --- Comment #3 from Patrick Palka

[Bug c++/121328] [13/14/15/16 Regression] ICE: Segmentation fault on local lambda constraints with pack expression within local alias

2025-07-31 Thread ppalka at gcc dot gnu.org via Gcc-bugs
||ppalka at gcc dot gnu.org Known to work||10.2.0 Summary|[13/14/15/16 Regression]|[13/14/15/16 Regression] |ICE: Segmentation fault on |ICE: Segmentation fault on |local lambda constraints

[Bug libstdc++/121327] Not-matching concept fails to compile with error "depends on itself"

2025-07-31 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121327 Patrick Palka changed: What|Removed |Added Component|c++ |libstdc++ --- Comment #3 from Patrick P

[Bug c++/121327] Not-matching concept fails to compile with error "depends on itself"

2025-07-31 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121327 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/120224] [14 Regression] ICE in cp_parser_expression_statement with std::void_t overload resolution since 14.1 until trunk

2025-07-31 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120224 Patrick Palka changed: What|Removed |Added Summary|[14/15 Regression] ICE in |[14 Regression] ICE in

[Bug c++/121238] `-fmodules` causes invalid runtime exceptions with `std::format`

2025-07-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121238 --- Comment #2 from Patrick Palka --- (In reply to Patrick Palka from comment #1) > Confirmed, thanks for the short reproducer. Reducing via cvise.. My few attempts at reducing this testcase further via cvise resulted in non-deterministically bu

[Bug libstdc++/121245] __any_input_iterator should not accept C++20 input_iterator

2025-07-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121245 --- Comment #2 from Patrick Palka --- Note this relaxation only applies to container member functions. InputIterator template parameter for _algorithms_ must be C++17 iterator as per https://wg21.link/algorithms.requirements#4.2

[Bug libstdc++/121245] __any_input_iterator should not accept C++20 input_iterator

2025-07-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121245 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/108080] ICE: in module.cc:core_vals with -fmodule-header and #pragma GCC target / optimize (shows up in fmt)

2025-07-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108080 --- Comment #19 from Patrick Palka --- (In reply to ak from comment #18) > How about just making it a warning and ignore? In most cases this is not > fatal. The only exception would be options that are required for correctness. > > This patch f

[Bug c++/121238] `-fmodules` causes invalid runtime exceptions with `std::format`

2025-07-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
||2025-07-25 Status|UNCONFIRMED |NEW CC||ppalka at gcc dot gnu.org --- Comment #1 from Patrick Palka --- Confirmed, thanks for the short reproducer. Reducing via cvise..

[Bug c++/121231] Miscompile with brace-initialized constant template parameter perhaps due to function coalescing

2025-07-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121231 --- Comment #7 from Patrick Palka --- Yep, both forms should work..

[Bug c++/121239] mangling of non-dependent calls and operators that resolve to an overload

2025-07-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121239 Patrick Palka changed: What|Removed |Added Last reconfirmed||2025-07-24 Status|UNCONFIRM

[Bug c++/121239] New: mangling of non-dependent calls and operators that resolve to an overload

2025-07-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- In https://gcc.gnu.org/pipermail/gcc-patches/2025-July/690520.html we noticed the following inadvertent mangling changes of non

[Bug c++/121231] [10->trunk] miscompile with brace-initialized constant template parameter perhaps due to function coalescing

2025-07-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121231 --- Comment #5 from Patrick Palka --- It works if we explicitly zero-initialize 'result': Foo result{0,0};

[Bug c++/121231] [10->trunk] miscompile with brace-initialized constant template parameter perhaps due to function coalescing

2025-07-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
, ||ppalka at gcc dot gnu.org --- Comment #4 from Patrick Palka --- The problem seems to be that mangle_template_parm_object returns the same mangling _ZTAXtl3FooLi1EEE, i.e. "Foo{1}", for both make_foo(true) and make_foo(false) which causes us to confla

[Bug c++/121055] [15/16 Regression] __is_invocable built-in doesn't match std::invoke for rvalue-ref qualified member function

2025-07-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121055 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/119962] : __maybe_present_t misses initialization

2025-07-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119962 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/106610] elements_view::iterator::iterator_category invokes the operator*() && of the underlying iterator

2025-07-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106610 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug c++/114632] ICE when converting static / explicit this lambda to function pointer

2025-07-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114632 Patrick Palka changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #4 from

[Bug c++/121179] When importing std, chrono calculation will cause a compilation error

2025-07-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121179 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug c++/103524] [meta-bug] modules issue

2025-07-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 121179, which changed state. Bug 121179 Summary: When importing std, chrono calculation will cause a compilation error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121179 What|Removed

[Bug c++/121055] [15/16 Regression] __is_invocable built-in doesn't match std::invoke for rvalue-ref qualified member function

2025-07-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121055 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug libstdc++/115209] The implementation of concat_view refers to p2542r7 rather than the p2542r8

2025-07-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115209 --- Comment #8 from Patrick Palka --- (In reply to 康桓瑋 from comment #7) > (In reply to 康桓瑋 from comment #6) > > (In reply to Patrick Palka from comment #5) > > > (In reply to 康桓瑋 from comment #4) > > > > > Our concat_view implementation is a

[Bug libstdc++/121026] ranges::uninitialized_xxx algos perform invalid optimizations

2025-07-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
||2025-07-11 Ever confirmed|0 |1 CC||ppalka at gcc dot gnu.org --- Comment #3 from Patrick Palka --- confirmed (In reply to Jonathan Wakely from comment #1) > The optimizations are useful for -O0 where

[Bug libstdc++/120934] views::concat is ill-formed depending on argument order

2025-07-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
|--- |FIXED Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org --- Comment #6 from Patrick Palka --- Fixed for GCC 15.2, thanks for the bug report.

[Bug libstdc++/120934] views::concat is ill-formed depending on argument order

2025-07-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120934 Patrick Palka changed: What|Removed |Added Target Milestone|--- |15.2

[Bug libstdc++/120934] views::concat is ill-formed depending on argument order

2025-07-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
||rejects-valid CC||ppalka at gcc dot gnu.org Last reconfirmed||2025-07-03 Status|UNCONFIRMED |NEW See Also||https://gcc.gnu.org/bugzill

[Bug c++/120766] [12/13/14/15/16 Regression] ICE Segmentation fault with duplicate extern variable of template type

2025-07-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
||a/show_bug.cgi?id=104669 Keywords|needs-bisection | CC||jason at gcc dot gnu.org, ||ppalka at gcc dot gnu.org --- Comment #2 from Patrick Palka

[Bug libstdc++/120789] ranges::unique should use ranges​::​iter_move

2025-07-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120789 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug libstdc++/105611] std::shift_left/right should not use ranges::next

2025-06-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105611 --- Comment #1 from Patrick Palka --- std::shift_left/right require a Cpp17ForwardIterator, but here I is not default constructible which seems like a constraint violation making the testcase invalid? Using ranges::next on a legacy iterator is

[Bug c++/120620] [13/14/15/16 Regression] Internal Compiler Error in tree.cc, Line #11240

2025-06-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
||ppalka at gcc dot gnu.org --- Comment #4 from Patrick Palka --- The ICE (with -std=c++20) started with r13-3299 "c++ modules: ICE with dynamic_cast [PR106304]".

[Bug c++/105644] ICE in a fold expression with a requires expression: in iterative_hash_template_arg, at cp/pt.cc:1805

2025-06-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105644 Patrick Palka changed: What|Removed |Added CC||rush102333 at gmail dot com --- Comment

[Bug c++/120748] [16 Regression] New crash with lambda code

2025-06-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120748 --- Comment #2 from Patrick Palka --- (In reply to Patrick Palka from comment #1) > Started crashing (stack overflow) after r16-970. ... before which, we would instead reject the testcase, so not sure if this is really a regression (rejects-vali

[Bug c++/120800] [14/15/16 Regression] internal compiler error when using partially initialized class with private constructor and friend

2025-06-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
gnu.org, ||ppalka at gcc dot gnu.org Target Milestone|--- |14.4 --- Comment #1 from Patrick Palka --- Confirmed, the ICE (with -std=c++20) started with r15-7260 "c++: constexpr VEC_INIT_EXPR [PR118285]",

[Bug c++/120797] ICE: in iterative_hash_template_arg, at cp/pt.cc:1775 under '-std=c++2a'

2025-06-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
||ppalka at gcc dot gnu.org Status|UNCONFIRMED |RESOLVED --- Comment #1 from Patrick Palka --- Thanks for the bug report, I think this is essentially a dup of PR105644 *** This bug has been marked as a duplicate of bug 105644 ***

[Bug c++/120748] [16 Regression] New crash with lambda code

2025-06-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
||jason at gcc dot gnu.org, ||ppalka at gcc dot gnu.org Keywords|needs-bisection | Ever confirmed|0 |1 Last reconfirmed||2025-06-24 --- Comment #1 from

[Bug libstdc++/120717] Passing reference to incomplete type to std::move_only_function emits false-positive '-Wsfinae-incomplete' warning

2025-06-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120717 Patrick Palka changed: What|Removed |Added Target Milestone|--- |16.0 Resolution|---

[Bug libstdc++/120717] Passing reference to incomplete type to std::move_only_function emits false-positive '-Wsfinae-incomplete' warning

2025-06-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |ppalka at gcc dot gnu.org Component|c++ |libstdc++ --- Comment #2 from Patrick Palka --- This requires a libstdc++ workaround, the warning is behaving as expected.

[Bug libstdc++/120717] Passing reference to incomplete type to std::move_only_function emits false-positive '-Wsfinae-incomplete' warning

2025-06-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
|1 CC||ppalka at gcc dot gnu.org Last reconfirmed||2025-06-20 --- Comment #1 from Patrick Palka --- > 1. Refine the implementation-detail metafunction > std::__is_complete_or_unbounded so that it cor

[Bug c++/117792] [12 Regression] ICE in tsubst_template_args with function template-id and local static arg

2025-06-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117792 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/116320] [12 Regression] ICE: Segmentation fault (perform_or_defer_access_check) since r11-1350

2025-06-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116320 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/114303] [12 Regression] ICE with constexpr if and accessing captures across nested generic lambdas

2025-06-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114303 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/120655] c++17 CTAD, alias template in a constructor render a non-deducible context

2025-06-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120655 Patrick Palka changed: What|Removed |Added CC||jason at gcc dot gnu.org Ever confi

[Bug c++/84075] [12/13/14/15/16 Regression] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2025-06-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|ppalka at gcc

[Bug c++/84075] [12/13/14/15/16 Regression] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2025-06-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 Patrick Palka changed: What|Removed |Added Known to work|14.1.0, 15.0| Summary|[12/13 Regression] T

[Bug c++/108848] [12 Regression] template keyword incorrectly required to access template class static member of non-dependent expression using member syntax in dependent context

2025-06-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108848 Patrick Palka changed: What|Removed |Added Target Milestone|12.5|13.0 Resolution|---

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

2025-06-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 116418, which changed state. Bug 116418 Summary: [12 Regression] statement expressions as initializer for decltype auto breaks in templates with optimization turned on and debug info turned on due to gstatement-frontiers

[Bug c++/116418] [12 Regression] statement expressions as initializer for decltype auto breaks in templates with optimization turned on and debug info turned on due to gstatement-frontiers

2025-06-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116418 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/120684] [15/16 Regression] bogus "error: destroying ‘’ outside its lifetime" with constexpr dtor object inside repeated range-based for loops

2025-06-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120684 Patrick Palka changed: What|Removed |Added Summary|bogus "error: destroying|[15/16 Regression] bogus

[Bug c++/120684] New: bogus "error: destroying ‘’ outside its lifetime" with constexpr dtor object inside range-based for

2025-06-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
sion: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- $ cat testcase.C struct basic_string { constexpr ~basic_string() {} }

[Bug c++/120655] c++17 CTAD, alias template in a constructor render a non-deducible context

2025-06-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120655 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/120667] [12/13/14 Regression] internal compiler error: in cxx_eval_constant_expression, at cp/constexpr.cc:7908

2025-06-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
||mpolacek at gcc dot gnu.org, ||ppalka at gcc dot gnu.org Target Milestone|--- |12.5 Last reconfirmed||2025-06-16 Status|UNCONFIRMED |NEW --- Comment #1 from Patrick Palka

[Bug c++/120640] Keyword 'typename' should not affect qualified name lookup

2025-06-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
|UNCONFIRMED |NEW Ever confirmed|0 |1 CC||ppalka at gcc dot gnu.org --- Comment #3 from Patrick Palka --- Confirmed, this is only a problem for redundant 'typename' outside of a template. GCC 13 correct

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

2025-06-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119705 --- Comment #9 from Patrick Palka --- With -fsyntax-only and a checking compiler (which means frequent GCs), we allocate 5.8GB of GC memory according to -ftime-report, but maximum RSS is 5GB according to /usr/bin/time -v, which I think means the

[Bug libstdc++/100795] ranges::sample, ranges::sort etc should not use std::sample, std::sort etc directly

2025-06-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/120577] [14/15/16 Regression] Another crash with [[no_unique_address]] and constexpr functions

2025-06-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
||jason at gcc dot gnu.org, ||ppalka at gcc dot gnu.org --- Comment #4 from Patrick Palka --- This one also started with r15-9189. And doesn't require -O to reproduce unlike PR120502.

[Bug libstdc++/120432] flat_map operator[] is broken for const lvalue keys

2025-06-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
|--- |FIXED Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org Status|NEW |RESOLVED --- Comment #9 from Patrick Palka --- Fixed for 15.2, thanks for the report.

[Bug c++/102012] GCC accepts any non-bool atomic constraint type

2025-06-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102012 Patrick Palka changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug c++/67491] [meta-bug] concepts issues

2025-06-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 102012, which changed state. Bug 102012 Summary: GCC accepts any non-bool atomic constraint type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102012 What|Removed |Added -

[Bug c++/120224] [14/15 Regression] ICE in cp_parser_expression_statement with std::void_t overload resolution since 14.1 until trunk

2025-06-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
||ppalka at gcc dot gnu.org Summary|[14/15/16 Regression] ICE |[14/15 Regression] ICE in |in |cp_parser_expression_statem |cp_parser_expression_statem |ent with std::void_t |ent with std

[Bug c++/118340] fold expression is very slow to compile when used to initialize a variable

2025-06-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118340 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/120555] [15/16 Regression] Use of auto func before deduction of auto

2025-06-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120555 --- Comment #2 from Patrick Palka --- The comment #1 testcase might be over-reduced, it's more interesting if the two branches of the constexpr have different return types: // PR c++/120555 // { dg-do compile { target c++17 } } struct A { int

[Bug c++/120555] [15/16 Regression] Use of auto func before deduction of auto

2025-06-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
, ||ppalka at gcc dot gnu.org Summary|[15 Regression] Use of auto |[15/16 Regression] Use of |func before deduction of|auto func before deduction |auto|of auto --- Comment #1 from Patrick

[Bug libstdc++/106749] Implement C++23 library features

2025-06-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106749 Bug 106749 depends on bug 118031, which changed state. Bug 118031 Summary: [C++23] ranges::starts_with and ranges::ends_with https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118031 What|Removed |Added -

[Bug libstdc++/118031] [C++23] ranges::starts_with and ranges::ends_with

2025-06-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118031 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/120502] [15/16 Regression] ICE in verify_ctor_sanity with -std=c++20 -O1 and no_unique_address since r15-9189

2025-06-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
||r15-9189 See Also||https://gcc.gnu.org/bugzill ||a/show_bug.cgi?id=119387 CC||ppalka at gcc dot gnu.org --- Comment #2 from Patrick Palka --- Started with r15-9189 &q

[Bug libstdc++/120465] std::erase_if for std::flat_map calls predicate with incorrect type

2025-06-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
|--- |FIXED Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org --- Comment #6 from Patrick Palka --- Fixed for 15.2, thanks for the bug report.

[Bug c++/120123] [12/13/14/15/16 Regression] Implicit this is not used in a requires clause in nested lambdas

2025-05-31 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120123 --- Comment #6 from Patrick Palka --- N.B. the testcase here is a C++20 one, not related to xobj lambdas.

[Bug c++/120123] [12/13/14/15/16 Regression] Implicit this is not used in a requires clause in nested lambdas

2025-05-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120123 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/119240] Lambda with an explicit object parameter disables further captures of `this`

2025-05-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119240 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED See Also|https://gcc

[Bug c++/113563] Rejects capture of `this` in C++23 `this auto` lambda

2025-05-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113563 Patrick Palka changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=1

[Bug c++/65608] [meta-bug] friend issues

2025-05-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65608 Bug 65608 depends on bug 119378, which changed state. Bug 119378 Summary: [12/13 Regression] Nested template class friend of template class produces "internal compiler error: unexpected expression ‘T’ of kind template_parm_index" https://gcc.gnu

[Bug c++/119378] [12/13 Regression] Nested template class friend of template class produces "internal compiler error: unexpected expression ‘T’ of kind template_parm_index"

2025-05-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119378 Patrick Palka changed: What|Removed |Added Target Milestone|12.5|14.3 Status|ASSIGNED

[Bug libstdc++/120432] flat_map operator[] is broken for const lvalue keys

2025-05-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120432 --- Comment #4 from Patrick Palka --- (In reply to Patrick Palka from comment #3) > (In reply to Arthur O'Dwyer from comment #2) > > But I think a better answer in this case is "because using > > a volatile index *will not actually compile*, so

[Bug libstdc++/120432] flat_map operator[] is broken for const lvalue keys

2025-05-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120432 --- Comment #3 from Patrick Palka --- (In reply to Arthur O'Dwyer from comment #2) > But I think a better answer in this case is "because using > a volatile index *will not actually compile*, so flat_map shouldn't > gratuitously advertise that s

[Bug libstdc++/112641] : `drop_view::begin const` has O(n) complexity

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112641 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/112641] : `drop_view::begin const` has O(n) complexity

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112641 Patrick Palka changed: What|Removed |Added Target Milestone|--- |12.5

[Bug libstdc++/118083] __possibly_const_range misses input_range constraint

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118083 Patrick Palka changed: What|Removed |Added Target Milestone|14.4|14.3 Status|ASSIGNED

[Bug libstdc++/115046] meta-recursion when apply join_view with as_const_view

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115046 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/112490] infinite meta error in reverse_iterator::iterator>> (LWG 4218)

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112490 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/119135] Typo in as_const range adaptor

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119135 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/112453] : __take_of_repeat_view/__drop_of_repeat_view should forwards __r._M_value

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112453 Patrick Palka changed: What|Removed |Added Target Milestone|13.4|14.0 Status|ASSIGNED

[Bug c++/119233] [12 Regression] templated member function used as a template argument via pointer to member function from inside a template causes an undefined symbol since r12-6075-g2decd2cabe5a4f

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119233 Patrick Palka changed: What|Removed |Added Summary|[12/13 Regression] |[12 Regression] templated

[Bug c++/106760] [12 Regression] ICE: tree check: expected function_decl, have template_decl in get_fndecl_argument_location, at cp/call.cc:7801

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106760 Patrick Palka changed: What|Removed |Added Summary|[12/13 Regression] ICE: |[12 Regression] ICE: tree

[Bug c++/115358] [13 Regression] template argument deduction/substitution failed in generic lambda function use of static constexpr array type whos initializer defines the size since r13-2540

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115358 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/117792] [12 Regression] ICE in tsubst_template_args with function template-id and local static arg

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117792 Patrick Palka changed: What|Removed |Added Summary|[12/13 Regression] ICE in |[12 Regression] ICE in

[Bug c++/115656] [12 Regression] Templated ctor use rejected in non-deduced context if class template has template template parameter

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115656 Patrick Palka changed: What|Removed |Added Summary|[12/13 Regression] |[12 Regression] Templated

[Bug c++/116418] [12 Regression] statement expressions as initializer for decltype auto breaks in templates with optimization turned on and debug info turned on due to gstatement-frontiers

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116418 Patrick Palka changed: What|Removed |Added Summary|[12/13 Regression] |[12 Regression] statement

[Bug c++/67491] [meta-bug] concepts issues

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 118060, which changed state. Bug 118060 Summary: [13 Regression] ICE (internal compiler error) on requires clause https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 What|Removed |Added

[Bug c++/118060] [13 Regression] ICE (internal compiler error) on requires clause

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/116320] [12 Regression] ICE: Segmentation fault (perform_or_defer_access_check) since r11-1350

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116320 Patrick Palka changed: What|Removed |Added Summary|[12/13 Regression] ICE: |[12 Regression] ICE:

  1   2   3   4   5   6   7   8   9   10   >