This one is a very recent regression introduced on the mainline in ASIS mode.

Tested on x86_64-suse-linux, applied on the mainline.


2016-02-29  Eric Botcazou  <ebotca...@adacore.com>

        * gcc-interface/decl.c (gnat_to_gnu_entity) <Concurrent types>: In
        ASIS mode, fully lay out the minimal record type.

-- 
Eric Botcazou
Index: gcc-interface/decl.c
===================================================================
--- gcc-interface/decl.c	(revision 233804)
+++ gcc-interface/decl.c	(working copy)
@@ -4926,7 +4926,8 @@ gnat_to_gnu_entity (Entity_Id gnat_entit
 		  gnu_field_list = gnu_field;
 		}
 
-	      TYPE_FIELDS (gnu_type) = nreverse (gnu_field_list);
+	      finish_record_type (gnu_type, nreverse (gnu_field_list), 0,
+				  false);
 	    }
 	  else
 	    gnu_type = void_type_node;

Reply via email to