[Bug c++/111660] [14 Regression] Compilation of constexpr function returning enum takes exponential time with -std=c++2a since r14-4140-g6851e3423c2b5e

2023-10-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111660 --- Comment #12 from Marek Polacek --- Candidate fix: --- a/gcc/cp/cp-gimplify.cc +++ b/gcc/cp/cp-gimplify.cc @@ -1072,7 +1072,7 @@ cp_fold_immediate_r (tree *stmt_p, int *walk_subtrees, void *data_) /* We're done here. Don't clear

[Bug c++/111776] ICE on delete expression with multiple viable destroying operator delete

2023-10-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111776 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Last

[Bug c++/111660] [14 Regression] Compilation of constexpr function returning enum takes exponential time with -std=c++2a

2023-10-02 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111660 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/111528] aarch64: Test gfortran.dg/pr80494.f90 fails with -fstack-protector-strong with gcc-13

2023-09-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111528 --- Comment #2 from Marek Polacek --- I see the ICE even with r13-7827-g4bb1ae3c13ce4f in the tree.

[Bug target/111528] New: aarch64: Test gfortran.dg/pr80494.f90 fails with -fstack-protector-strong with gcc-13

2023-09-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111528 Bug ID: 111528 Summary: aarch64: Test gfortran.dg/pr80494.f90 fails with -fstack-protector-strong with gcc-13 Product: gcc Version: 13.2.1 Status: UNCONFIRMED

[Bug c++/111525] Inconsistent Wsign-compare in c++ with ubsan

2023-09-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111525 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/110997] [13/14 Regression] internal compiler error: in cxx_eval_constant_expression, at cp/constexpr.cc:8005

2023-09-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110997 --- Comment #2 from Marek Polacek --- The ICE was fixed by r14-4140-g6851e3423c2b5e.

[Bug c/80454] -Wmissing-braces wrongly warns about universal zero initializer {0}

2023-09-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80454 --- Comment #6 from Marek Polacek --- To fix this, we have to somehow propagate the flag constructor_zeroinit up in pop_init_level.

[Bug middle-end/111483] [14 Regression] ICE in to_sreal, at profile-count.cc:472

2023-09-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111483 Marek Polacek changed: What|Removed |Added Last reconfirmed||2023-09-19 Keywords|

[Bug c++/111482] [14 Regression] ice in lower_bound with -O3

2023-09-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111482 Marek Polacek changed: What|Removed |Added CC||guojiufu at gcc dot gnu.org

[Bug c++/111482] [14 Regression] ice in lower_bound with -O3

2023-09-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111482 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug c++/111463] Access error in instantiation of template class, incorrectly using inherited constructor of wrong type

2023-09-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111463 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug target/110792] [13/14 Regression] GCC 13 x86_32 miscompilation of Whirlpool hash function

2023-09-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110792 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c/111421] constexpr not working with array subscript

2023-09-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111421 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/111426] [11/12/13/14 Regression] "error: use of deleted function" printed twice

2023-09-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111426 Marek Polacek changed: What|Removed |Added Target Milestone|--- |11.5 Keywords|

[Bug c++/111426] New: [11/12/13/14 Regression] "error: use of deleted function" printed twice

2023-09-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111426 Bug ID: 111426 Summary: [11/12/13/14 Regression] "error: use of deleted function" printed twice Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c++/111272] [13/14 Regression] Truncated error messages with -std=c++23 and -std=c++26

2023-09-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111272 --- Comment #5 from Marek Polacek --- (In reply to Paul Keir from comment #4) > I believe P2448R2 would only allow the code, without the static_assert. > Explicitly calling `test()`, `Jam::Jam()` and then `Jam::ft()` here would > mean

[Bug c++/106310] [12/13 Regression] lookup after this-> seems wrong for dependent lookup since r12-6754-g30f2c22def739211

2023-09-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/107198] [13/14 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9

2023-09-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107198 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/91483] Poor diagnostic on trying to take constexpr reference to non-static object

2023-09-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91483 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/111284] [11/12/13/14 Regression] Some passing-by-value parameters are mishandled since GCC 9

2023-09-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111284 Marek Polacek changed: What|Removed |Added Priority|P3 |P2

[Bug c++/111284] [11/12/13/14 Regression] Some passing-by-value parameters are mishandled since GCC 9

2023-09-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111284 Marek Polacek changed: What|Removed |Added Last reconfirmed||2023-09-05 Summary|Some

[Bug c++/111277] GCC fails to reject braced-init-list in a template-argument

2023-09-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111277 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/111286] [12/13/14 Regression] ICE on functional cast empty brace-init-list to const array reference

2023-09-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111286 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 Keywords|needs-bisection

[Bug c++/111272] [13/14 Regression] Truncated error messages with -std=c++23 and -std=c++26

2023-09-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111272 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug c++/110997] [13/14 Regression] internal compiler error: in cxx_eval_constant_expression, at cp/constexpr.cc:8005

2023-08-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110997 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/111247] Very confusing diagnostic when attempting to initialize an incomplete type: "too many initializers"

2023-08-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111247 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/91319] Designated initializer doesn't support direct-initialization

2023-08-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91319 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/111173] G++ allows constinit functions

2023-08-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/111230] show explicit functions in possible candidates

2023-08-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111230 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/111230] New: show explicit functions in possible candidates

2023-08-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111230 Bug ID: 111230 Summary: show explicit functions in possible candidates Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/111160] [11/12/13/14 Regression] ICE on assigning volatile through ternary operator

2023-08-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/111173] G++ allows constinit functions

2023-08-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/91483] Poor diagnostic on trying to take constexpr reference to non-static object

2023-08-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91483 --- Comment #3 from Marek Polacek --- The error comes from verify_constant, which doesn't explain anything. verify_constant uses reduced_constant_expression_p which just says yes/no but doesn't explain anything. reduced_constant_expression_p

[Bug c++/111158] diagnostics, colors, and std::same_as

2023-08-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/111140] wrong error message

2023-08-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/111106] missing ; causes internal compiler error: in dependent_type_p, at cp/pt.cc:27901

2023-08-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=06 --- Comment #2 from Marek Polacek --- (In reply to Marek Polacek from comment #1) > With s/consteval/contexpr/ ICEs since GCC 10. constexpr

[Bug c++/111106] [11/12/13/14 Regression] missing ; causes internal compiler error: in dependent_type_p, at cp/pt.cc:27901

2023-08-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=06 Marek Polacek changed: What|Removed |Added Keywords||ice-on-invalid-code Target

[Bug c++/111106] New: missing ; causes internal compiler error: in dependent_type_p, at cp/pt.cc:27901

2023-08-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=06 Bug ID: 06 Summary: missing ; causes internal compiler error: in dependent_type_p, at cp/pt.cc:27901 Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/110997] [13/14 Regression] internal compiler error: in cxx_eval_constant_expression, at cp/constexpr.cc:8005

2023-08-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110997 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/110997] [13/14 Regression] internal compiler error: in cxx_eval_constant_expression, at cp/constexpr.cc:8005

2023-08-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110997 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code Target

[Bug c++/110997] New: [13/14 Regression] internal compiler error: in cxx_eval_constant_expression, at cp/constexpr.cc:8005

2023-08-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110997 Bug ID: 110997 Summary: [13/14 Regression] internal compiler error: in cxx_eval_constant_expression, at cp/constexpr.cc:8005 Product: gcc Version: 14.0 Status:

[Bug c++/107687] [C++23] P2564 - consteval needs to propagate up

2023-08-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107687 --- Comment #2 from Marek Polacek --- I don't understand why clang++ doesn't error here: -- consteval int id(int i) { return i; } template constexpr int f (T t) { auto p = id; // immediate-escalating expr return t; } auto q = ; // error?

[Bug c++/107687] [C++23] P2564 - consteval needs to propagate up

2023-08-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107687 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/110976] Cryptic error message when incorrectly dereferencing a pointer in an anonymous union

2023-08-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110976 Marek Polacek changed: What|Removed |Added Keywords||diagnostic Ever confirmed|0

[Bug c++/110961] internal compiler error: segmentation fault

2023-08-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110961 --- Comment #3 from Marek Polacek --- Probably a dup of bug 105667.

[Bug c++/110961] internal compiler error: segmentation fault

2023-08-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110961 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/108960] clear tf_partial et al in instantiate_template

2023-07-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108960 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/110809] ICE: in unify, at cp/pt.cc:25226 with floating-point NTTPs

2023-07-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110809 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/110382] [13 Regression] internal compiler error: in verify_ctor_sanity

2023-07-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110382 Marek Polacek changed: What|Removed |Added Summary|[13/14 Regression] internal |[13 Regression] internal

[Bug c++/110382] [13/14 Regression] internal compiler error: in verify_ctor_sanity

2023-07-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110382 --- Comment #3 from Marek Polacek --- (In reply to Marek Polacek from comment #2) > Note that changing > double a = 0; > to > double a = 0.; > gets rid of the ICE! ...because the latter means the {} is reduced_constant_expression_p and

[Bug c++/110382] [13/14 Regression] internal compiler error: in verify_ctor_sanity

2023-07-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110382 --- Comment #2 from Marek Polacek --- Cleaned-up test: struct S { double a = 0; }; constexpr double g () { S arr[1]; S s = arr[0]; return s.a; } int main() { return g (); } Note that changing double a = 0; to double a = 0.; gets

[Bug c++/110114] [13 Regression] ICE on calling overloaded function in case of incomplete argument type and C++ designated initializers

2023-07-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110114 --- Comment #7 from Marek Polacek --- The GCC 13 branch is frozen so I'll put this aside for now.

[Bug c++/110114] [13 Regression] ICE on calling overloaded function in case of incomplete argument type and C++ designated initializers

2023-07-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110114 Marek Polacek changed: What|Removed |Added Summary|[13/14 Regression] ICE on |[13 Regression] ICE on

[Bug c++/110745] Improve printing of base classes

2023-07-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110745 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/110064] spurious missing initializer for member for anonymous

2023-07-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110064 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/110745] Improve printing of base classes

2023-07-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110745 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/110745] New: Improve printing of base classes

2023-07-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110745 Bug ID: 110745 Summary: Improve printing of base classes Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/110566] [13/14 Regression] ICE when instantiating function template with template template parameter with 2 or more auto parameters with a dependent member template, ICE in tsubst, at cp/pt.c

2023-07-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110566 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #2 from Marek

[Bug c++/110114] [13/14 Regression] ICE on calling overloaded function in case of incomplete argument type and C++ designated initializers

2023-07-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110114 --- Comment #4 from Marek Polacek --- This should work; I'll test it tomorrow. --- a/gcc/cp/call.cc +++ b/gcc/cp/call.cc @@ -986,6 +986,11 @@ build_aggr_conv (tree type, tree ctor, int flags, tsubst_flags_t complain) tree empty_ctor =

[Bug c++/110114] [13/14 Regression] ICE on calling overloaded function in case of incomplete argument type and C++ designated initializers

2023-07-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110114 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 Assignee|unassigned at

[Bug c++/110106] [11/12/13/14 Regression] ICE on noexcept(noexcept(...)) with optional

2023-07-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110106 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 Assignee|unassigned at

[Bug c++/110197] [13/14 Regression] Empty constexpr object constructor erronously claims out of range access

2023-07-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110197 --- Comment #2 from Marek Polacek --- // PR c++/110197 namespace std { constexpr bool __is_constant_evaluated() { return __builtin_is_constant_evaluated(); } template using enable_if_t = _Tp; template struct __array_traits { typedef _Tp

[Bug c++/110338] Implement C++26 language features

2023-07-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110338 Bug 110338 depends on bug 110340, which changed state. Bug 110340 Summary: [C++26] P2621R2 - Remove undefined behavior from lexing https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110340 What|Removed |Added

[Bug c++/110340] [C++26] P2621R2 - Remove undefined behavior from lexing

2023-07-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110340 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/110699] [12/13/14 Regression] internal compiler error: tree check: expected array_type, have error_mark in array_ref_low_bound, at tree.cc:12754

2023-07-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110699 Marek Polacek changed: What|Removed |Added CC||sayle at gcc dot gnu.org --- Comment

[Bug c/110699] [12/13/14 Regression] internal compiler error: tree check: expected array_type, have error_mark in array_ref_low_bound, at tree.cc:12754

2023-07-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110699 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/109876] [11/12/13 Regression] initializer_list not usable in constant expressions in a template

2023-07-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109876 Marek Polacek changed: What|Removed |Added Summary|[11/12/13/14 Regression]|[11/12/13 Regression]

[Bug target/110621] New: x86_64: Test gcc.target/i386/pr105354-2.c fails with -fstack-protector

2023-07-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110621 Bug ID: 110621 Summary: x86_64: Test gcc.target/i386/pr105354-2.c fails with -fstack-protector Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/110577] New: s390x: Some tests fail with -march=z13

2023-07-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110577 Bug ID: 110577 Summary: s390x: Some tests fail with -march=z13 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/110555] internal compiler error: Segmentation fault when using std::ranges::range auto as a template parameter

2023-07-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110555 Marek Polacek changed: What|Removed |Added Last reconfirmed||2023-07-06 Ever confirmed|0

[Bug c++/110566] [13/14 Regression] ICE when instantiating function template with template template parameter with 2 or more auto parameters with a dependent member template, ICE in tsubst, at cp/pt.c

2023-07-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110566 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug bootstrap/110467] Bootstrap with Ada enabled fails with --enable-host-pie

2023-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467 --- Comment #5 from Marek Polacek --- (In reply to Eric Botcazou from comment #4) > > You were CC'd here: > > , FWIW. > > I totally missed it, sorry about that. :-( No problem,

[Bug bootstrap/110467] Bootstrap with Ada enabled fails with --enable-host-pie

2023-06-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467 --- Comment #3 from Marek Polacek --- (In reply to Eric Botcazou from comment #2) > Confirmed, but > > Author: Marek Polacek > Date: Wed May 3 17:06:13 2023 -0400 > > configure: Implement --enable-host-pie > ada/ > *

[Bug testsuite/110490] New: tree-ssa/clz-* and tree-ssa/ctz-* fail on s390x with arch14

2023-06-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110490 Bug ID: 110490 Summary: tree-ssa/clz-* and tree-ssa/ctz-* fail on s390x with arch14 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/78632] Produce warning when a derived class shadows a field of the base class with `-Wshadow`

2023-06-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78632 --- Comment #5 from Marek Polacek --- Looks like clang++ has -Wshadow-field for this.

[Bug rtl-optimization/110470] New: Test gcc.c-torture/execute/pr105613.c ICEs in prepare_cmp_insn on s390x with -march=z14

2023-06-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110470 Bug ID: 110470 Summary: Test gcc.c-torture/execute/pr105613.c ICEs in prepare_cmp_insn on s390x with -march=z14 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug testsuite/110469] New: Test gcc.dg/sms-compare-debug-1.c fails on s390x

2023-06-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110469 Bug ID: 110469 Summary: Test gcc.dg/sms-compare-debug-1.c fails on s390x Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/110468] internal compiler error in nothrow_spec_p (g++ > 11)

2023-06-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110468 Marek Polacek changed: What|Removed |Added Last reconfirmed||2023-06-28 Ever confirmed|0

[Bug bootstrap/110467] Bootstrap with Ada enabled fails with --enable-host-pie

2023-06-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467 --- Comment #1 from Marek Polacek --- Further context: https://gcc.gnu.org/pipermail/gcc-patches/2023-June/622981.html

[Bug bootstrap/110467] New: Bootstrap with Ada enabled fails with --enable-host-pie

2023-06-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467 Bug ID: 110467 Summary: Bootstrap with Ada enabled fails with --enable-host-pie Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug jit/110466] jit.dg FAILs on ppc64le

2023-06-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110466 --- Comment #1 from Marek Polacek --- The problem is that the patch above uses __vector which is wrong on Power. However, with my patch: --- a/gcc/testsuite/jit.dg/test-expressions.c +++ b/gcc/testsuite/jit.dg/test-expressions.c @@ -560,17

[Bug jit/110466] New: jit.dg FAILs on ppc64le

2023-06-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110466 Bug ID: 110466 Summary: jit.dg FAILs on ppc64le Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: jit Assignee:

[Bug c++/110464] New: Improve -Wdiv-by-zero

2023-06-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110464 Bug ID: 110464 Summary: Improve -Wdiv-by-zero Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/110175] [GCC][Crash] GCC Crash on valid code

2023-06-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110175 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/110381] [11/12/13/14 Regression] double counting for sum of structs of floating point types

2023-06-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 Marek Polacek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug c++/110382] [13/14 Regression] internal compiler error: in verify_ctor_sanity

2023-06-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110382 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/110382] New: [13/14 Regression] internal compiler error: in verify_ctor_sanity

2023-06-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110382 Bug ID: 110382 Summary: [13/14 Regression] internal compiler error: in verify_ctor_sanity Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/110340] [C++26] P2621R2 - Remove undefined behavior from lexing

2023-06-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110340 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug tree-optimization/110369] [14 Regression] wrong code on x86_64-linux-gnu

2023-06-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110369 Marek Polacek changed: What|Removed |Added Summary|wrong code on |[14 Regression] wrong code

[Bug tree-optimization/110369] wrong code on x86_64-linux-gnu

2023-06-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110369 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/110338] Implement C++26 language features

2023-06-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110338 Bug 110338 depends on bug 110346, which changed state. Bug 110346 Summary: [C++26] P2752R3 - Static storage for braced initializers https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110346 What|Removed |Added

[Bug c++/110346] [C++26] P2752R3 - Static storage for braced initializers

2023-06-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110346 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/110366] [C++26] P2641R4 Checking if a union alternative is active

2023-06-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110366 Marek Polacek changed: What|Removed |Added Last reconfirmed||2023-06-22 Ever confirmed|0

[Bug c++/110367] [C++26] Add new built-in for std::is_within_lifetime

2023-06-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110367 Marek Polacek changed: What|Removed |Added Last reconfirmed||2023-06-22 Ever confirmed|0

[Bug c++/110346] [C++26] P2752R3 - Static storage for braced initializers

2023-06-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110346 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c/105863] RFE: C23 #embed

2023-06-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105863 --- Comment #5 from Marek Polacek --- Latest rev: https://open-std.org/JTC1/SC22/WG14/www/docs/n3017.htm

[Bug c++/110346] [C++26] P2752R3 - Static storage for braced initializers

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110346 --- Comment #2 from Marek Polacek --- Probably resolved by r14-1500-g4d935f52b0d5c0.

[Bug c++/110341] [C++26] P1854R4 - Making non-encodable string literals ill-formed

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110341 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/110358] requesting nicer suppression for Wdangling-reference

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110358 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

<    1   2   3   4   5   6   7   8   9   10   >