------- Comment #13 from ebotcazou at gcc dot gnu dot org  2009-09-25 18:20 
-------
> Oh, I didn't realize Test_Extension'Alignment was 16, I wonder what causes it
> to be super-aligned, I see no obvious candidate from -gnatR2...

A pointer to unconstrained array forces double-word alignment

  type String_Access is access all String;

  type Test_Extension is new Test_Base with record
    Last_Name : String_Access;
  end record;

for historical reasons.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41100

Reply via email to