https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119838
Bug ID: 119838
Summary: optional template keyword causing error
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119829
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
Ever co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119807
Marek Polacek changed:
What|Removed |Added
Keywords|needs-bisection |
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119580
Marek Polacek changed:
What|Removed |Added
Keywords||ice-on-valid-code
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119576
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119563
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119574
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119574
--- Comment #5 from Marek Polacek ---
Or perhaps this should be a P2. I'm honestly not sure. We should fix it
anyway ;).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119574
Marek Polacek changed:
What|Removed |Added
CC||ppalka at gcc dot gnu.org
Key
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119303
Marek Polacek changed:
What|Removed |Added
Summary|[12/13/14/15 Regression]|[12/13/14 Regression] ICE:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119548
Marek Polacek changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430
Bug 107430 depends on bug 116960, which changed state.
Bug 116960 Summary: ICE: Error reporting routines re-entered
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960
What|Removed |Added
--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430
Bug 107430 depends on bug 110242, which changed state.
Bug 110242 Summary: ICE on valid (decltype with lambda)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110242
What|Removed |Added
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110242
Marek Polacek changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430
Bug 107430 depends on bug 118672, which changed state.
Bug 118672 Summary: ICE on template lambda expression return a lambda type
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118672
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960
Marek Polacek changed:
What|Removed |Added
CC||fchelnokov at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118672
Marek Polacek changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960
Marek Polacek changed:
What|Removed |Added
CC||stevenxia990430 at gmail dot
com
--- C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118672
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119489
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119490
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119490
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119490
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119401
--- Comment #3 from Marek Polacek ---
We crash in convert_nontype_argument on
gcc_assert (same_type_ignoring_top_level_qualifiers_p
(type, TREE_TYPE (expr)));
because type=struct ._anon_3 and TREE_TYPE (expr)=const struct ._ano
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101881
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Summary|[12/13/14/15 R
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101881
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119447
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119446
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119383
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119437
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119436
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119401
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119392
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119387
Marek Polacek changed:
What|Removed |Added
Priority|P3 |P2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119387
--- Comment #7 from Marek Polacek ---
Huh. I guess I should take a look then.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603
Bug 101603 depends on bug 119344, which changed state.
Bug 119344 Summary: [14/15 Regression] internal compiler error related to
template parameters and pointers to member functions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118104
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116731
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344
Marek Polacek changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119345
Marek Polacek changed:
What|Removed |Added
Priority|P3 |P2
Keywords|needs-bisection
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119347
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344
Marek Polacek changed:
What|Removed |Added
Priority|P3 |P2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344
--- Comment #4 from Marek Polacek ---
I guess we need
--- a/gcc/tree.cc
+++ b/gcc/tree.cc
@@ -4101,7 +4101,7 @@ skip_simple_arithmetic (tree expr)
computations if they actually occur. */
while (true)
{
- if (UNARY_CLASS_P (e
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119339
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119303
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
A
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116731
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #13 from Marek Pol
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118104
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119328
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
Last reco
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119316
Marek Polacek changed:
What|Removed |Added
Summary|new expression incorrectly |[14/15 Regression] new
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118104
--- Comment #3 from Marek Polacek ---
A little different test I've been using:
```
template struct Z { };
template struct X {
template using Y = Z;
};
template
using foo = X::Y;
```
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118104
--- Comment #2 from Marek Polacek ---
For "void(Ts, Us)..." in the test we end up in use_pack_expansion_extra_args_p
with a TYPE _PACK_EXPANSION with pattern=void(Ts, Us) and the list of param
packs={Us, Ts}; parm_packs is { Ts -> , Us -> }. W
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117512
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 119134, which changed state.
Bug 119134 Summary: [12 Regression] ICE segfault on capturing lambda in fold
expression in requires clause
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134
Marek Polacek changed:
What|Removed |Added
Summary|[12/13/14/15 Regression]|[12 Regression] ICE
|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119252
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113349
--- Comment #9 from Marek Polacek ---
When we're parsing "decltype([] {}())", we create auto with idx=0 and level=2
(because current_template_depth==1 and we use a TEMPLATE_TYPE_PARM with a level
one deeper than the actual template parms).
Late
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113349
--- Comment #8 from Marek Polacek ---
A bit more cleaned up (one less decltype):
```
// PR c++/113349
template
struct S { };
template
struct X;
template
struct X {
template using type = int;
};
S::type<1>> s;
```
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96605
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97639
Marek Polacek changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119175
--- Comment #2 from Marek Polacek ---
The infinite looping happens in:
#86 0x0061032f in write_expression (expr=)
at /home/mpolacek/src/gcc/gcc/cp/mangle.cc:3807
#87 0x005ff225 in write_constraint_expression (expr=)
at /
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117512
Marek Polacek changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119175
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117512
--- Comment #7 from Marek Polacek ---
I think the problem is that we create something like
d = MEM [(struct A *)&TARGET_EXPR [(struct A *)(const struct A &) &e], TARGET_EXPR
in build_over_call:
t = build2 (MODIFY_EXPR, void_type_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118775
Marek Polacek changed:
What|Removed |Added
Summary|[12/13/14/15 Regression]|[12/13/14 Regression] ICE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119162
Bug ID: 119162
Summary: missing error with constexpr new
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
A
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134
Marek Polacek changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134
--- Comment #2 from Marek Polacek ---
Started with r12-8258:
commit 65735d21ac410463126114c572999682f987972c
Author: Jason Merrill
Date: Thu Apr 21 17:24:07 2022 -0400
c++: generic lambda fn parm pack [PR104624]
The patch may be just:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134
Marek Polacek changed:
What|Removed |Added
Target Milestone|--- |12.5
Summary|ICE segfault on
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115580
Marek Polacek changed:
What|Removed |Added
Summary|[12/13/14/15 regression]|[12/13 regression] null
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95507
Bug 95507 depends on bug 115580, which changed state.
Bug 115580 Summary: [12/13 regression] null pointer warning from an unevaluated
context
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115580
What|Removed |Ad
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119129
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119123
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2025-03-05
Status|UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119119
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99590
--- Comment #7 from Marek Polacek ---
(In reply to Andrew Pinski from comment #2)
> Here is a C++17 version which crashes from 8.1+:
> template
> void g(T... args) {
> ([args...](auto){}(args), ...);
> }
>
> int main() { g(0, 1); }
This sta
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109433
Marek Polacek changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109431
Marek Polacek changed:
What|Removed |Added
CC||pinskia at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113349
--- Comment #7 from Marek Polacek ---
Better test:
```
// PR c++/113349
template void foo() { }
template using tuple_element_t = _Tp;
template struct types;
template struct types {
template using el = tuple_element_t;
};
void
g ()
{
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115580
Marek Polacek changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97165
Marek Polacek changed:
What|Removed |Added
Assignee|mpolacek at gcc dot gnu.org|unassigned at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109431
Marek Polacek changed:
What|Removed |Added
Summary|[12/13/14/15 Regression]|[12/13/14 Regression] ICE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117436
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
Last reco
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117579
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110822
--- Comment #6 from Marek Polacek ---
Planning to backport to 14 too.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114913
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110822
Marek Polacek changed:
What|Removed |Added
CC||jorg.brown at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118986
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119063
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119060
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
Ever co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119062
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119064
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119061
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119059
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2025-02-28
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117787
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109431
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119048
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2025-02-27
Keywords|
1 - 100 of 1707 matches
Mail list logo