This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch c++]: PR c++/44294 abi/bitfield12.C regression
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Kai Tietz <ktietz70 at googlemail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 27 May 2010 10:24:10 -0700
- Subject: Re: [patch c++]: PR c++/44294 abi/bitfield12.C regression
- References: <AANLkTimqIDPWav_nsXylKMhMYsEyf-PQgsQvJERo3z3L@mail.gmail.com>
On Thu, May 27, 2010 at 8:02 AM, Kai Tietz <ktietz70@googlemail.com> wrote:
> Hello,
>
> the issue is here that in class.c function layout_class_type an
> underflow of itk could be produced, when first enumerator is already
> end-criteria.
>
> ChangeLog
>
> 2010-05-27 ?Kai Tietz
>
> ? ? ? ?PR c++/44294
> ? ? ? ?* class.c (layout_class_type): Prevent underflow for itk.
>
> Tested for x86_64-pc-linux-gnu and x86_64-w64-mingw32. Ok for apply?
>
I am not sure if it is correct.. We now use __int128 for the type of bitfield.
--
H.J.