https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118696
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2025-01-29
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67795
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|WAITING
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110850
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102116
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114549
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70375
Bug 70375 depends on bug 57533, which changed state.
Bug 57533 Summary: When throwing local variable, it's being move-constructed
even if not going out of scope.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57533
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57533
Marek Polacek changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Summary|[12/13/14 R
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66279
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
Last recon
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117231
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13452
Marek Polacek changed:
What|Removed |Added
Last reconfirmed|2021-08-05 00:00:00 |2025-1-29
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78208
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|mpolacek at gcc d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90309
Marek Polacek changed:
What|Removed |Added
Assignee|mpolacek at gcc dot gnu.org|unassigned at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86769
Marek Polacek changed:
What|Removed |Added
Assignee|mpolacek at gcc dot gnu.org|unassigned at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79959
Marek Polacek changed:
What|Removed |Added
Assignee|mpolacek at gcc dot gnu.org|unassigned at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79164
Marek Polacek changed:
What|Removed |Added
Assignee|mpolacek at gcc dot gnu.org|unassigned at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81233
Marek Polacek changed:
What|Removed |Added
Assignee|mpolacek at gcc dot gnu.org|unassigned at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117778
--- Comment #3 from Marek Polacek ---
The following should run fine but we issue an error since
r12-5860-g6a071b2d40a107:
commit 6a071b2d40a1078b4029c2b77ef29ffca4e7050c
Author: Marek Polacek
Date: Thu Nov 25 09:08:03 2021 -0500
c++: Ha
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118674
Marek Polacek changed:
What|Removed |Added
Target Milestone|--- |12.5
Summary|ICE: Segmentati
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118674
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117504
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
P
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118672
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118661
Marek Polacek changed:
What|Removed |Added
Priority|P3 |P2
Keywords|needs-bisection
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118671
Marek Polacek changed:
What|Removed |Added
Priority|P3 |P1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117501
--- Comment #6 from Marek Polacek ---
And we want this instead:
struct QQQ q = {.data={._M_len=0, ._M_str=0}};
<>;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117501
--- Comment #5 from Marek Polacek ---
I think the problem is that we evaluate
struct QQQ q;
<>>
(const char *) "" ) >;
into
struct QQQ q;
<;
and then the useless expr_stmt is dropped on the floor. So q isn't
in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117501
--- Comment #4 from Marek Polacek ---
```
constexpr unsigned
length ()
{
bool __trans_tmp_1 = __builtin_is_constant_evaluated();
if (__trans_tmp_1)
return 42;
return 1;
}
struct basic_string_view {
constexpr basic_string_view(const c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117153
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118629
--- Comment #3 from Marek Polacek ---
The error_mark_node comes from pushdecl_outermost_localscope with x=:
/* Find the scope just inside the function parms. */
for (cp_binding_level *n = current_binding_level;
n->kind != sk_functio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430
Bug 107430 depends on bug 117602, which changed state.
Bug 117602 Summary: bogus error with nested lambda
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117602
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117602
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102610
Bug 102610 depends on bug 117602, which changed state.
Bug 117602 Summary: bogus error with nested lambda
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117602
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118632
Marek Polacek changed:
What|Removed |Added
Keywords||rejects-valid
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118626
Marek Polacek changed:
What|Removed |Added
Keywords|needs-reduction |
--- Comment #6 from Marek Polacek ---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118626
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Keywords|needs-source
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118620
Marek Polacek changed:
What|Removed |Added
Keywords||c++-lambda
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118619
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
Ever co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118629
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Summary|ice in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82304
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004
Bug 55004 depends on bug 82304, which changed state.
Bug 82304 Summary: GCC compiles constexpr function with double reinterpret_cast
in a constant context
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82304
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118396
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639
Bug 24639 depends on bug 118523, which changed state.
Bug 118523 Summary: [15 regression] std::vector C++20 Wuninitialized false
positive at -O2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118523
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118523
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118573
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117985
Marek Polacek changed:
What|Removed |Added
CC||morinim at gmail dot com
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118566
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118523
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118516
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=118396
--- Comment #12 from Marek Polacek ---
So I think I'll test this:
--- a/gcc/cp/constexpr.cc
+++ b/gcc/cp/constexpr.cc
@@ -8871,9 +8871,17 @@ cxx_eval_outermost_constant_expr (tree t, bool
allow_non_constant,
/* Turn off -frounding-math for m
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118396
Marek Polacek changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118396
--- Comment #10 from Marek Polacek ---
We have:
TARGET_EXPR
so object=D.2996 whose type is Data, so we do not go down the VOID_TYPE_P path
in cxx_eval_outermost_constant_expr, and evaluate the whole init to VOID_CST.
Obviously, that should
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118396
--- Comment #9 from Marek Polacek ---
This difference seems to be the problem:
-vector::vector (&items_, (const struct Data &) &TARGET_EXPR >>>) >;
+vector::vector (&items_, (const struct Data &) &TARGET_EXPR ) >;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118396
--- Comment #7 from Marek Polacek ---
// PR c++/118396
extern "C" void __assert_fail(const char *, const char *);
void *operator new(unsigned long, void *__p) { return __p; }
struct Foo {
virtual ~Foo() = default;
};
struct Data {
int sta
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118396
--- Comment #6 from Marek Polacek ---
Somewhat reduced but it's still ugly:
```
extern "C" void __assert_fail(const char *, const char *);
struct Data;
void *operator new(unsigned long, void *__p) { return __p; }
template struct __new_allocato
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118482
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118139
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118355
Marek Polacek changed:
What|Removed |Added
Summary|[12/13/14/15 Regression]|[12/13/14 Regression]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047
Marek Polacek changed:
What|Removed |Added
Summary|[12/13/14/15 Regression]|[12/13/14 Regression]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118355
--- Comment #3 from Marek Polacek ---
Maybe this, then. Also fixes bug 118047.
--- a/gcc/cp/typeck2.cc
+++ b/gcc/cp/typeck2.cc
@@ -1571,7 +1571,7 @@ massage_init_elt (tree type, tree init, int nested, int
flags,
defer this folding as wel
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107687
Bug 107687 depends on bug 110997, which changed state.
Bug 110997 Summary: [13 Regression] internal compiler error: in
cxx_eval_constant_expression, at cp/constexpr.cc:8005
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110997
What
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110997
Marek Polacek changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004
Bug 55004 depends on bug 110997, which changed state.
Bug 110997 Summary: [13 Regression] internal compiler error: in
cxx_eval_constant_expression, at cp/constexpr.cc:8005
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110997
What|R
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118454
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110031
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Summary|[12/13 Regress
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114114
Marek Polacek changed:
What|Removed |Added
Summary|[12/13 Regression] Internal |[12 Regression] Internal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047
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=118391
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110114
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58616
Bug 58616 depends on bug 114854, which changed state.
Bug 114854 Summary: [12 Regression] checking ICE with default initializer of
const reference member at cp/cp-gimplify.cc:900 since r10-5822
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114854
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114854
Marek Polacek changed:
What|Removed |Added
Summary|[12/13/14 Regression] |[12 Regression] checking
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109966
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109859
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109680
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117985
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Summary|[12/13 Regr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113158
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 32, which changed state.
Bug 32 Summary: [12 Regression] Function redeclaration in local scope
breaks constant expression evaluation
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116369
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Summary|[12/13/14 R
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110382
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115657
Marek Polacek changed:
What|Removed |Added
Summary|[12/13/14 Regression] ICE |[12 Regression] ICE in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115476
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46457
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100495
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114114
--- Comment #7 from Marek Polacek ---
r14-9339 was wrong, we need (part of) r14-9659.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639
Bug 24639 depends on bug 113987, which changed state.
Bug 113987 Summary: [12/13 Regression] Binding a reference to an uninitialized
data member should not cause -Wuninitialized
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113987
What
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113987
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110065
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108158
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118355
--- Comment #2 from Marek Polacek ---
The problem is we no longer fold the CONST_DECL in
{ .type = ZERO }
to
{ .type = 0 }
and then process_init_constructor_array does:
if (next != error_mark_node
&& (initializer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118396
Marek Polacek changed:
What|Removed |Added
Priority|P3 |P1
Assignee|unassigned at gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117937
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118391
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=118391
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102594
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113108
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603
Bug 101603 depends on bug 113108, which changed state.
Bug 113108 Summary: Internal compiler error when choosing overload pointer to
member function and default'ed operator=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113108
What
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115430
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
1 - 100 of 1533 matches
Mail list logo