public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <law@redhat.com>
To: Eric Botcazou <ebotcazou@adacore.com>, gcc-patches@gcc.gnu.org
Subject: Re: [patch 1/6] scalar-storage-order merge: Ada front-end
Date: Mon, 12 Oct 2015 22:23:00 -0000	[thread overview]
Message-ID: <561C32DE.9030500@redhat.com> (raw)
In-Reply-To: <5920838.A6AOytW5O1@polaris>

On 10/06/2015 05:00 AM, Eric Botcazou wrote:
> This is the Ada front-end (in fact mostly gigi) part.
>
> ada/
> 	* freeze.adb (Check_Component_Storage_Order): Skip a record component
> 	if it has Complex_Representation.
> 	(Freeze_Record_Type): If the type has Complex_Representation, skip
> 	the regular treatment of Scalar_Storage_Order attribute and instead
> 	issue a warning if it is present.
> 	* gcc-interface/gigi.h (set_reverse_storage_order_on_pad_type):
> 	Declare.
> 	* gcc-interface/decl.c (gnat_to_gnu_entity) <discrete_type>: Set the
> 	storage order on the enclosing record for a packed array type.
> 	<E_Array_Type>: Set the storage order.
> 	<E_Array_Subtype>: Likewise.
> 	<E_Record_Type>: Likewise.
> 	<E_Record_Subtype>: Likewise.
> 	(gnat_to_gnu_component_type): Set the reverse storage order on a
> 	padded type built for a non-bit-packed array.
> 	(gnat_to_gnu_field): Likewise.
> 	(components_to_record): Deal with TYPE_REVERSE_STORAGE_ORDER.
> 	* gcc-interface/utils.c (make_packable_type): Likewise.
> 	(pad_type_hasher::equal): Likewise.
> 	(gnat_types_compatible_p): Likewise.
> 	(unchecked_convert): Likewise.
> 	(set_reverse_storage_order_on_pad_type): New public function.
> 	* gcc-interface/trans.c (Attribute_to_gnu): Adjust call to
> 	get_inner_reference.
> 	* gcc-interface/utils2.c (build_unary_op): Likewise.
> 	(gnat_build_constructor): Deal with TYPE_REVERSE_STORAGE_ORDER.
> 	(gnat_rewrite_reference): Propagate REF_REVERSE_STORAGE_ORDER.
FWIW, I consider all the bits referenced above as self-approvable.

jeff

  reply	other threads:[~2015-10-12 22:23 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06 10:57 [patch 0/6] scalar-storage-order merge (2) Eric Botcazou
2015-10-06 11:01 ` [patch 1/6] scalar-storage-order merge: Ada front-end Eric Botcazou
2015-10-12 22:23   ` Jeff Law [this message]
2015-10-06 11:02 ` [patch 2/6] scalar-storage-order merge: C front-end Eric Botcazou
2015-10-13 11:32   ` Jeff Law
2015-10-19  8:50     ` Eric Botcazou
2015-10-28 16:48   ` Joseph Myers
2015-10-28 17:32     ` Jeff Law
2015-10-28 22:34     ` Eric Botcazou
2015-10-28 23:36       ` Mike Stump
2015-10-29  0:23         ` Joseph Myers
2015-10-30  8:59         ` Eric Botcazou
2015-10-30 14:50           ` Mike Stump
2015-10-06 11:03 ` [patch 3/6] scalar-storage-order merge: C++ front-end Eric Botcazou
2015-10-12 22:27   ` Jeff Law
2015-10-06 11:05 ` [patch 4/6] scalar-storage-order merge: bulk Eric Botcazou
2015-10-13 16:07   ` Jeff Law
2015-10-20 16:35     ` Eric Botcazou
2015-10-06 11:06 ` [patch 5/6] scalar-storage-order merge: rest Eric Botcazou
2015-10-06 11:09   ` Eric Botcazou
2015-10-13 16:44   ` Jeff Law
2015-10-06 11:08 ` [patch 6/6] scalar-storage-order merge: testsuite Eric Botcazou
2015-10-12 22:26   ` Jeff Law
2015-10-09 11:33 ` [patch 0/6] scalar-storage-order merge (2) Bernd Schmidt
2015-10-13 17:33   ` Eric Botcazou
2015-10-14 15:25     ` Trevor Saunders
2015-10-14 15:33       ` Jeff Law
2015-11-08 18:30 ` Eric Botcazou
  -- strict thread matches above, loose matches on Subject: below --
2015-06-16  8:46 [patch 0/6] scalar-storage-order merge Eric Botcazou
2015-06-16  8:52 ` [patch 1/6] scalar-storage-order merge: Ada front-end Eric Botcazou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=561C32DE.9030500@redhat.com \
    --to=law@redhat.com \
    --cc=ebotcazou@adacore.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).