https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53036
--- Comment #7 from Jonathan Wakely ---
Bug 85723 deals with the problem mentioned in comment 5.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53036
Martin Sebor changed:
What|Removed |Added
Keywords||rejects-valid
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53036
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53036
Paolo Carlini changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #4 f
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53036
--- Comment #3 from Daniel Krügler
2012-04-19 12:24:12 UTC ---
(In reply to comment #2)
> Sadly, on this case:
> struct A {
> A()=default;
> A(int=2);
> };
> it says A is trivial whereas I guess the ambiguity makes it non-trivial.
I agree. T
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53036
--- Comment #2 from Marc Glisse 2012-04-19
12:14:04 UTC ---
Created attachment 27189
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27189
basic patch
The patch detects D as trivial.
Sadly, on this case:
struct A {
A()=default;
A(int=2)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53036
Marc Glisse changed:
What|Removed |Added
CC||marc.glisse at normalesup