public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/36284]  New: gcc.dg-struct-layout fails AVR target - multiple reasons
@ 2008-05-20 22:39 hutchinsonandy at aim dot com
  2008-05-20 22:42 ` [Bug testsuite/36284] " hutchinsonandy at aim dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hutchinsonandy at aim dot com @ 2008-05-20 22:39 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug testsuite/36284] gcc.dg-struct-layout fails AVR target - multiple reasons
  2008-05-20 22:39 [Bug testsuite/36284] New: gcc.dg-struct-layout fails AVR target - multiple reasons hutchinsonandy at aim dot com
@ 2008-05-20 22:42 ` hutchinsonandy at aim dot com
  2008-06-18 21:54 ` hutchinsonandy at gcc dot gnu dot org
  2008-06-19  2:16 ` hutchinsonandy at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: hutchinsonandy at aim dot com @ 2008-05-20 22:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hutchinsonandy at aim dot com  2008-05-20 22:41 -------
Created an attachment (id=15658)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15658&action=view)
Extract from gcc.log

Extract from gcc.log showing failure details. For economy, not all 28 tests are
shown.


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug testsuite/36284] gcc.dg-struct-layout fails AVR target - multiple reasons
  2008-05-20 22:39 [Bug testsuite/36284] New: gcc.dg-struct-layout fails AVR target - multiple reasons hutchinsonandy at aim dot com
  2008-05-20 22:42 ` [Bug testsuite/36284] " hutchinsonandy at aim dot com
@ 2008-06-18 21:54 ` hutchinsonandy at gcc dot gnu dot org
  2008-06-19  2:16 ` hutchinsonandy at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: hutchinsonandy at gcc dot gnu dot org @ 2008-06-18 21:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hutchinsonandy at gcc dot gnu dot org  2008-06-18 21:54 -------
Subject: Bug 36284

Author: hutchinsonandy
Date: Wed Jun 18 21:53:20 2008
New Revision: 136920

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136920
Log:
PR testsuite/36284
* gcc.dg/compat/struct-layout-1_generate.c (switchfiles): Require int32plus for
generated main files.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug testsuite/36284] gcc.dg-struct-layout fails AVR target - multiple reasons
  2008-05-20 22:39 [Bug testsuite/36284] New: gcc.dg-struct-layout fails AVR target - multiple reasons hutchinsonandy at aim dot com
  2008-05-20 22:42 ` [Bug testsuite/36284] " hutchinsonandy at aim dot com
  2008-06-18 21:54 ` hutchinsonandy at gcc dot gnu dot org
@ 2008-06-19  2:16 ` hutchinsonandy at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: hutchinsonandy at gcc dot gnu dot org @ 2008-06-19  2:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hutchinsonandy at gcc dot gnu dot org  2008-06-19 02:16 -------
Testcase fixed for 4.4


-- 

hutchinsonandy at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-06-19  2:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-20 22:39 [Bug testsuite/36284] New: gcc.dg-struct-layout fails AVR target - multiple reasons hutchinsonandy at aim dot com
2008-05-20 22:42 ` [Bug testsuite/36284] " hutchinsonandy at aim dot com
2008-06-18 21:54 ` hutchinsonandy at gcc dot gnu dot org
2008-06-19  2:16 ` hutchinsonandy at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).