2006-01-26 Paul Brook <paul@codesourcery.com>
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jan 2006 04:08:39 +0000 (04:08 +0000)
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jan 2006 04:08:39 +0000 (04:08 +0000)
commitd82fdc245884fbe516ef0ca319561b9232235dfb
tree626d3274fb4c1b042b35b73718819d1d3e244bdb
parenta99c29e20ea690ff1700c24f370073c970385300
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110247 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/compat/struct-layout-1.exp
gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c
gcc/testsuite/gcc.dg/compat/struct-layout-1.exp
gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c
gcc/testsuite/lib/target-supports.exp