[Bug testsuite/36284] New: gcc.dg-struct-layout fails AVR target - multiple reasons

hutchinsonandy at aim dot com gcc-bugzilla@gcc.gnu.org
Tue May 20 22:39:00 GMT 2008


gcc/testsuite/gcc/gcc.dg-struct-layout-1 fails multiple times for AVR target
due to non-portable testcase.

This test has 28 generated variants, all fail.
Problems include:

1)Assumes int are 32 bit

gcc/gcc.dg-struct-layout-1//t001_test.h:119: error: width of 'a'

2) Assumes availability of DF mode
gcc.dg/compat/vector-defs.h:9: error: unable to emulate 'DF'

3) Some undefined problem - maybe size >32767?
short_enums30131.c:3: error: size of array 's' is negative


I will post snippet of log file to aid correction.


-- 
           Summary: gcc.dg-struct-layout fails AVR target - multiple reasons
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hutchinsonandy at aim dot com
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: avr-unknown-none


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36284



More information about the Gcc-bugs mailing list