decl.c (components_to_record): Zero the alignment of the qualified union built for...
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 3 May 2008 19:47:22 +0000 (19:47 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 3 May 2008 19:47:22 +0000 (19:47 +0000)
commit8f85525e4102574486728caf5e5aa3d91ab101e1
treeedbdf6ee7b678c7d7daf005d8787b89e016bcbcf
parent88f36b7eb6a153a914e9b4d678c1ddaddb842747
decl.c (components_to_record): Zero the alignment of the qualified union built for the variant part upon...

* decl.c (components_to_record): Zero the alignment of the qualified
union built for the variant part upon creating it.

From-SVN: r134917
gcc/ada/ChangeLog
gcc/ada/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/discr6.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/discr6_pkg.ads [new file with mode: 0644]