This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54808] error: non-trivial conversion at assignment (with bit fields)
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 Oct 2012 10:46:02 +0000
- Subject: [Bug c++/54808] error: non-trivial conversion at assignment (with bit fields)
- Auto-submitted: auto-generated
- References: <bug-54808-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54808
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
Component|middle-end |c++
AssignedTo|rguenth at gcc dot gnu.org |unassigned at gcc dot
| |gnu.org
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-10-05 10:46:02 UTC ---
It's a C++ frontend issue, the zero is explicit in the CONSTRUCTOR inside
the INIT_EXPR. The FE probably simply uses integer_zero_node.