https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107918
Cameron changed:
What|Removed |Added
CC||dacamara.cameron at gmail dot
com
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59673
Cameron changed:
What|Removed |Added
CC||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
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
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
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
++
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51253
Cameron changed:
What|Removed |Added
CC||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|---
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!
: 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
14 matches
Mail list logo