[Bug middle-end/23467] alignment of member doesn't always carry over to alignment of struct.
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 23 12:36:00 GMT 2005
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-23 12:28 -------
Subject: Bug 23467
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: amylaar@gcc.gnu.org 2005-08-23 12:27:55
Modified files:
gcc : ChangeLog stor-layout.c
Log message:
gcc:
PR middle-end/23467
* stor-layout.c (finalize_type_size): Dont override
existing alignment with a smaller alignment from the mode.
testsuite:
PR middle-end/23467
* gcc.c-torture/execute/pr23467.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9806&r2=2.9807
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/stor-layout.c.diff?cvsroot=gcc&r1=1.238&r2=1.239
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23467
More information about the Gcc-bugs
mailing list