[Bug libstdc++/110990] New: `format_to_n` returns wrong value

2023-08-11 Thread ensadc at mailnesia dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://godbolt.org/z/4fv71hhGe #include #include int main() { char buf[10] = "@"; auto result = std::format_to_n(buf, std::size(buf), &quo

[Bug c++/109756] New: "internal compiler error: tree check" when using the [[assume]] attribute with pack expansion

2023-05-06 Thread ensadc at mailnesia dot com via Gcc-bugs
NCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://godbolt.org/z/WPn9aq8sr bool f(auto... args) { [[assume(args > 0)...]

[Bug libstdc++/105505] New: P1951R1 (Default Arguments for pair's Forwarding Constructor) is unimplemented

2022-05-06 Thread ensadc at mailnesia dot com via Gcc-bugs
: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com CC: redi at gcc dot gnu.org Target Milestone: --- https://en.cppreference.com/w/cpp/compiler_support claims that P1951R1

[Bug c++/105351] [concepts] Constraint checking does correctly match static member attributes

2022-04-23 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105351 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot

[Bug c++/104981] New: [coroutines] Internal compiler error when promise object's constructor takes a base class of the object parameter

2022-03-18 Thread ensadc at mailnesia dot com via Gcc-bugs
: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com CC: iains at gcc dot gnu.org Target Milestone: --- #include class Base

[Bug c++/104919] New: [modules] enum in constexpr function causes "failed to read compiled module cluster 1: Bad file data"

2022-03-14 Thread ensadc at mailnesia dot com via Gcc-bugs
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://godbolt.org/z/d3sdeEz1r $ cat mod.cpp export module mod; export conste

[Bug c++/104752] New: `Concept auto(x)` should not be a valid function-style cast

2022-03-02 Thread ensadc at mailnesia dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com CC: mpolacek at gcc dot gnu.org Target Milestone: --- https://godbolt.org/z/KbPMrbKsK template concept C

[Bug libstdc++/104032] New: Cannot move-assign a spanstream

2022-01-14 Thread ensadc at mailnesia dot com via Gcc-bugs
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://godbolt.org/z/GxdYrYYrj #include int main() { std::ispanstream a(""), b(""); a = std::move(b); } I

[Bug c++/58616] [meta-bug] nsdmi

2021-11-30 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58616 Bug 58616 depends on bug 66839, which changed state. Bug 66839 Summary: g++ accepts NSDMI with -std=c++98 when the intializer is a macro defined in a standard header https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66839 What|Removed

[Bug c++/103347] [9/10/11 Regression] Non-static data member initialization is erroneously allowed in C++03 with assignment to NULL

2021-11-30 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103347 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot

[Bug c++/66839] g++ accepts NSDMI with -std=c++98 when the intializer is a macro defined in a standard header

2021-11-30 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66839 ensadc at mailnesia dot com changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/101140] [modules] no matching function for call to ‘operator new(sizetype, void*)’

2021-09-06 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101140 --- Comment #1 from ensadc at mailnesia dot com --- https://godbolt.org/z/EaPf3anxx

[Bug c++/101449] [modules] internal compiler error: in cxx_eval_call_expression

2021-09-06 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101449 --- Comment #1 from ensadc at mailnesia dot com --- https://godbolt.org/z/fMr9acG15

[Bug c++/101589] New: Incorrect implementation of LWG 3533 for elements_view

2021-07-22 Thread ensadc at mailnesia dot com via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com CC: ppalka at gcc dot gnu.org Target Milestone: --- LWG 3533 changed the const& overload of `elements_view::iterator::base` to return a const reference, but it s

[Bug c++/101449] New: [modules] internal compiler error: in cxx_eval_call_expression

2021-07-14 Thread ensadc at mailnesia dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- $ cat str.cpp export module str; export struct str { constexpr str() { ptr = new char[42]; } constexpr ~str

[Bug c++/101140] New: [modules] no matching function for call to ‘operator new(sizetype, void*)’

2021-06-20 Thread ensadc at mailnesia dot com via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- $ cat new.hpp extern "C++" { void* operator new(__SIZE_TYPE__, void* p); } $ cat foo.cpp module; #include "

[Bug c++/100134] [modules] ICE when using a vector in a module

2021-06-20 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100134 --- Comment #1 from ensadc at mailnesia dot com --- Reduced: vector namespace std { template struct __replace_first_arg; template class _Template, typename _Up, typename _Tp, typename... _Types> str

[Bug c++/99682] New: [modules] Module implementation unit is unable to indirectly import its corresponding interface unit

2021-03-20 Thread ensadc at mailnesia dot com via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- $ cat src/foo.cpp export module foo; $ cat src/bar.cpp export module bar; import foo; $ cat src/foo

[Bug c++/99643] New: internal compiler error in build_over_call, involving array new and copy elision

2021-03-18 Thread ensadc at mailnesia dot com via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://godbolt.org/z/8TWG9d struct Foo {}; Foo get_foo(); int main() { new Foo[1]{get_foo

[Bug c++/98767] Function signature lost in concept diagnostic message

2021-01-25 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98767 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/98756] Suspicious "(*this)." in mangled symbol

2021-01-22 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98756 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/98388] New: Throwing move-only parameter results in hard error in SFINAE context

2020-12-18 Thread ensadc at mailnesia dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://godbolt.org/z/xn8fYz struct moveonly { moveonly() = default; moveonly(moveonly&&) = default; };

[Bug c++/98360] sizeof in template difference between g++/icc and clang++

2020-12-18 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98360 --- Comment #2 from ensadc at mailnesia dot com --- Apparently clang++ rewrites `uintset::values` in question to `this->uintset::values`, because it believes that `uintset::values` is valid only if someone specializes `uintset::traits` to m

[Bug c++/98360] sizeof in template difference between g++/icc and clang++

2020-12-18 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98360 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/97934] Adding an operator== breaks implicit operator== generation from defaulted <=>

2020-11-21 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97934 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug libstdc++/97828] std::ranges::search_n does not work with counted_iterator<_List_iterator<...>>

2020-11-16 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828 --- Comment #2 from ensadc at mailnesia dot com --- This seems to fix the bug (note: not thoroughly tested) diff --git a/libstdc++-v3/include/bits/ranges_algo.h b/libstdc++-v3/include/bits/ranges_algo.h index f1a4cc24c0d..414ce0b1baa 100644

[Bug libstdc++/97828] std::ranges::search_n does not work with counted_iterator<_List_iterator<...>>

2020-11-16 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828 --- Comment #1 from ensadc at mailnesia dot com --- Compilation failure with `std::list`: https://godbolt.org/z/vbqhax Wrong result with `std::vector`: https://godbolt.org/z/axYbYr (expected output: "42 42 42"; actual: "42 0 4

[Bug libstdc++/97828] New: std::ranges::search_n does not work with counted_iterator<_List_iterator<...>>

2020-11-14 Thread ensadc at mailnesia dot com via Gcc-bugs
Keywords: rejects-valid Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- ``` #include #include #include #include int main() { using n

[Bug c++/97700] Bogus error when a class containing a function pointer is used as a non-type template parameter

2020-11-03 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97700 ensadc at mailnesia dot com changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/97700] New: Bogus error when a class containing a function pointer is used as a non-type template parameter

2020-11-03 Thread ensadc at mailnesia dot com via Gcc-bugs
Keywords: rejects-valid Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com CC: jason at redhat dot com Target Milestone: --- Originally discovered

[Bug c++/95310] [concepts] Unrelated template parameters printed in diagnostic

2020-10-16 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95310 --- Comment #3 from ensadc at mailnesia dot com --- When verifying the fix, I noticed a new bug: template requires true using iter_reference_t = decltype(*T{}); template struct result { using type = iter_reference_t; }; template

[Bug libstdc++/95983] `std::counted_iterator>>` fails to satisfy `std::input_or_output_iterator`

2020-07-26 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95983 --- Comment #2 from ensadc at mailnesia dot com --- See also LWG 3408 (https://wg21.link/lwg3408), which also suggests that the `iterator_traits>` specialization is problematic. I think the standard could remove this specialization (and def

[Bug libstdc++/95983] New: `std::counted_iterator>>` fails to satisfy `std::input_or_output_iterator`

2020-06-29 Thread ensadc at mailnesia dot com
verity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://wandbox.org/permlink/rUZlUGG4UFeWicbM #include #include #include using R = std::

[Bug c++/95944] Concept diagnostic has multiple copies of irrelevant type and displays correct type incorrectly

2020-06-28 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95944 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/95310] New: [concepts] Unrelated template parameters printed in diagnostic

2020-05-25 Thread ensadc at mailnesia dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com CC: asutton at gcc dot gnu.org Target Milestone: --- https://godbolt.org/z/M8CVwc template using

[Bug c++/95303] New: Member type of class template is incorrectly printed in diagnostics when it fails to satisfy a concept

2020-05-24 Thread ensadc at mailnesia dot com
: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com CC: asutton at gcc dot gnu.org Target Milestone: --- https://godbolt.org/z

[Bug c++/86142] hard error for bad delete-expression in SFINAE context

2020-05-19 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86142 ensadc at mailnesia dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known

[Bug c++/86142] hard error for bad delete-expression in SFINAE context

2020-05-14 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86142 --- Comment #2 from ensadc at mailnesia dot com --- I was misled by Clang. Seems like there's a Clang bug then.

[Bug c++/95093] Implement DR 1966, Colon following enumeration elaborated-type-specifier

2020-05-12 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95093 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/94568] template specialization of equivalent nontype template argument involving member pointer considered distinct

2020-04-15 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94568 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/94490] Ternary expression with 3 consts is “not” a constant expression

2020-04-08 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94490 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/55227] designated initializer for char array by string constant

2020-04-08 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55227 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/94453] [10 Regression] ICE in make_decl_rtl since r10-3591

2020-04-02 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94453 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/93295] ICE in alias_ctad_tweaks

2020-01-17 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93295 --- Comment #3 from ensadc at mailnesia dot com --- It appears that alias_ctad_tweaks assumes the deduction of the right hand side of the deduction guide from the alias template does not fail. > int err = unify (ftparms, targs, ret, ut

[Bug c++/93295] New: ICE in alias_ctad_tweaks

2020-01-16 Thread ensadc at mailnesia dot com
: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://wandbox.org/permlink/B02uUhc2QP8OChB9 template struct A { A(int); }; template A(T) -> A; template using B = A; B a(0); prog.cc:10:12: internal compiler er

[Bug c++/92552] [10 Regression] internal compiler error: in lazily_declare_fn, at cp/method.c:3045 with -fconcepts

2019-11-17 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92552 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/91930] [10 Regression] internal compiler error: in lazily_declare_fn, at cp/method.c:2423 with -fconcepts

2019-10-07 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91930 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/91791] ICE when throwing exception in a ternary expression

2019-09-17 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91791 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/91675] [9/10 Regression] Memory corruption with std::function

2019-09-06 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91675 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug libstdc++/91488] [9/10 Regression] char_traits::length causes "inlining failed in call to always_inline" error with -fgnu-tm -O2 -std=c++17

2019-08-20 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91488 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/90393] [9/10 Regression] ICE in return statement with a conditional operator, one of the second and third arguments is throw, and the other is a const variable of a class with a nontrivial co

2019-07-02 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90393 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/90784] A loop inside a constexpr function in a constexpr context is not evaluated at compile time

2019-06-08 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90784 --- Comment #2 from ensadc at mailnesia dot com --- But curiously, gcc does replace the loop with the constant if `#undef _GLIBCXX_HAVE_BUILTIN_IS_CONSTANT_EVALUATED` is added before `#include `: https://godbolt.org/z/mVdLVP . (Why

[Bug c++/90784] A loop inside a constexpr function in a constexpr context is not evaluated at compile time

2019-06-08 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90784 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/90769] Template instantiation recursion when trying to do a conversion template

2019-06-05 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90769 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug libstdc++/90704] New: filesystem::path overloads for file streams are not conforming

2019-06-01 Thread ensadc at mailnesia dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://gcc.gnu.org/ml/libstdc++/2017-10/msg00110.html mentions: > This isn't entirely conforming, because a t

[Bug libstdc++/90686] New: Libstdc++ C++20 status table is missing entry for P1357R1 "Traits for [Un]bounded Arrays"

2019-05-31 Thread ensadc at mailnesia dot com
NCONFIRMED Keywords: documentation Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com CC: redi at gcc dot gnu.org Target Milestone: --- P1357R1 "

[Bug c++/89062] class template argument deduction failure with parentheses

2019-01-25 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89062 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/88977] New: __builtin_is_constant_evaluated() as function template argument causes substitution failure

2019-01-22 Thread ensadc at mailnesia dot com
Keywords: rejects-valid Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://wandbox.org/permlink/LYuJZ4w7YLgidqdi template int f

[Bug c++/84849] Ambiguous resolution of braze initializer list to a class with explicit constructors

2019-01-14 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84849 --- Comment #7 from ensadc at mailnesia dot com --- (In reply to Zhihao Yuan from comment #6) > Here is a possibly related case: > > [...] I think this is a different bug. GCC thinks the implicitly-deleted move assignment operator `p

[Bug c++/86356] "invalid use of pack expansion" with fold expressions

2019-01-13 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86356 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/88762] C++17 Deduction guide and operator expression produces missing template argument error

2019-01-09 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88762 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/88761] [8/9 Regression] ICE in tsubst_copy, at cp/pt.c:15478 when chaining lambda calls & fold-expressions

2019-01-09 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88761 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/88759] New: `decltype(auto)` as return type of abbreviated function template strips cv-qualifications and referenceness

2019-01-08 Thread ensadc at mailnesia dot com
Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://wandbox.org/permlink

[Bug c++/80916] [7/8/9 Regression] Spurious "declared 'static' but never defined" warning

2019-01-08 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80916 --- Comment #7 from ensadc at mailnesia dot com --- Note that the "never defined" part is also misleading: the warning persists when `i::dispatch` does have a definition (https://wandbox.org/permlink/MKif1shXFjt7aT6C): struct j { vi

[Bug c++/84849] Ambiguous resolution of braze initializer list to a class with explicit constructors

2019-01-07 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84849 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/88694] constexpr isn't captured correctly in lambda

2019-01-06 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88694 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/87513] [8/9 Regression] ICE in write_expression, at cp/mangle.c:3050

2018-12-25 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87513 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/88385] [9 regression] ICE in tsubst_pack_expansion

2018-12-25 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88385 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/88595] Template type lacking template-id-expr

2018-12-25 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88595 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/87125] [9 Regression] ICE in tsubst_copy starting with r261084

2018-12-21 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87125 --- Comment #3 from ensadc at mailnesia dot com --- (In reply to ensadc from comment #2) > Reduced: > > template struct ch { > template constexpr ch(by) noexcept(br()); > }; > class ce : ch { > using ch::ch; > }; >

[Bug c++/88146] ice in tsubst_copy, at cp/pt.c:16014

2018-11-22 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88146 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/88020] Deduction guides fail inside sizeof

2018-11-14 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88020 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/86574] ICE on std::prev with ranges::view::transform

2018-11-05 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86574 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/87814] [9 Regression] ICE in in tsubst_copy, at cp/pt.c:15962 with range-v3

2018-11-03 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87814 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/87783] New: `class A;` is incorrectly accepted at namespace or class scope

2018-10-29 Thread ensadc at mailnesia dot com
-invalid Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://wandbox.org/permlink/L5JYCDnEfKmftRlr template class A {}; class A; Both Clang

[Bug c++/87781] New: template disambiguator not after `::`, `.` or `->` is incorrectly accepted in an elaborated-type-specifier

2018-10-29 Thread ensadc at mailnesia dot com
tus: UNCONFIRMED Keywords: accepts-invalid Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://wandbox.org/permlink/97lV1nw6gMGSD

[Bug c++/87770] ICE in type_dependent_expression_p, at cp/pt.c:25230

2018-10-27 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87770 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/87658] Cannot use move ctor when inserting to std::map

2018-10-19 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87658 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug libstdc++/87431] valueless_by_exception() should unconditionally return false if all the constructors are noexcept

2018-10-07 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87431 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/87322] [GCC 8.1+] GCC fails to parse captured lambda of 2nd inner lambda if the captured lambda has "," (having 2 arguments)

2018-09-16 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87322 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/84075] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2018-09-01 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/80916] Spurious "declared 'static' but never defined" warning

2018-08-30 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80916 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/87125] [9 Regression] ICE in tsubst_copy starting with r261084

2018-08-30 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87125 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/87152] internal compiler error: in tsubst_copy, at cp/pt.c:15484

2018-08-30 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87152 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/86970] Rejected constexpr expression involving lambdas and inheritance, "use of this in a constant expression"

2018-08-17 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86970 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/85457] enum and auto template parameter mixup

2018-08-12 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85457 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug libstdc++/86603] New: `__cpp_lib_list_remove_return_type` misplaced in the header

2018-07-20 Thread ensadc at mailnesia dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com CC: redi at gcc dot gnu.org Target Milestone: --- In , __cpp_lib_list_remove_return_type is defined when __cplusplus == 201703

[Bug c++/86142] New: hard error for bad delete-expression in SFINAE context

2018-06-13 Thread ensadc at mailnesia dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://wandbox.org/permlink/9gfZwtKZC9Tu92fs template void f(); template int f(...); int x = f(); int y = f(); int z = f(); prog.cc: In substitution

[Bug c++/85901] New: Error message contains "#'offset_type' not supported by simple_type_specifier#)#'offset_type' not supported by direct_abstract_declarator#"

2018-05-24 Thread ensadc at mailnesia dot com
Product: gcc Version: unknown Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone:

[Bug c++/85842] New: Bogus -Wreturn-type with generic lambda and constexpr if

2018-05-19 Thread ensadc at mailnesia dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://wandbox.org/permlink/qSgjLEWzpsJmkHNU template auto f = [](auto&& arg) -> T* { i

[Bug c++/85739] [8/9 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:3057

2018-05-14 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85739 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/85765] Missing SFINAE in default template argument

2018-05-13 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85765 ensadc at mailnesia dot com changed: What|Removed |Added Keywords||rejects-valid --- Comment

[Bug c++/85765] New: Missing SFINAE in default template argument

2018-05-13 Thread ensadc at mailnesia dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://wandbox.org/permlink/lxHtJOjvghJiLiIO struct il { il(); il(const il&); }; int* begin(il); template T&& declval(); template())), decltype(*U(),0) =

[Bug c++/85124] New: template template parameter is printed incorrectly in the error message

2018-03-29 Thread ensadc at mailnesia dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://wandbox.org/permlink/0ir0hnoy5jeX9KLT template using ref = T&; template struct X { template<template

[Bug c++/81086] [8 Regression] ICE with structured binding of initializer_list

2018-01-26 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81086 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/83000] Constraints for union-templates do not work

2017-11-16 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83000 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/83003] Using the detection idiom and void_t causes an error

2017-11-16 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83003 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/66839] g++ accepts NSDMI with -std=c++98 when the intializer is a macro defined in a standard header

2017-10-28 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66839 ensadc at mailnesia dot com changed: What|Removed |Added Keywords||accepts-invalid

[Bug c++/52202] [C++11][DR 1376] Should not extend lifetime of temporary wrapped in static_cast to reference type

2017-10-21 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52202 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/79994] Concepts technical specification

2017-10-21 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79994 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

  1   2   >