https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95288
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
||2020-05-26
Ever confirmed|0 |1
CC||mpolacek at gcc dot gnu.org
--- Comment #3 from Marek Polacek ---
Confirmed.
||mpolacek at gcc dot gnu.org
Last reconfirmed||2020-05-26
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek ---
Chagned in r267272.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95344
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=95344
Marek Polacek changed:
What|Removed |Added
Target Milestone|--- |9.4
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95344
Marek Polacek changed:
What|Removed |Added
Keywords||patch
--- Comment #2 from Marek Polacek
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mpolacek at gcc dot gnu.org
Target Milestone: ---
struct S {
unsigned a;
unsigned b;
#ifdef CTOR
constexpr S(unsigned _a, unsigned _b) noexcept: a{_a}, b{_b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95369
--- Comment #1 from Marek Polacek ---
This is accepted fine (as it should be):
struct S {
int a;
int b;
};
int
main ()
{
S s{.a = 1, .b = 2};
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95369
--- Comment #2 from Marek Polacek ---
This is not really about designated initializers; we wrongly reject this one
too:
struct S {
unsigned a;
unsigned b;
};
template struct X { };
void f()
{
X<{ 1u, 2u }> x;
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95369
--- Comment #3 from Marek Polacek ---
I think the problem is that we never called digest_init prior calling
convert_nontype_argument.
|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot
gnu.org
--- Comment #4 from Marek Polacek ---
I think I have a patch.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95344
Marek Polacek changed:
What|Removed |Added
Summary|[9/10/11 Regression]|[9/10 Regression]
|Wpa
at gcc dot gnu.org |mpolacek at gcc dot
gnu.org
||2020-06-04
Keywords||rejects-valid
Ever confirmed|0 |1
CC||mpolacek at gcc dot gnu.org
--- Comment #1 from Marek Polacek ---
Confirmed.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95553
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95562
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=85270
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95562
Marek Polacek changed:
What|Removed |Added
Target Milestone|--- |10.2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95559
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95564
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95559
--- Comment #4 from Marek Polacek ---
That's the same case, initializing an int with {{}}. GCC 8 compiled the second
testcase, but that was fixed in r269045.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95559
Marek Polacek changed:
What|Removed |Added
Resolution|INVALID |DUPLICATE
--- Comment #6 from Marek Pola
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88572
Marek Polacek changed:
What|Removed |Added
CC||haoxintu at gmail dot com
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95562
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95560
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95596
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95629
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
Ever
|NEW
CC||mpolacek at gcc dot gnu.org
Last reconfirmed||2020-06-11
--- Comment #1 from Marek Polacek ---
Confirmed.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95639
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=90915
Marek Polacek changed:
What|Removed |Added
Summary|[9/10 Regression] ICE in|[9 Regression] ICE in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94955
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95066
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
|ASSIGNED
Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95560
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95560
Marek Polacek changed:
What|Removed |Added
Resolution|FIXED |---
Status|RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95344
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95684
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95684
Marek Polacek changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95562
Marek Polacek changed:
What|Removed |Added
CC||janezz55 at gmail dot com
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95672
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95560
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95369
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95705
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95508
Marek Polacek changed:
What|Removed |Added
CC||staffordstyle at gmail dot com
--- Comme
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95508
Marek Polacek changed:
What|Removed |Added
Summary|[10/11 Regression] ICE on |[10 Regression] ICE on
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95508
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95728
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
Target
at gcc dot gnu.org |mpolacek at gcc dot
gnu.org
--- Comment #2 from Marek Polacek ---
...which also generates a better diagnostic than gcc 10 & older.
:
|when constructing via |[[no_unique_address] when
|template helper |constructing via template
||helper
CC||mpolacek at gcc dot gnu.org
Last reconfirmed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95723
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95725
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95728
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
|P5
Status|UNCONFIRMED |NEW
CC||mpolacek at gcc dot gnu.org
Last reconfirmed||2020-06-18
--- Comment #1 from Marek Polacek ---
I suppose in this case there's some room for improv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95735
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95744
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
at gcc dot gnu.org |mpolacek at gcc dot
gnu.org
Keywords||patch
--- Comment #3 from Marek Polacek ---
Posted.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95735
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95639
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|mpolacek at gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95568
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95568
Marek Polacek changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #3
at gcc dot gnu.org |mpolacek at gcc dot
gnu.org
--- Comment #4 from Marek Polacek ---
A patch I've been playing with
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -28767,7 +28767,11 @@ do_class_deduction (tree ptype, tree tmpl, tree init,
}
if (tree guide = maybe_aggr_guide (tmpl,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95767
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
|UNCONFIRMED |NEW
CC||mpolacek at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Marek Polacek ---
Confirmed.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93788
Marek Polacek changed:
What|Removed |Added
CC||haoxintu at gmail dot com
--- Comment #1
|--- |DUPLICATE
CC||mpolacek at gcc dot gnu.org
--- Comment #1 from Marek Polacek ---
Found a dup.
*** This bug has been marked as a duplicate of bug 93788 ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95789
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=95719
Marek Polacek changed:
What|Removed |Added
CC||doko at debian dot org
--- Comment #2 fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95838
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95719
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
|1
Target Milestone|--- |11.0
Last reconfirmed||2020-06-23
CC||mpolacek at gcc dot gnu.org
--- Comment #1 from Marek Polacek ---
Started with r11-1457
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95629
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78906
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
||mpolacek at gcc dot gnu.org
Status|ASSIGNED|RESOLVED
--- Comment #13 from Marek Polacek ---
Even GCC 8 was fixed, closing.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95870
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95870
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95820
--- Comment #3 from Marek Polacek ---
Hit this when reducing something:
template class a b[]()->int
So it'd be nice to fix it to alleviate problems when reducing C++ code.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95870
--- Comment #2 from Marek Polacek ---
Looks like it started with r251433.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95870
--- Comment #3 from Marek Polacek ---
Reduced, but invalid:
template class a {
public:
a();
int b = [] { enum E {}; };
};
class c : a {
c();
};
template a::a() = default;
c::c() {}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95870
Marek Polacek changed:
What|Removed |Added
Target Milestone|--- |8.5
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93711
Marek Polacek changed:
What|Removed |Added
CC||boris.staletic at gmail dot com
--- Comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93711
--- Comment #6 from Marek Polacek ---
Another test:
struct istream_iterator {
istream_iterator() {}
istream_iterator(const istream_iterator&) {}
};
istream_iterator next(istream_iterator&& bound) {
return static_cast(bou
||mpolacek at gcc dot gnu.org
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Marek Polacek ---
(In reply to Boris Staletic from comment #0)
> Hello,
>
> first, apologies for a bad title. I was unsure how to make it more
> descriptive.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95820
Marek Polacek changed:
What|Removed |Added
Summary|ICE in |[10/11 Regression] ICE in
at gcc dot gnu.org |mpolacek at gcc dot
gnu.org
at gcc dot gnu.org |mpolacek at gcc dot
gnu.org
||ice-on-valid-code,
||needs-reduction
Status|UNCONFIRMED |NEW
Last reconfirmed||2020-06-25
CC||mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95902
Marek Polacek changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95902
Marek Polacek changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91416
--- Comment #10 from Marek Polacek ---
*** Bug 95902 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91104
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94553
--- Comment #6 from Marek Polacek ---
I think it would make sense to detect this too:
struct E { };
template concept E = false;
template concept F = false;
struct F { };
||mpolacek at gcc dot gnu.org
Resolution|--- |DUPLICATE
--- Comment #1 from Marek Polacek ---
.
*** This bug has been marked as a duplicate of bug 95820 ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95820
--- Comment #5 from Marek Polacek ---
*** Bug 95936 has been marked as a duplicate of this bug. ***
||2020-06-27
CC||mpolacek at gcc dot gnu.org
Status|UNCONFIRMED |NEW
--- Comment #1 from Marek Polacek ---
Confirmed.
|UNCONFIRMED |NEW
Last reconfirmed||2020-06-27
Ever confirmed|0 |1
CC||mpolacek at gcc dot gnu.org
--- Comment #1 from Marek Polacek ---
Confirmed.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95942
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
||mpolacek at gcc dot gnu.org
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Marek Polacek ---
Already fixed.
*** This bug has been marked as a duplicate of bug 95629 ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95629
Marek Polacek changed:
What|Removed |Added
CC||bence.kodaj at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94553
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
301 - 400 of 10211 matches
Mail list logo