https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119859
--- Comment #4 from Jason Merrill ---
(In reply to Andrew Pinski from comment #2)
> GCC trunk seemly only rejects the template member function as being
> ambigious though.
Yes, because https://eel.is/c++draft/namespace.udecl#11 says "The set of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119859
--- Comment #5 from Jason Merrill ---
(In reply to Andrew Pinski from comment #3)
> Another example:
...
> template
> const A& h();
...
> b.h();
T cannot be deduced in this call, so A::h is not a viable candidate, so it's
not ambiguous.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114772
Jason Merrill changed:
What|Removed |Added
Target Milestone|13.4|12.5
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116954
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102012
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111075
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111075
Jason Merrill changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113835
Jason Merrill changed:
What|Removed |Added
CC||daklishch at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118809
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
Resolu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113835
--- Comment #18 from Jason Merrill ---
If I increase the limits (or reduce N) enough that we get through the whole
evaluation, constant-evaluation still fails right at the end because the result
refers to the result of operator new and we don't
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113835
--- Comment #17 from Jason Merrill ---
Clang shows the same behavior, taking a long time to give up and do dynamic
initialization.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113835
--- Comment #16 from Jason Merrill ---
(In reply to Patrick Palka from comment #4)
> r13-6421 just makes us use mce_true and mce_uknown during trial constant
> evaluation of x's initialization, so my guess is before that commit the
> evaluation
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113835
--- Comment #15 from Jason Merrill ---
(In reply to Jonathan Wakely from comment #12)
> The __uninitialized_default_n_1 specialization assumes that we can use
> std::fill_n to assign to objects outside their lifetime. I don't think
> that's vali
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113835
Jason Merrill changed:
What|Removed |Added
CC||redi at gcc dot gnu.org
--- Comment #11
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113835
--- Comment #10 from Jason Merrill ---
(In reply to Jason Merrill from comment #9)
> Removing the maybe_constant_init from expand_default_init speeds up the
> testcase by more than 10x, but also regresses a bunch of testcases, so it's
> not that
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115639
--- Comment #6 from Jason Merrill ---
(In reply to Patrick Palka from comment #5)
> ... and in particular if we have a cached mce_unknown call result it means
> the call isn't sensitive to mce, and so we can reuse later when evaluating
> the cal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113835
--- Comment #9 from Jason Merrill ---
Removing the maybe_constant_init from expand_default_init speeds up the
testcase by more than 10x, but also regresses a bunch of testcases, so it's not
that simple.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114970
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113835
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
St
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115639
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114970
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114970
--- Comment #5 from Jason Merrill ---
Created attachment 61069
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61069&action=edit
fix
This seems like the fix, can someone test it?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114970
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119175
Jason Merrill changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119345
Jason Merrill changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119345
Jason Merrill changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698
Jason Merrill changed:
What|Removed |Added
CC||eczbek.void at gmail dot com
--- Commen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430
Bug 107430 depends on bug 119129, which changed state.
Bug 119129 Summary: ICE: in keep_template_parm, at cp/pt.cc:5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119129
What|Removed |Added
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119129
Jason Merrill changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698
Jason Merrill changed:
What|Removed |Added
Summary|[14/15 Regression] Compiler |[14 Regression] Compiler
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119175
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698
--- Comment #16 from Jason Merrill ---
(In reply to Jason Merrill from comment #15)
> So I suspect we want to split the broader meaning out of tf_partial, so
> places like instantiate_template and normalize_concept_definition can choose
> it wit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698
--- Comment #15 from Jason Merrill ---
(In reply to Patrick Palka from comment #12)
> Substituting into seems like a partial
> substitution to me. If the lambda itself had any template parameters of its
> own, or autos, we wouldn't want to re
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698
--- Comment #11 from Jason Merrill ---
(In reply to Patrick Palka from comment #8)
> Started with r14-9938, though I bet before this commit it only accidentally
> worked.
This failure does seem to be strongly connected to that commit.
When nor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117530
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119652
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119652
Jason Merrill changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118629
Jason Merrill changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118629
--- Comment #8 from Jason Merrill ---
(In reply to Jakub Jelinek from comment #7)
> both gcc and clang warn about it, but I think it shouldn't warn and have
> sizeof "foo" in that case.
It's not in scope yet for the trailing return-type accordi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117336
Jason Merrill changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 117336, which changed state.
Bug 117336 Summary: [14/15 Regression] ICE on lambda in requires expression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117336
What|Removed |Added
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 115604, which changed state.
Bug 115604 Summary: Absurd "flows off the end of the function" diagnostic with
requires expression containing only lambda(s) without being inside a template
https://gcc.gnu.org/bugzilla/show_b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99546
Jason Merrill changed:
What|Removed |Added
CC||hstong at ca dot ibm.com
--- Comment #21
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115604
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
St
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99546
--- Comment #16 from Jason Merrill ---
*** Bug 105222 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99546
--- Comment #20 from Jason Merrill ---
*** Bug 105494 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 105494, which changed state.
Bug 105494 Summary: syntax error with requires { []{}(); };
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105494
What|Removed |Added
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105494
Jason Merrill changed:
What|Removed |Added
Resolution|--- |DUPLICATE
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99546
Jason Merrill changed:
What|Removed |Added
CC||Darrell.Wright at gmail dot com
--- Comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109961
Jason Merrill changed:
What|Removed |Added
Resolution|--- |DUPLICATE
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99546
Jason Merrill changed:
What|Removed |Added
CC||piotr.rak at gmail dot com
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118210
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
St
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 118210, which changed state.
Bug 118210 Summary: g++-14.2 fails to parse template lambda expression
operator()<>() call inside the requires expression.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118210
What
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110747
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
St
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99546
--- Comment #17 from Jason Merrill ---
*** Bug 110747 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 105222, which changed state.
Bug 105222 Summary: gcc totally broken with ternary operator for lambda in
requires clause
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105222
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105222
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
Resolu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 99538, which changed state.
Bug 99538 Summary: ICE: in maybe_add_lambda_conv_op, at cp/lambda.c:1037
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99538
What|Removed |Added
--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99546
--- Comment #15 from Jason Merrill ---
*** Bug 99538 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99538
Jason Merrill changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99546
Jason Merrill changed:
What|Removed |Added
CC||redi at gcc dot gnu.org
--- Comment #14
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106976
Jason Merrill changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99546
--- Comment #13 from Jason Merrill ---
*** Bug 113925 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113925
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
St
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99546
Jason Merrill changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119319
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119319
--- Comment #12 from Jason Merrill ---
We don't error in general because we defer the instantiation of ~vvv until EOF,
after the definition of Xyzzy, as allowed by
https://eel.is/c++draft/temp#point-7 -- which also seems to say that the
testcase
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119551
--- Comment #3 from Jason Merrill ---
It occurs to me that if an inline variable in an MIU has non-trivial [cd]tion,
we have to emit it (and [cd]truct it) in the MIU already, so we could take
option #1 for that case even without ABI blessing.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119551
Jason Merrill changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119551
--- Comment #2 from Jason Merrill ---
There's very little use for a non-constexpr inline variable in a module,
anyway.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83309
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119401
Jason Merrill changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64500
Jason Merrill changed:
What|Removed |Added
Resolution|--- |FIXED
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119401
--- Comment #4 from Jason Merrill ---
The underlying problem is that we tsubst_lambda_expr three times for the same
arguments, producing three different lambdas:
1) when forming the type of A<>::f
2) when forming the parameters of A<>::f
3) whe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119401
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
St
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119515
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119499
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64500
Jason Merrill changed:
What|Removed |Added
Attachment #60867|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119489
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64500
Jason Merrill changed:
What|Removed |Added
Attachment #60866|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64500
--- Comment #5 from Jason Merrill ---
Created attachment 60866
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60866&action=edit
global_scope_p opt
Does this help?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114992
Jason Merrill changed:
What|Removed |Added
Status|NEW |RESOLVED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85282
--- Comment #21 from Jason Merrill ---
(In reply to Jason Merrill from comment #13)
> I vaguely remember us supporting this in the distant past, but removing that
> support to be conforming.
>
> Ah, yes, in 1998: r0-18485
And before that, r2227
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119316
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 119316, which changed state.
Bug 119316 Summary: [14/15 Regression] new expression incorrectly required to
have constant expression size inside a requires constraint of a template
function
https://gcc.gnu.org/bugzilla/sh
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119062
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119316
--- Comment #3 from Jason Merrill ---
We can see this without constraints in this adjusted testcase:
template struct A { };
template
auto foo(unsigned n) -> A
{ return {}; }
int main() { foo(5); }
The regression for the original testcase happ
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119316
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119194
Jason Merrill changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119194
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
Assi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119266
--- Comment #12 from Jason Merrill ---
So if toolexeclibdir is /usr/lib64, how is modules.json ending up in
/usr/lib/gcc/x86_64-pc-linux-gnu/15/? It's supposed to be in toolexeclibdir.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94061
Jason Merrill changed:
What|Removed |Added
Status|NEW |SUSPENDED
--- Comment #11 from Jason Mer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119266
--- Comment #7 from Jason Merrill ---
(In reply to Sam James from comment #0)
> $ A=/usr/lib/gcc/x86_64-pc-linux-gnu/15/
> $
> B=/usr/lib/gcc/x86_64-pc-linux-gnu/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/std.cc
> $ contrib/relpath.sh
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004
Bug 55004 depends on bug 119162, which changed state.
Bug 119162 Summary: missing error with constexpr new
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119162
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119162
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119081
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119081
Jason Merrill changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
Last
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96605
--- Comment #4 from Jason Merrill ---
...fixed by dropping support for the Concepts TS feature of non-type concepts.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119162
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
St
1 - 100 of 1460 matches
Mail list logo