https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110242
--- Comment #3 from Marek Polacek ---
We're trying to emit the "no return statement in function returning non-void"
warning, which triggers dump_template_bindings:
493 push_deferring_access_checks (dk_no_check);
494 t = tsubst
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106355
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113987
Marek Polacek changed:
What|Removed |Added
Summary|[12/13/14 Regression] |[12/13 Regression] Binding
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85973
Marek Polacek changed:
What|Removed |Added
CC||tiagomacarios at gmail dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98520
Marek Polacek changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107457
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430
Bug 107430 depends on bug 110107, which changed state.
Bug 110107 Summary: ICE on invalid code with lambda
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110107
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110107
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110242
--- Comment #2 from Marek Polacek ---
*** Bug 110107 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110242
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59465
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=59465
--- Comment #6 from Marek Polacek ---
Started to be accepted with r0-110915-ga034826198b771:
https://gcc.gnu.org/pipermail/gcc-patches/2011-August/320236.html
which was supposed to be a cleanup, not a deliberate change to start accepting
the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59465
--- Comment #5 from Marek Polacek ---
We accept the test because we do
else if (type_build_ctor_call (type)
|| (init && CLASS_TYPE_P (strip_array_types (type
{
if (TREE_CODE (type) == ARRAY_TYPE)
{
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59465
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114031
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113987
Marek Polacek changed:
What|Removed |Added
Keywords||patch
--- Comment #6 from Marek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113987
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113987
--- Comment #5 from Marek Polacek ---
We already check !INDIRECT_TYPE_P, but here we're invoking a constructor, and
we don't check that its parameters are !INDIRECT_TYPE_P.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113969
Marek Polacek changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113969
Marek Polacek changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96496
Marek Polacek changed:
What|Removed |Added
Last reconfirmed|2020-08-06 00:00:00 |2024-2-17
--- Comment #5 from Marek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96360
Marek Polacek changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113966
--- Comment #5 from Marek Polacek ---
/* Check any placeholder constraints against the deduced type. */
if (processing_template_decl && context == adc_unify)
/* Constraints will be checked after deduction. */;
else if (tree constr =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113966
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Summary|Internal compiler
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113969
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113968
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2024-02-17
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113158
Marek Polacek changed:
What|Removed |Added
Summary|[11/12/13/14 Regression]|[11/12/13 Regression]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104836
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57527
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109859
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97990
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111974
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89336
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004
Bug 55004 depends on bug 89336, which changed state.
Bug 89336 Summary: internal compiler error when compiling a constexpr function
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89336
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 87536, which changed state.
Bug 87536 Summary: Illegal recursive concept leads to compiler ICE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87536
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87536
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87331
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85908
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29040
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|NEW
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26278
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19073
Marek Polacek changed:
What|Removed |Added
Resolution|--- |WORKSFORME
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17000
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113545
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113158
Marek Polacek changed:
What|Removed |Added
Keywords||patch
--- Comment #3 from Marek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113789
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Summary|[13/14
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98388
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113853
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98752
--- Comment #7 from Marek Polacek ---
Comment 5 test was fixed by r14-5979-g99d114c15523e0
commit 99d114c15523e0bfe7a89ef1947f82eb5ff0260b
Author: Marek Polacek
Date: Fri Nov 17 14:48:44 2023 -0500
c++: P2280R4, Using unknown refs in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113791
--- Comment #6 from Marek Polacek ---
Stage 1 work. Putting this aside for GCC 15.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113791
--- Comment #5 from Marek Polacek ---
Looking. It's https://cplusplus.github.io/CWG/issues/1895.html which we don't
implement yet.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113924
Marek Polacek changed:
What|Removed |Added
Summary|worse diagnostic for|[11/12/13/14 Regression]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113924
Bug ID: 113924
Summary: worse diagnostic for invalid decltype since r10-5347
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113920
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Assignee|unassigned at gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113920
Bug ID: 113920
Summary: Make -std=gnu++20 default for GCC 15
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72751
--- Comment #5 from Marek Polacek ---
We should also make sure that __extension__ suppresses the -Wnested-anon-types
diagnostic.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72751
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113919
Marek Polacek changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72751
Marek Polacek changed:
What|Removed |Added
CC||tsqurt at outlook dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113919
--- Comment #3 from Marek Polacek ---
clang++ has -Wnested-anon-types so I think we need that too.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113919
--- Comment #2 from Marek Polacek ---
I suppose this should fix it but there are testsuite FAILs.
--- a/gcc/cp/decl.cc
+++ b/gcc/cp/decl.cc
@@ -5522,6 +5522,12 @@ fixup_anonymous_aggr (tree t)
}
}
}
+ /*
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113919
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2024-02-14
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
--- Comment #17 from Marek Polacek ---
Partially fixed for GCC 14. Leaving this open for more changes in GCC 15.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
Marek Polacek changed:
What|Removed |Added
Keywords||patch
--- Comment #15 from Marek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112436
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
--- Comment #14 from Marek Polacek ---
My current patch appears to handle that correctly:
$ ./cc1plus -quiet q.C -pedantic-errors -std=c++98 -Wno-error=extra-semi
q.C:3:3: warning: extra ‘;’ outside of a function only allowed in C++11
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
--- Comment #12 from Marek Polacek ---
Thank for your comment. In the end I went with
-std=c++03 -pedantic-errors -Wextra-semi -> warnings
-std=c++03 -pedantic -Wextra-semi -> warnings (not pedwarn)
based on the principle that a more
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
--- Comment #10 from Marek Polacek ---
And we should also warn in C++98 with -Wc++11-extensions for an extra ';'
outside of a function I suppose...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113545
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=113760
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=113760
--- Comment #9 from Marek Polacek ---
And:
-pedantic-errors -> errors only in C++03
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
--- Comment #8 from Marek Polacek ---
(In reply to Jakub Jelinek from comment #7)
> g++ emits 4 errors on
> struct S
> {
> void foo () {}
> void bar () {};
> void baz () = delete;
> void qux () = delete;
> ;
> void corge () =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111918
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112436
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113789
--- Comment #7 from Marek Polacek ---
The ICE was fixed by r14-8903-g3a3e0f1b46a3ad. But I'm not done here yet.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107126
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97202
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98388
Marek Polacek changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113834
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113853
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=113853
Bug ID: 113853
Summary: implicit move in throw in trailing return type
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113834
--- Comment #7 from Marek Polacek ---
(In reply to Jakub Jelinek from comment #6)
> (In reply to Marek Polacek from comment #5)
> > To fix the ICE we could do:
> >
> > --- a/gcc/cp/semantics.cc
> > +++ b/gcc/cp/semantics.cc
> > @@ -4644,7
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113834
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=113834
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113839
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2024-02-08
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113830
--- Comment #6 from Marek Polacek ---
(In reply to Bo Wang from comment #4)
> (In reply to Marek Polacek from comment #2)
> > Bug 66900 is somewhat related in that we also allow int::j.
>
> I believe these two bugs have different root causes.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113830
Marek Polacek changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113814
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29834
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98388
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=113798
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2024-02-07
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113800
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2024-02-07
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113789
--- Comment #5 from Marek Polacek ---
IOW, this should be accepted in C++23 but isn't (clang++ accepts in C++23):
struct AutoPtr {
AutoPtr() = default;
AutoPtr(AutoPtr&) {}
};
template auto f(T p, int) -> decltype(throw p, 1) =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113789
--- Comment #4 from Marek Polacek ---
Um, that's not it. Since
struct AutoPtr {
AutoPtr() = default;
AutoPtr(AutoPtr&) {}
};
template int
f (T p)
{
throw p;
}
void
g ()
{
f (AutoPtr ());
}
is rejected in C++23, we probably
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113791
Marek Polacek changed:
What|Removed |Added
Keywords|needs-reduction |rejects-valid
--- Comment #2 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113791
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
Ever
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113789
--- Comment #3 from Marek Polacek ---
I have a patch for the ICE (build_throw doesn't have a complain param so we
wind up with "error reporting routines re-entered").
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113789
Marek Polacek changed:
What|Removed |Added
Summary|ICE on P2266/C++23 |[13/14 Regression] ICE on
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113789
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2024-02-06
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113788
--- Comment #2 from Marek Polacek ---
Yes, seems that currently we only check that it's the first specifier:
/* Special case for "this" specifier, indicating a parm is an xobj parm.
The "this" specifier must be the first
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113788
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2024-02-06
101 - 200 of 2347 matches
Mail list logo