https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162
Marek Polacek changed:
What|Removed |Added
CC||poul250 at yandex dot ru
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162
Marek Polacek changed:
What|Removed |Added
CC||nunoplopes at sapo dot pt
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162
Arthur O'Dwyer changed:
What|Removed |Added
CC||arthur.j.odwyer at gmail dot
com
--- C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162
Jakub Jelinek changed:
What|Removed |Added
CC||msharov at users dot
sourceforge.n
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162
--- Comment #8 from Jakub Jelinek ---
Test from PR99429:
namespace std {
struct strong_ordering {
int _v;
constexpr strong_ordering (int v) :_v(v) {}
constexpr operator int (void) const { return _v; }
static const strong_ordering less;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162
--- Comment #1 from Jakub Jelinek ---
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#4
defines what return type it should have.
If t
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162
Andrew Pinski changed:
What|Removed |Added
Known to work||11.1.0
Known to fail|
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=94162
Andrew Pinski changed:
What|Removed |Added
Known to work|11.1.0 |
--- Comment #11 from Andrew Pinski ---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162
--- Comment #12 from Jakub Jelinek ---
At least the #c8 testcase got fixed with
r12-619-gfc178519771db508c03611cff4a1466cf67fce1d
but that hasn't been backported to 11.x.
The ICE with int * return type is because POINTER_TYPE has NULL
TYPE_LINKA
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162
--- Comment #13 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:9b7ab853bf33106fd0539e36d6ce7730269026e1
commit r12-2873-g9b7ab853bf33106fd0539e36d6ce7730269026e1
Author: Jakub Jelinek
Date: T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162
Andrew Pinski changed:
What|Removed |Added
CC||asolokha at gmx dot com
--- Comment #14
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162
Sam James changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
16 matches
Mail list logo