https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100313
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100313
--- Comment #2 from Marek Polacek ---
Cleaned up:
template
struct Prop {
void notify()
{
if constexpr (A != nullptr) { }
}
};
struct S {
inline void fn() { }
};
int main()
{
Prop<&S::fn> prop;
prop.notify();
}
Requires only -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100313
--- Comment #3 from Marek Polacek ---
In fact, this is about -fno-delete-null-pointer-checks.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100288
Marek Polacek changed:
What|Removed |Added
Target Milestone|--- |11.2
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100288
--- Comment #2 from Marek Polacek ---
Reduced test that shows the ICE:
class ostream;
template
concept OstreamInsertable = requires(ostream out, Type value) {
out << value;
};
struct FMT {};
class CSVTabIns {
template friend void operator
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100248
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100031
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100282
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100030
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95872
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2021-04-28
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94102
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100339
Bug ID: 100339
Summary: Bogus "should have been declared inside" error with
friend
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Pr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100339
Marek Polacek changed:
What|Removed |Added
CC||nathan at gcc dot gnu.org
Key
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100344
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100344
Marek Polacek changed:
What|Removed |Added
Target Milestone|--- |12.0
Keywords|needs-reduction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99697
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95159
Marek Polacek changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86663
Marek Polacek changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85137
Marek Polacek changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 85137, which changed state.
Bug 85137 Summary: [concepts] ICE with undeclared concept
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85137
What|Removed |Added
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100362
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100362
Marek Polacek changed:
What|Removed |Added
Target Milestone|--- |11.2
Summary|ICE with Boost.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100055
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100459
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99032
--- Comment #2 from Marek Polacek ---
Current test:
class X { };
template
void foo (T1, T2);
struct S {
[[deprecated]] friend void f(); // error
[[deprecated]] friend void f2() { }
friend void f3 [[deprecated]] (); // error
friend void
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99032
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100596
--- Comment #1 from Marek Polacek ---
Rejecting such code was the point of the patch. I guess we'll have to either
downgrade to a warning or just not complain about GNU attributes at all.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100596
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100649
Marek Polacek changed:
What|Removed |Added
Target Milestone|--- |9.4
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100649
--- Comment #2 from Marek Polacek ---
The ICE appeared with r251423.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100649
Marek Polacek changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87765
Marek Polacek changed:
What|Removed |Added
CC||ebotcazou at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100652
Marek Polacek changed:
What|Removed |Added
Keywords||accepts-invalid
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100596
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100752
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100789
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94490
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100974
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100975
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
Ever co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100976
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93955
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100977
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100752
--- Comment #3 from Marek Polacek ---
Duh, we don't defer parsing of noexcept for any ptr-operator, like
struct S {
int& f() noexcept(noexcept(i));
int i;
};
Awkward, but the fix should be simple.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100065
--- Comment #3 from Marek Polacek ---
Fixed on trunk so far, will backport.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100979
Marek Polacek changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|UNCONFIRME
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89062
Marek Polacek changed:
What|Removed |Added
CC||brycelelbach at gmail dot com
--- Commen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100983
Marek Polacek changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100986
Marek Polacek changed:
What|Removed |Added
Keywords||ice-on-valid-code
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100065
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97375
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96560
Marek Polacek changed:
What|Removed |Added
Keywords||patch
--- Comment #1 from Marek Polacek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100995
Bug ID: 100995
Summary: Extend std::is_constant_evaluated in if warning
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100995
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100997
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
Res
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97202
Marek Polacek changed:
What|Removed |Added
CC||felix.morgner at gmail dot com
--- Comme
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100997
--- Comment #2 from Marek Polacek ---
To make it work just remove the "" in A() {}.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101000
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2021-06-09
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101015
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2021-06-10
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101013
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100995
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101015
--- Comment #2 from Marek Polacek ---
This is because dump_decl does the decoration for TYPE_DECL_ALIAS_P:
1228 if (TYPE_DECL_ALIAS_P (t)
1229 && (flags & TFF_DECL_SPECIFIERS
1230 || flags & TFF_CLASS_KEY_OR_ENUM))
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101032
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101051
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Summary|[ICE] in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101165
Bug ID: 101165
Summary: [C++23] P2266R1 - Simpler implicit move
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101165
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100975
--- Comment #2 from Marek Polacek ---
Looks like just disabling the check in create_array_type_for_decl lets us
compile:
struct false_type { static constexpr bool value = false; };
struct true_type { static constexpr bool value = true; };
templ
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100752
Marek Polacek changed:
What|Removed |Added
Summary|[11/12 Regression] error: |[11 Regression] error:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101241
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101241
--- Comment #3 from Marek Polacek ---
I cannot reproduce this:
$ xg++ -c a-eigen_bug.ii -O3 -ffast-math -march=haswell
compiles.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100752
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108394
Bug ID: 108394
Summary: aarch64/cpunative/native_cpu_18.c fails in GCC 11 and
12
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Prio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532
--- Comment #3 from Marek Polacek ---
Sorry about the long delay. Unfortunately I'm not sure yet how to fix it.
We have
Ref::inner (&TARGET_EXPR )
which returns a ref and its arg is a temporary.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108424
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
A
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108438
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2023-01-17
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108437
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108456
Bug ID: 108456
Summary: attribute deprecated on enum doesn't warn
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108424
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108468
Marek Polacek changed:
What|Removed |Added
Target Milestone|--- |11.4
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107797
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=108047
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180
Bug 89180 depends on bug 107797, which changed state.
Bug 107797 Summary: "warning right operand of comma operator has no effect" for
expressions with no comma operator
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107797
What|Remo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107797
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108520
Marek Polacek changed:
What|Removed |Added
Priority|P3 |P1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532
--- Comment #5 from Marek Polacek ---
(In reply to Jakub Jelinek from comment #4)
> Yeah, without analyzing what the function call (constructor in this case)
> actually does
> hard to say whether the warning is ok or not.
> Maybe some heuristics
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532
--- Comment #7 from Marek Polacek ---
Sadly, I'm pretty certain it won't get fixed by P2718R0.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108543
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2023-01-25
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108543
--- Comment #2 from Marek Polacek ---
struct _Bit_iterator_base {
long _M_p;
friend bool operator<(_Bit_iterator_base __x, _Bit_iterator_base __y) {
return &__x._M_p - &__y._M_p;
}
};
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108543
--- Comment #3 from Marek Polacek ---
Started with r255404.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108543
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105300
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108543
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Summary|[10/11/12/13 R
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108158
--- Comment #5 from Marek Polacek ---
Candidate fix:
diff --git a/gcc/cp/constexpr.cc b/gcc/cp/constexpr.cc
index be99bec17e7..6718c29b0cd 100644
--- a/gcc/cp/constexpr.cc
+++ b/gcc/cp/constexpr.cc
@@ -4301,9 +4301,13 @@ cxx_eval_array_referenc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108597
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=108606
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108606
Marek Polacek changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108597
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107593
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102870
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=102870
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
701 - 800 of 2992 matches
Mail list logo