This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r110248 - in /branches/gcc-4_1-branch/gcc/tests...
- From: pbrook at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 26 Jan 2006 04:09:09 -0000
- Subject: r110248 - in /branches/gcc-4_1-branch/gcc/tests...
Author: pbrook
Date: Thu Jan 26 04:09:07 2006
New Revision: 110248
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110248
Log:
2006-01-26 Paul Brook <paul@codesourcery.com>
* gcc.dg/compat/struct-layout-1.exp: Pass -e to generator program
on short-enum targets.
* gcc.dg/compat/struct-layout-1_generate.c (short_enums): New
variable.
(generate_fields): Use short_enums.
(main): Set short_enums. Document -e.
* g++.dg/compat/struct-layout-1.exp: Pass -e to generator program
on short-enum targets.
* g++.dg/compat/struct-layout-1_generate.c (short_enums): New
variable.
(generate_fields): Use short_enums.
(main): Set short_enums. Document -e.
* lib/target-supports.exp (check_effective_target_short_enums): New.
Modified:
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/compat/struct-layout-1.exp
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c
branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/compat/struct-layout-1.exp
branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c
branches/gcc-4_1-branch/gcc/testsuite/lib/target-supports.exp