[Bug c++/107918] P2468R2 and operator ambiguity

2022-11-29 Thread dacamara.cameron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107918 Cameron changed: What|Removed |Added CC||dacamara.cameron at gmail dot com

[Bug c++/94162] ICE [neg] bad return type in defaulted <=>

2021-08-08 Thread dacamara.cameron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162 --- Comment #10 from Cameron --- (In reply to Andrew Pinski from comment #9) > None of the testcases ICE in GCC 11+ I notice that if I change the repro to: #include struct S { int a; int* operator<=>(const S&) const = default; }; bool b

[Bug c++/59673] wrong specialization used when a partial specialization of a member template is explicitly specialized

2020-04-14 Thread dacamara.cameron at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59673 Cameron changed: What|Removed |Added CC||dacamara.cameron at gmail dot com

[Bug c++/94162] ICE [neg] bad return type in defaulted <=>

2020-03-14 Thread dacamara.cameron at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162 --- Comment #2 from Cameron --- (In reply to Jakub Jelinek from comment #1) > It isn't clear to me what exactly disallows it, perhaps > http://eel.is/c++draft/class.spaceship#2.2 > ? > For auto return type > http://eel.is/c++draft/class.spaceship

[Bug c++/94162] New: ICE [neg] bad return type in defaulted <=>

2020-03-12 Thread dacamara.cameron at gmail dot com
ent: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dacamara.cameron at gmail dot com Target Milestone: --- Whenever the return type of a defaulted <=> is not a comparison category gcc ICEs: #include struct S { int a; bool operator<=>(const S&) const

[Bug c++/92426] ICE on spaceship declaration plus other P1185R2 interaction issue

2019-11-09 Thread dacamara.cameron at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92426 --- Comment #3 from Cameron --- (In reply to W E Brown from comment #2) > Please note that the submitted test program seems not to meet the #include > requirement as articulated in N4835 clause [expr.spaceship] p10: > > "10 The five comparison c

[Bug c++/92426] New: ICE on spaceship declaration plus other P1185R2 interaction issue

2019-11-08 Thread dacamara.cameron at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dacamara.cameron at gmail dot com Target Milestone: --- I was playing around with the spaceship operator using gcc10 on godbolt and discovered an issue trying to compile the following

[Bug c++/90490] New: ICE on noexcept with decltype expression

2019-05-15 Thread dacamara.cameron at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: dacamara.cameron at gmail dot com Target Milestone: --- The following code causes ICE in 9.1 and above: template struct S { void g() noexcept(decltype(int{ }) { }) { } }; This is a regression as gcc families below 9.1 can

[Bug c++/83342] New: extern marked variable template with later definition emits error

2017-12-08 Thread dacamara.cameron at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dacamara.cameron at gmail dot com Target Milestone: --- consider the scenario: t.h: #pragma once template extern const int N; t.cpp: #include "t.h" template const int N

[Bug c++/63192] New: non-mutable lambda capture by value on reference does not apply const

2014-09-05 Thread dacamara.cameron at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dacamara.cameron at gmail dot com This is an example taken directly from the standard (5.1.2.19) with a bit of decoration for output. The last case produces false when it should be

[Bug c++/51253] [C++11][DR 1030] Evaluation order (sequenced-before relation) among initializer-clauses in braced-init-list

2014-08-06 Thread dacamara.cameron at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51253 Cameron changed: What|Removed |Added CC||dacamara.cameron at gmail dot com

[Bug c++/62036] Braced-init-list issuing -Wsequence-point warning

2014-08-06 Thread dacamara.cameron at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62036 Cameron changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/62036] Braced-init-list issuing -Wsequence-point warning

2014-08-06 Thread dacamara.cameron at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62036 --- Comment #2 from Cameron --- Welp looks like my friend got to it before I did. My bad. Carry on and good work!

[Bug c++/62036] New: Braced-init-list issuing -Wsequence-point warning

2014-08-06 Thread dacamara.cameron at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dacamara.cameron at gmail dot com #include #include #include #include int main() { int arr[10]; std::iota(std::begin(arr), std::end(arr), 1); using itr_t = decltype(std::begin(arr)); // the function