[Bug c++/53036] [c++11] trivial class fails std::is_trivial test

2019-02-11 Thread redi at gcc dot gnu.org
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.

[Bug c++/53036] [c++11] trivial class fails std::is_trivial test

2019-02-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53036 Martin Sebor changed: What|Removed |Added Keywords||rejects-valid Status|NEW

[Bug c++/53036] [c++11] trivial class fails std::is_trivial test

2015-03-24 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53036 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/53036] [c++11] trivial class fails std::is_trivial test

2012-04-19 Thread paolo.carlini at oracle dot com
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

[Bug c++/53036] [c++11] trivial class fails std::is_trivial test

2012-04-19 Thread daniel.kruegler at googlemail dot com
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

[Bug c++/53036] [c++11] trivial class fails std::is_trivial test

2012-04-19 Thread marc.glisse at normalesup dot org
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)

[Bug c++/53036] [c++11] trivial class fails std::is_trivial test

2012-04-18 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53036 Marc Glisse changed: What|Removed |Added CC||marc.glisse at normalesup