]> git.ipfire.org Git - thirdparty/gcc.git/commit
stor-layout.c (update_alignment_for_field): New function.
authorMark Mitchell <mark@codesourcery.com>
Tue, 1 Oct 2002 18:44:49 +0000 (18:44 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 1 Oct 2002 18:44:49 +0000 (18:44 +0000)
commit0645ba8f0b34dbbce7a57dcf712cd0cb261edcc2
tree6a0a7a188939d5684b564c5c8f4ddde2761d9f00
parentb4c20e524ce008387c6efe06d10fbd4a488d8654
stor-layout.c (update_alignment_for_field): New function.

* stor-layout.c (update_alignment_for_field): New function.
(place_union_field): Use it.
(place_field): Likewise.
* gcc.dg/empty1.C: New test.

From-SVN: r57697
gcc/ChangeLog
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/empty1.c [new file with mode: 0644]