decl.c (components_to_record): Add special case for single field with representation...
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 27 Mar 2016 09:57:36 +0000 (09:57 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 27 Mar 2016 09:57:36 +0000 (09:57 +0000)
commita1799e5ef7a4aaae3015a8ef8a5e49d91a1c3775
tree3433f260719b88f30ce9afb1f69894d9264701d5
parent5f7f4dffdc27d4252b49605f162ddd1c7f6f69e4
decl.c (components_to_record): Add special case for single field with representation clause at offset 0.

* gcc-interface/decl.c (components_to_record): Add special case for
single field with representation clause at offset 0.

From-SVN: r234494
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/double_record_extension3.ads [new file with mode: 0644]