[PATCH,testsuite]Fix PR36284 Disable compat struct generator for non 32bit int targets

Andy H hutchinsonandy@aim.com
Wed Jun 11 03:00:00 GMT 2008


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.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gen.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080611/0472fa10/attachment.ksh>


More information about the Gcc-patches mailing list