This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for c++/50207 (ICE on bogus decimal::decimal32)
- From: Peter Bergner <bergner at vnet dot ibm dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 30 Aug 2011 16:32:33 -0500
- Subject: Re: C++ PATCH for c++/50207 (ICE on bogus decimal::decimal32)
- References: <4E5C66C4.1020403@redhat.com>
On Tue, 2011-08-30 at 00:27 -0400, Jason Merrill wrote:
> The DFP classes are treated as transparent aggregates, so they get
> mangled and passed like their first field. In the testcase it is
> defined to have a base class, so the first field is an artificial base
> field, which doesn't make any sense.
>
> Tested x86_64-pc-linux-gnu, applying to trunk.
Thanks for fixing this Jason! The same error also occurs on 4.6.
Do you plan on fixing it there too?
Peter