This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
egcs/gcc ChangeLog stor-layout.c testsuite/Cha ...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 7 Aug 2002 18:11:00 -0000
- Subject: egcs/gcc ChangeLog stor-layout.c testsuite/Cha ...
CVSROOT: /cvs/gcc
Module name: egcs
Branch: gcc-3_2-branch
Changes by: jakub@gcc.gnu.org 2002-08-07 11:11:00
Modified files:
gcc : ChangeLog stor-layout.c
gcc/testsuite : ChangeLog
gcc/doc : tm.texi
gcc/config/i386: i386.c
gcc/config/rs6000: rs6000.c rs6000-protos.h aix.h darwin.h
linux64.h sysv4.h rs6000.h
Added files:
gcc/testsuite/g++.dg/abi: bitfield3.C
gcc/testsuite/gcc.dg: i386-bitfield1.c
Log message:
* stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
to type_align when PCC_BITFIELD_TYPE_MATTERS. Only apply
ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
(place_field): Likewise.
* config/i386/i386.c (x86_field_alignment): Don't check
TARGET_ALIGN_DOUBLE for the second time.
Apply min for all MODE_INT and MODE_CLASS_INT modes.
* config/rs6000/rs6000.c (rs6000_field_alignment): New.
* config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
prototype.
* config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
* config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
* config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
* config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
* config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
* doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
* gcc.dg/i386-bitfield1.c: New test.
* g++.dg/abi/bitfield3.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.13152.2.657.2.7&r2=1.13152.2.657.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/stor-layout.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.118.2.3&r2=1.118.2.3.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.1672.2.166.2.2&r2=1.1672.2.166.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/doc/tm.texi.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.102.2.5&r2=1.102.2.5.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/config/i386/i386.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.368.2.19.2.1&r2=1.368.2.19.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.291.2.13&r2=1.291.2.13.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/config/rs6000/rs6000-protos.h.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.30&r2=1.30.6.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/config/rs6000/aix.h.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.27.8.1&r2=1.27.8.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/config/rs6000/darwin.h.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.16.2.3&r2=1.16.2.3.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/config/rs6000/linux64.h.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.10.2.2&r2=1.10.2.2.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/config/rs6000/sysv4.h.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.84.2.3&r2=1.84.2.3.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/config/rs6000/rs6000.h.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.184.2.10&r2=1.184.2.10.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/g++.dg/abi/bitfield3.C.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/gcc.dg/i386-bitfield1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=NONE&r2=1.1.2.1