[Bug c++/58074] [C++11][DR 1333] __is_trivial intrinsic fails for deleted members and for non-trivial copy-c'tors

2019-03-18 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58074 --- Comment #11 from Richard Smith --- The point of trivial (as distinguished from trivially-copyable) is that an instance of type T can be created and "properly" initialized (albeit left with an indeterminate value) without executing any code.

[Bug c++/58074] [C++11][DR 1333] __is_trivial intrinsic fails for deleted members and for non-trivial copy-c'tors

2019-03-17 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58074 --- Comment #10 from Daniel Krügler --- (In reply to Jonathan Wakely from comment #9) > (In reply to Daniel Krügler from comment #0) > > The deleted default constructor should not prevent type Trivial of being > > trivial (Maybe this part of the

[Bug c++/58074] [C++11][DR 1333] __is_trivial intrinsic fails for deleted members and for non-trivial copy-c'tors

2019-02-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58074 --- Comment #9 from Jonathan Wakely --- (In reply to Daniel Krügler from comment #0) > The deleted default constructor should not prevent type Trivial of being > trivial (Maybe this part of the problem is related to bug 52707, but I'm not >

[Bug c++/58074] [C++11][DR 1333] __is_trivial intrinsic fails for deleted members and for non-trivial copy-c'tors

2018-03-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58074 Eric Gallager changed: What|Removed |Added Keywords||deferred CC|

[Bug c++/58074] [C++11][DR 1333] __is_trivial intrinsic fails for deleted members and for non-trivial copy-c'tors

2015-09-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58074 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/58074] [C++11][DR 1333] __is_trivial intrinsic fails for deleted members and for non-trivial copy-c'tors

2015-09-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58074 --- Comment #7 from Jason Merrill --- Created attachment 36370 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36370=edit patch for GCC 5 And a patch to add a -Wabi warning to GCC 5.

[Bug c++/58074] [C++11][DR 1333] __is_trivial intrinsic fails for deleted members and for non-trivial copy-c'tors

2015-09-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58074 --- Comment #6 from Jason Merrill --- Created attachment 36369 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36369=edit patch But here's the fix if the committee reaffirms the DR.