On Sun, May 26, 2013 at 07:58:09AM +0200, Jakub Jelinek wrote:
> On Sat, May 25, 2013 at 04:07:11PM -0700, Benjamin De Kosnik wrote:
> >
> > > Looks good to me.
> >
> > Great, trunk patch in.
> >
> > > Will you prepare corresponding patch for the 4.8
> > > branch too (I guess it should be pret
The assertion is too strong in ASIS mode, where all the types aren't laid out.
Tested on x86_64-suse-linux, applied on the mainline.
2013-05-26 Eric Botcazou
* gcc-interface/decl.c: (gnat_to_gnu_entity): In ASIS mode, do not
check that access types have a set size.
--
Eric
Because of a recent change, adding a partial representation clause for one of
the variants of a discriminated record type with variant part changes the
layout of the other variants in an unexpected way. This patch is aimed at
mitigating that, although this cannot be solved in all cases given th
The value of the attribute should be -1 if an object of such a type is placed
on a storage unit boundary, but the compiler was generating Storage_Error.
Tested on x86_64-suse-linux, applied on all active branches.
2013-05-26 Eric Botcazou
* gcc-interface/trans.c (Attribute_to_gnu) :
This fixes the handling of Machine_Attribute applied to types in gigi, which
doesn't really work because the attribute is applied to the TYPE_DECL.
Tested on x86_64-suse-linux, applied on the mainline.
2013-05-26 Eric Botcazou
* gcc-interface/gigi.h (create_type_decl): Adjust protot
On specific platforms, stepping over an assignment to a class-wide variable in
GDB leads to an awkward behavior. Fixed thusly.
Tested on x86_64-suse-linux, applied on the mainline.
2013-05-26 Eric Botcazou
* gcc-interface/gigi.h (make_aligning_type): Adjust prototype.
* gcc
In Ada 2012, you can complete an incomplete type with a private type, so you
can have 3 different views for a single type. As the attached testcase shows,
this can lead to an ICE when the completion is a tagged private type because
the full view is elaborated prematurely.
Tested on x86_64-suse-
It's a rather obscure case and comes from the change of representation for
aliased objects with unconstrained nominal type that we made last year.
Tested on x86_64-suse-linux, applied on the mainline.
2013-05-26 Eric Botcazou
* gcc-interface/decl.c (gnat_to_gnu_entity) : Always buil