[Bug c++/101315] C++20 lambdas in unevaluated context: erroneously fails with "incomplete type"

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

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 101315, which changed state. Bug 101315 Summary: C++20 lambdas in unevaluated context: erroneously fails with "incomplete type" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101315 What|Removed

[Bug c++/99513] ICE Segmentation fault when decltype lambda in concept template list since r10-3735-gcb57504a55015891

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99513 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

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

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 99513, which changed state. Bug 99513 Summary: ICE Segmentation fault when decltype lambda in concept template list since r10-3735-gcb57504a55015891 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99513 What

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 99513, which changed state. Bug 99513 Summary: ICE Segmentation fault when decltype lambda in concept template list since r10-3735-gcb57504a55015891 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99513 What

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 104537, which changed state. Bug 104537 Summary: ICE when generic-lambda as function parameter fails to be converted to pointer to function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104537 What

[Bug c++/104537] ICE when generic-lambda as function parameter fails to be converted to pointer to function

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104537 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug c++/105652] [12/13 Regression] ICE: in is_base_type, at dwarf2out.cc:13400 since r12-1937-gc28e1d288ab727de

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105652 Andrew Pinski changed: What|Removed |Added CC||nickhuang99 at hotmail dot com ---

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 104138, which changed state. Bug 104138 Summary: [12 Regression] ICE in is_base_type with lambda is passed as parameter with -g https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104138 What|Removed

[Bug c++/54367] [meta-bug] lambda expressions

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 104138, which changed state. Bug 104138 Summary: [12 Regression] ICE in is_base_type with lambda is passed as parameter with -g https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104138 What|Removed

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 107464, which changed state. Bug 107464 Summary: Expression error in qualified name lookup with lambdas in unevaluated context https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107464 What|Removed

[Bug c++/107464] Expression error in qualified name lookup with lambdas in unevaluated context

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107464 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 108414, which changed state. Bug 108414 Summary: Incorrect pack expansion as argument to lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108414 What|Removed |Added

[Bug c++/108414] Incorrect pack expansion as argument to lambda

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

[Bug c++/106957] compiler error when calling lambda in decltype in trailing return type of function templated on T when passing T{} to the lambda

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

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 106821, which changed state. Bug 106821 Summary: Incorrect behavior when using type alias template containing unevaluated lambda expression in a template context https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106821

[Bug c++/110856] GCC rejects template alias of function type as invalid template parameter

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110856 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/111717] syntax error When CTAD encounters complex alias template

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

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 111717, which changed state. Bug 111717 Summary: syntax error When CTAD encounters complex alias template https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111717 What|Removed |Added

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 110681, which changed state. Bug 110681 Summary: bogus warning -Wreturn-type for lambda in tparam list https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110681 What|Removed |Added

[Bug c++/108602] FAIL: g++.dg/modules/xtreme-header-5_c.C -std=c++2b (test for excess errors)

2024-04-13 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108602 Alexandre Oliva changed: What|Removed |Added CC||aoliva at gcc dot gnu.org ---

[Bug c++/99505] ICE Segmentation fault when decltype lambda in parameter list

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99505 --- Comment #7 from Andrew Pinski --- (In reply to 康桓瑋 from comment #2) > int main() { > [] (decltype([]{})) {} (); > } This testcase still ICEs. Note clang, EDG and MSVC all reject it with a similar message here is clang's: ``` :3:3: error:

[Bug c++/101013] Rejects-valid for alias template in a different namespace with a lambda in unevaluated context

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

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 101013, which changed state. Bug 101013 Summary: Rejects-valid for alias template in a different namespace with a lambda in unevaluated context https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101013 What

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 110856, which changed state. Bug 110856 Summary: GCC rejects template alias of function type as invalid template parameter https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110856 What|Removed

[Bug c++/110681] bogus warning -Wreturn-type for lambda in tparam list

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110681 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug c++/110680] erroneous error "non-template type 'C' used as a template"

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

[Bug libgcc/114689] [14 Regression] libgcc/config/m68k/fpgnulib.c:305: Suspicious coding ?

2024-04-13 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114689 --- Comment #6 from David Binderman --- (In reply to Jakub Jelinek from comment #5) > And does > extern void g( int); > > void f( int mant, int sticky) > { > mant = mant >> 1 ; > mant = mant >> 1 | (mant & 1); > mant = mant

[Bug c++/110552] ICE on valid code in maybe_instantiate_noexcept

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110552 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Status|NEW

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 110552, which changed state. Bug 110552 Summary: ICE on valid code in maybe_instantiate_noexcept https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110552 What|Removed |Added

[Bug tree-optimization/114704] Missed optimization : eliminate store if the value is known in all predecessors

2024-04-13 Thread xxs_chy at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114704 --- Comment #3 from XChy --- (In reply to Andrew Pinski from comment #1) > Confirmed. A more general testcase: > ``` > void dummy(); > > void src(int *p, int a){ > int t = *p; > if(t == a) > goto then; > else { >

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 100594, which changed state. Bug 100594 Summary: Lambdas in unevaluated contexts interact oddly with alias templates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100594 What|Removed

[Bug c++/100594] Lambdas in unevaluated contexts interact oddly with alias templates

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100594 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/54367] [meta-bug] lambda expressions

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 100594, which changed state. Bug 100594 Summary: Lambdas in unevaluated contexts interact oddly with alias templates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100594 What|Removed

[Bug c++/54367] [meta-bug] lambda expressions

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 101315, which changed state. Bug 101315 Summary: C++20 lambdas in unevaluated context: erroneously fails with "incomplete type" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101315 What|Removed

[Bug c++/104138] [12 Regression] ICE in is_base_type with lambda is passed as parameter with -g

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104138 Andrew Pinski changed: What|Removed |Added Known to fail||12.1.0 Summary|ICE in

[Bug c++/103569] Type alias from result of lambda call in unevaluated context, used in template, is inconsistent

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

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 103569, which changed state. Bug 103569 Summary: Type alias from result of lambda call in unevaluated context, used in template, is inconsistent https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103569 What

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 106398, which changed state. Bug 106398 Summary: ICE in finish_expr_stmt at cp/semantics.c:872 for lambda with conditional noexcept against lambda in unevaluated context

[Bug c++/106398] ICE in finish_expr_stmt at cp/semantics.c:872 for lambda with conditional noexcept against lambda in unevaluated context

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

[Bug c++/109241] [12/13/14 Regression] ICE Segmentation fault for statement expression with a local type inside inside a generic lambda inside a generic lambda since r13-6722-gb323f52ccf966800

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109241 Andrew Pinski changed: What|Removed |Added CC||jbassett271 at gmail dot com ---

[Bug c++/106821] Incorrect behavior when using type alias template containing unevaluated lambda expression in a template context

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106821 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/114106] Wrong result of decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114106 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 114106, which changed state. Bug 114106 Summary: Wrong result of decltype https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114106 What|Removed |Added

[Bug testsuite/109596] [14 Regression] Lots of guality testcase fails on x86_64 after r14-162-gcda246f8b421ba

2024-04-13 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109596 --- Comment #18 from Haochen Jiang --- (In reply to Andrew Pinski from comment #16) > (In reply to Carlos Eduardo Seo from comment #15) > > I see some failures after this patch on aarch64-linux-gnu: > > > > FAIL: gcc.dg/guality/pr54693-2.c -O2

[Bug rtl-optimization/10654] feature request: non-temporal store, 64-bit general purpose register

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

[Bug c++/92494] ICE on function templates with placeholder return type decltype([]{}) and if return type doesn't match

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

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 92494, which changed state. Bug 92494 Summary: ICE on function templates with placeholder return type decltype([]{}) and if return type doesn't match https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92494 What

[Bug c++/102881] gcc totally broken when trailing return type combine with decltype lambda

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102881 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/109142] auto tmp=*(data_type*): expected primary-expression before ')' token

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Status|UNCONFIRMED

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 109142, which changed state. Bug 109142 Summary: auto tmp=*(data_type*): expected primary-expression before ')' token https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142 What|Removed

[Bug c++/95010] Recursive function template with function parameter of type decltype([]{}) is rejected

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95010 --- Comment #2 from Andrew Pinski --- Hmm, EDG, clang and MSVC (and GCC) all reject both testcases with the very similar error message.

[Bug target/90620] Microblaze: ICE similar to bug 16267

2024-04-13 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90620 Giulio Benetti changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #5 from Giulio

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 102873, which changed state. Bug 102873 Summary: GCC incorrectly expected parameter pack before '...' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102873 What|Removed |Added

[Bug c++/102873] GCC incorrectly expected parameter pack before '...'

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102873 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/102728] requires statement fails to recognize lambda in unevaluated context

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

[Bug c++/105692] ICE in finish_expr_stmt, at cp/semantics.cc:872 since r9-4045-g0c1e0d63fe0ceabb

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105692 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 105692, which changed state. Bug 105692 Summary: ICE in finish_expr_stmt, at cp/semantics.cc:872 since r9-4045-g0c1e0d63fe0ceabb https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105692 What|Removed

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 105583, which changed state. Bug 105583 Summary: Syntax error when alias template in requires-clause https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105583 What|Removed |Added

[Bug c++/109870] Miscomputation of return type of unevaluated lambda in type alias in template context

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109870 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-04-13 Keywords|

[Bug c++/109754] [ICE] internal compiler error: in coerce_template_parms, at cp/pt.cc:9183

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

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 109754, which changed state. Bug 109754 Summary: [ICE] internal compiler error: in coerce_template_parms, at cp/pt.cc:9183 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109754 What|Removed

[Bug c++/90533] [C++20] cannot redeclare telmplate function if it contains lambda expression in its declaration

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90533 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug c++/92707] type alias on type alias on lambda in unevaluated context does not work

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92707 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug c++/54367] [meta-bug] lambda expressions

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 92707, which changed state. Bug 92707 Summary: type alias on type alias on lambda in unevaluated context does not work https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92707 What|Removed

[Bug c++/54367] [meta-bug] lambda expressions

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 90533, which changed state. Bug 90533 Summary: [C++20] cannot redeclare telmplate function if it contains lambda expression in its declaration https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90533 What

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 90533, which changed state. Bug 90533 Summary: [C++20] cannot redeclare telmplate function if it contains lambda expression in its declaration https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90533 What

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 92707, which changed state. Bug 92707 Summary: type alias on type alias on lambda in unevaluated context does not work https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92707 What|Removed

[Bug c++/105236] failed lookup of alias with alias template of dependent template parameter containing lambda in unevaluated context

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105236 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 105236, which changed state. Bug 105236 Summary: failed lookup of alias with alias template of dependent template parameter containing lambda in unevaluated context https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105236

[Bug c++/105583] Syntax error when alias template in requires-clause

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105583 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Status|NEW

[Bug c++/109367] bogus -Wunused-function warning with decltype of a lambda as an argument

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

[Bug c++/102925] [11.2]ICE with concept of std::convertible_to with lambda in unevaluated-context

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

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 102925, which changed state. Bug 102925 Summary: [11.2]ICE with concept of std::convertible_to with lambda in unevaluated-context https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102925 What|Removed

[Bug c++/112715] Incorrect handling of template type aliases instantiated from decltype of lambdas

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112715 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 112715, which changed state. Bug 112715 Summary: Incorrect handling of template type aliases instantiated from decltype of lambdas https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112715 What|Removed

[Bug c++/114709] [12/13/14 Regression] Incorrect handling of inactive union member access via pointer to member in constant evaluated context

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114709 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.4 Known to work|

[Bug c++/114709] Incorrect handling of inactive union member access via pointer to member in constant evaluated context

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114709 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid Last reconfirmed|

[Bug tree-optimization/112723] [11/12/13/14 Regression] Missed optimization for invariants 'c+c' when c += -2147483647-1 and c is a global variable

2024-04-13 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112723 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org

[Bug c++/99516] Erroneous lambda conversion in default non-type template list

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

[Bug c++/99513] ICE Segmentation fault when decltype lambda in concept template list since r10-3735-gcb57504a55015891

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99513 --- Comment #2 from Andrew Pinski --- The ICE was fixed in GCC 11+. But we still reject: ``` template concept C = true; template auto f() requires C<[]{}>; ```

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 102881, which changed state. Bug 102881 Summary: gcc totally broken when trailing return type combine with decltype lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102881 What|Removed

[Bug c++/113754] GCC complains when using a type that depends on lambda

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113754 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-04-13 Keywords|

[Bug tree-optimization/114711] New: Missed optimization: fold load of global constant array if there is obivous pattern

2024-04-13 Thread xxs_chy at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114711 Bug ID: 114711 Summary: Missed optimization: fold load of global constant array if there is obivous pattern Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/114712] Missed optimization: simplify if-else basic blocks that share common destinations

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114712 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/105667] [C++20] lambdas in template argument sometimes cause an ICE (seg fault)

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105667 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2022-05-19 00:00:00 |2024-4-13 --- Comment #9 from Andrew

[Bug tree-optimization/96672] Missing -Wclobbered diagnostic, or: __attribute__((returns_twice)) does not inhibit constant folding across call site

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96672 Andrew Pinski changed: What|Removed |Added Depends on||57067 --- Comment #4 from Andrew Pinski

[Bug c++/94753] -undef, c++20 and feature-test macros

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94753 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/104788] ICE in stmts_are_full_exprs_p

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104788 --- Comment #3 from Andrew Pinski --- Created attachment 57943 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57943=edit Slightly more reduced

[Bug c++/92211] Lamdas in unevaluated context bug

2024-04-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92211 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.0 Status|NEW

[Bug c++/92439] [concepts] trunk crashes on constraint satisfaction failure

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92439 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

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

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 92439, which changed state. Bug 92439 Summary: [concepts] trunk crashes on constraint satisfaction failure https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92439 What|Removed |Added

[Bug bootstrap/95700] read-md.c: "missing sentinel in function call" when building gcc with musl

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95700 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/104548] parser rejects alias template id of lambda in unevaluated-context and accepts when no alias is used

2024-04-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104548 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/107430] [meta-bug] lambda in decltype

2024-04-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 104548, which changed state. Bug 104548 Summary: parser rejects alias template id of lambda in unevaluated-context and accepts when no alias is used https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104548 What

[Bug c++/54367] [meta-bug] lambda expressions

2024-04-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 104548, which changed state. Bug 104548 Summary: parser rejects alias template id of lambda in unevaluated-context and accepts when no alias is used https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104548 What

[Bug c++/103952] [11/12/13/14 Regression] ICE: in cp_finish_decl, at cp/decl.c:7933

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103952 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2022-01-09 00:00:00 |2024-4-13 --- Comment #6 from Andrew

[Bug c++/107024] ICE in finish_expr_stmt, at cp/semantics.cc:872

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

[Bug c++/107168] [11/12/13 Regression] Wrong errors for concepts with default lambda not-type argument since r11-3714-gc1c62aec6751678e

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107168 Andrew Pinski changed: What|Removed |Added Known to work||14.0 Summary|[11/12/13/14

[Bug tree-optimization/29756] SSE intrinsics hard to use without redundant temporaries appearing

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29756 Andrew Pinski changed: What|Removed |Added Known to work||14.0 --- Comment #20 from Andrew Pinski

  1   2   >