This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Do not rely on FIELD_LOC_KIND_BITPOS being zero
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Siddhesh Poyarekar <siddhesh at redhat dot com>
- Date: Tue, 17 Apr 2012 15:15:59 +0200
- Subject: Re: [commit] Do not rely on FIELD_LOC_KIND_BITPOS being zero
- References: <20120417124410.GA15356@host2.jankratochvil.net> <4F8D695E.7070002@redhat.com>
On Tue, 17 Apr 2012 15:00:14 +0200, Pedro Alves wrote:
> We could make the compiler catch these by making the macro return an rvalue.
With C++ getters and constructors-with-parameters such problem would have
never exist.
Jan