This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH,testsuite]Fix PR36284 Disable compat struct generator for non 32bit int targets
- From: Andy H <hutchinsonandy at aim dot com>
- To: gcc-patches at gcc dot gnu dot org, janis187 at us dot ibm dot com
- Date: Tue, 10 Jun 2008 22:59:52 -0400
- Subject: [PATCH,testsuite]Fix PR36284 Disable compat struct generator for non 32bit int targets
This changes compat/struct-layout-1 generator to mark all generated
*_main.c files as requiring effective 32bit int.
This results in all tests being skiped by AVR or an other target with
smaller than 32 bit integers.
Given the extent of change need to make all generated combinations of
data types, value and overall size target compliant, I think this is
best way to resolve:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36284
Tested on AVR target and i686-pc-linux-gnu. No regressions
2008-06-10 Andy Hutchinson <hutchinsonandy@aim.com>
PR testsuite/36284
* gcc.dg/compat/struct-layout-1_generate.c (switchfiles): Require
int32plus for generated main files.
Attachment:
gen.patch
Description: Text document