https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91278
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004
Bug 55004 depends on bug 91278, which changed state.
Bug 91278 Summary: equal comparison of local arrays (with offset) inside
constexpr is rejected
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91278
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71424
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78244
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86218
Bug 86218 depends on bug 78244, which changed state.
Bug 78244 Summary: Narrowing conversion is accepted in a function template, but
it should be rejected
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78244
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88815
Bug 88815 depends on bug 78244, which changed state.
Bug 78244 Summary: Narrowing conversion is accepted in a function template, but
it should be rejected
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78244
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83596
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
Reso
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64679
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=67048
Marek Polacek changed:
What|Removed |Added
Summary|[9/10/11/12/13 Regression] |[9/10/11/12 Regression] GCC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105436
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2022-04-29
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105436
--- Comment #2 from Marek Polacek ---
The C++14 vs C++17 difference is due to:
/* It must be a non-type argument. In C++17 any constant-expression is
allowed. */
if (cxx_dialect > cxx14)
goto general_expr;
in cp_parser_template_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105436
--- Comment #3 from Marek Polacek ---
I think the fix is just
--- a/gcc/cp/parser.cc
+++ b/gcc/cp/parser.cc
@@ -33224,7 +33224,6 @@ cp_parser_next_token_ends_template_argument_p
(cp_parser *parser)
|| ((cxx_dialect != cxx98) && token->typ
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106371
--- Comment #1 from Marek Polacek ---
May be a missing unlowered_expr_type call.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106369
Marek Polacek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106389
Bug ID: 106389
Summary: IPA modref breaks Safe Bitfields in C++
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106389
Marek Polacek changed:
What|Removed |Added
CC||hubicka at gcc dot gnu.org
Ke
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106389
--- Comment #2 from Marek Polacek ---
Ooops, forgot to say: use -O2 to trigger the bug.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106309
--- Comment #6 from Marek Polacek ---
Martin, did you have any luck reducing this further?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106393
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=106389
--- Comment #4 from Marek Polacek ---
(In reply to Richard Biener from comment #3)
> For the rule to take effect the frontend needs to mark each access that
> falls under the rule as to have alias-set zero.
Something like: make c_common_get_ali
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106416
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106311
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102633
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102633
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67906
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=89780
--- Comment #2 from Marek Polacek ---
I've posted a patch for this:
https://gcc.gnu.org/pipermail/gcc-patches/2022-August/599342.html
Sorry it's taken so long.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89780
--- Comment #4 from Marek Polacek ---
(In reply to S. Davis Herring from comment #3)
> Does this need to be language-version-dependent, given
> https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1825r0.html (in
> C++20) and
> https://www.o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89780
--- Comment #6 from Marek Polacek ---
The warning warns about dubious uses of std::move, so in the noMove case we
won't warn at all since there's no std::move.
In the withMove case, in C++20, we issue:
warning: moving a local object in a return s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106567
Marek Polacek changed:
What|Removed |Added
Keywords|needs-bisection |
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106567
Marek Polacek changed:
What|Removed |Added
Priority|P3 |P1
Summary|[13 regression] A
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106572
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81159
Marek Polacek changed:
What|Removed |Added
Keywords||patch
--- Comment #8 from Marek Polacek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77876
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|mpolacek at gcc d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101421
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106207
--- Comment #2 from Marek Polacek ---
Reduced:
#define FOO(no) \
void f_##no() \
{ \
int gen_##no(); \
}
#define GEN_FOO \
FOO(f##1) \
FOO(f##2)
GEN_FOO
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102633
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Summary|[11/12/13 Regr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639
Bug 24639 depends on bug 102633, which changed state.
Bug 102633 Summary: [11/12 Regression] warning for self-initialization despite
-Wno-init-self
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102633
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106596
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106276
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106629
Marek Polacek changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106630
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2022-08-15
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101165
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=102610
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106644
Bug ID: 106644
Summary: [C++23] P2468R2 - The Equality Operator You Are
Looking For
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106645
Bug ID: 106645
Summary: [C++23] P2290R3 - Delimited escape sequences
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106645
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106646
Bug ID: 106646
Summary: [C++23] P2437R1 - Support for #warning
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106647
Bug ID: 106647
Summary: [C++23] P2362 - Remove non-encodable wide character
literals and multicharacter wide character literals
Product: gcc
Version: unknown
Status: UNC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106648
Bug ID: 106648
Summary: [C++23] P2071 - Named universal character escapes
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compon
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106649
Bug ID: 106649
Summary: [C++23] P2448 - Relaxing some constexpr restrictions
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106650
Bug ID: 106650
Summary: [C++23] P2280 - Using unknown references in constant
expressions
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106651
Bug ID: 106651
Summary: [C++23] P1169 - static operator()
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106652
Bug ID: 106652
Summary: [C++23] P1467 - Extended floating-point types and
standard names
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106653
Bug ID: 106653
Summary: [C++23] P2582 - Class template argument deduction from
inherited constructors
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106654
Bug ID: 106654
Summary: [C++23] P1774 - Portable assumptions
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106655
Bug ID: 106655
Summary: [C++23] P2295 - Support for UTF-8 as a portable source
file encoding
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106656
Bug ID: 106656
Summary: [C++23] P2513 - char8_t Compatibility and Portability
Fixes
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106656
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=106657
Bug ID: 106657
Summary: [C++23] P2460 - Relax requirements on wchar_t to match
existing practices
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: n
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106658
Bug ID: 106658
Summary: [C++23] P2590 - Explicit lifetime management
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106668
--- Comment #2 from Marek Polacek ---
Fixed on trunk by
commit e8ed26c2ac38ab1f6ed5a627d9089a9243e06a0c
Author: Jason Merrill
Date: Tue Jun 7 15:52:30 2022 -0400
c++: non-templated friends [PR105852]
The previous patch for 105852 a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90428
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67906
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403
Bug 87403 depends on bug 67906, which changed state.
Bug 67906 Summary: Missing warning about std::move without effect
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67906
What|Removed |Added
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106646
--- Comment #2 from Marek Polacek ---
Thanks, I can look into that for C++.
I notice that with your patch we say "#warning before C2X is a GCC extension"
even when compiling with cc1plus; I suppose the C2X message should be guarded
by CPP_OPTIO
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106692
Bug ID: 106692
Summary: [10/11/12/13 Regression] Cray pointer comparison
wrongly optimized away
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: nor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106692
--- Comment #1 from Marek Polacek ---
Started with r238754 but removing that match.pd doesn't help, so the problem is
elsewhere.
We optimize away zz1_1(D) != 0:
__attribute__((fn spec (". w ")))
void shape_cray (real(kind=4) & restrict zz1)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106712
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106735
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2022-08-24
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106735
Marek Polacek changed:
What|Removed |Added
CC||jwakely.gcc at gmail dot com
--- Commen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106753
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
Last reco
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81159
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403
Bug 87403 depends on bug 81159, which changed state.
Bug 81159 Summary: New warning idea: -Wself-move
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81159
What|Removed |Added
--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106749
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106712
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=106759
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106759
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=106712
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106775
Marek Polacek changed:
What|Removed |Added
Known to fail||10.4.0
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106775
--- Comment #2 from Marek Polacek ---
The difference between -fstrong-eval-order=all and -fstrong-eval-order=some:
<).b = 1) >;
+ (void) ((TARGET_EXPR ).b[0] = 1) >;
return = 0;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106759
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106784
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106784
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=106880
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106882
Bug ID: 106882
Summary: passing X as 'this' argument discards qualifiers
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compone
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106882
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Assignee|unassigned at gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106947
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=106937
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=106947
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106903
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106812
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106812
--- Comment #3 from Marek Polacek ---
The difference between #3 and not-#3 is that without the NSDMI, S isn't
TYPE_NEEDS_CONSTRUCTING, which makes a difference in initialize_handler_parm:
339 /* If the constructor for the catch parm exits vi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106976
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2022-09-20
Status|UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106983
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2022-09-20
Status|UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106983
Marek Polacek changed:
What|Removed |Added
Target Milestone|--- |12.4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106983
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=106784
--- Comment #2 from Marek Polacek ---
FWIW, I notice that include/std/type_traits implements struct
__is_nothrow_convertible so I think its name has to change, otherwise it would
clash with this new built-in.
Though, it seems that clang doesn't
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107003
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107009
Marek Polacek changed:
What|Removed |Added
Target Milestone|--- |13.0
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106983
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
1101 - 1200 of 2627 matches
Mail list logo