public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/36285]  New: gcc.dg/compat/struct-by-value-xxx improper test for AVR target
@ 2008-05-20 23:00 hutchinsonandy at aim dot com
  2008-06-01  1:03 ` [Bug testsuite/36285] " hutchinsonandy at aim dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hutchinsonandy at aim dot com @ 2008-05-20 23:00 UTC (permalink / raw)
  To: gcc-bugs

Most of the 21 variants of this test fail for AVR target. Issue noted appears
to be excessive memory need and thus failure at link time. For example.

PASS: gcc.dg/compat/struct-by-value-11 c_compat_y_tst.o compile
Executing on host: /home/hutchia/Desktop/awhconf/gcc/xgcc
-B/home/hutchia/Desktop/awhconf/gcc/ c_compat_main_tst.o c_compat_x_tst.o
c_compat_y_tst.o    -DSTACK_SIZE=2048 -DNO_TRAMPOLINES -fno-show-column 
-DSIGNAL_SUPPRESS -mmcu=atmega128  /home/hutchia/Desktop/dejagnuboards/exit.c
-Wl,-u,vfprintf -lprintf_flt -Wl,-Tbss=0x802000,--defsym=__heap_end=0x80ffff 
-lm   -o gcc-dg-compat-struct-by-value-11-01    (timeout = 300)
/home/hutchia/local/avr/lib/gcc/avr/4.4.0/../../../../avr/bin/ld:
gcc-dg-compat-struct-by-value-11-01 section .text will not fit in region text
/home/hutchia/local/avr/lib/gcc/avr/4.4.0/../../../../avr/bin/ld: region text
overflowed by 353496 bytes
compiler exited with status 1
output is:
/home/hutchia/local/avr/lib/gcc/avr/4.4.0/../../../../avr/bin/ld:
gcc-dg-compat-struct-by-value-11-01 section .text will not fit in region text
/home/hutchia/local/avr/lib/gcc/avr/4.4.0/../../../../avr/bin/ld: region text
overflowed by 353496 bytes


-- 
           Summary: gcc.dg/compat/struct-by-value-xxx improper test for AVR
                    target
           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=36285


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

* [Bug testsuite/36285] gcc.dg/compat/struct-by-value-xxx improper test for AVR target
  2008-05-20 23:00 [Bug testsuite/36285] New: gcc.dg/compat/struct-by-value-xxx improper test for AVR target hutchinsonandy at aim dot com
@ 2008-06-01  1:03 ` hutchinsonandy at aim dot com
  2008-06-09 22:50 ` hutchinsonandy at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hutchinsonandy at aim dot com @ 2008-06-01  1:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hutchinsonandy at aim dot com  2008-06-01 01:02 -------
I have reduced number of failures slightly by setting higher optimisation and
skipping complex int using 

set COMPAT_SKIPS [list {VA} {COMPLEX_INT}] 
set COMPAT_OPTIONS [list [list {-Os -mcall-prologues} {-Os -mcall-prologues}]] 

But complex float, double and long double are not avoidable and taking way too
much code size to link.

Additionally, there appears to be no way of Skipping these test or even marking
xfail for the link/run stages.


-- 

hutchinsonandy at aim dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |janis187 at us dot ibm dot
                   |                            |com


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


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

* [Bug testsuite/36285] gcc.dg/compat/struct-by-value-xxx improper test for AVR target
  2008-05-20 23:00 [Bug testsuite/36285] New: gcc.dg/compat/struct-by-value-xxx improper test for AVR target hutchinsonandy at aim dot com
  2008-06-01  1:03 ` [Bug testsuite/36285] " hutchinsonandy at aim dot com
@ 2008-06-09 22:50 ` hutchinsonandy at gcc dot gnu dot org
  2008-06-10 15:43 ` eric dot weddington at atmel dot com
  2008-07-02 22:32 ` hutchinsonandy at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: hutchinsonandy at gcc dot gnu dot org @ 2008-06-09 22:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hutchinsonandy at gcc dot gnu dot org  2008-06-09 22:49 -------
Subject: Bug 36285

Author: hutchinsonandy
Date: Mon Jun  9 22:48:37 2008
New Revision: 136604

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136604
Log:
PR testsuite/36285
* gcc.dg/compat/struct-return-10_y.c: Remove test_va.
* gcc.dg/compat/vector-defs.h: Add check for availability of 8 byte double.
* gcc.dg/compat/struct-layout-1_test.h: Change bitfield to match integer size.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/compat/struct-layout-1_test.h
    trunk/gcc/testsuite/gcc.dg/compat/struct-return-10_y.c
    trunk/gcc/testsuite/gcc.dg/compat/vector-defs.h


-- 


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


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

* [Bug testsuite/36285] gcc.dg/compat/struct-by-value-xxx improper test for AVR target
  2008-05-20 23:00 [Bug testsuite/36285] New: gcc.dg/compat/struct-by-value-xxx improper test for AVR target hutchinsonandy at aim dot com
  2008-06-01  1:03 ` [Bug testsuite/36285] " hutchinsonandy at aim dot com
  2008-06-09 22:50 ` hutchinsonandy at gcc dot gnu dot org
@ 2008-06-10 15:43 ` eric dot weddington at atmel dot com
  2008-07-02 22:32 ` hutchinsonandy at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: eric dot weddington at atmel dot com @ 2008-06-10 15:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from eric dot weddington at atmel dot com  2008-06-10 15:43 -------
Fixed for 4.4.0.


-- 

eric dot weddington at atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


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


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

* [Bug testsuite/36285] gcc.dg/compat/struct-by-value-xxx improper test for AVR target
  2008-05-20 23:00 [Bug testsuite/36285] New: gcc.dg/compat/struct-by-value-xxx improper test for AVR target hutchinsonandy at aim dot com
                   ` (2 preceding siblings ...)
  2008-06-10 15:43 ` eric dot weddington at atmel dot com
@ 2008-07-02 22:32 ` hutchinsonandy at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: hutchinsonandy at gcc dot gnu dot org @ 2008-07-02 22:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hutchinsonandy at gcc dot gnu dot org  2008-07-02 22:32 -------
Subject: Bug 36285

Author: hutchinsonandy
Date: Wed Jul  2 22:31:11 2008
New Revision: 137396

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137396
Log:
PR testsuite/36285
* gcc.dg/compat/struct-by-value-16_x.c: Move some tests to new file to reduce
code size.
* gcc.dg/compat/struct-by-value-16_y.c: Ditto.
* gcc.dg/compat/struct-by-value-16a_main.c: New file.
* gcc.dg/compat/struct-by-value-16a_x.c: Ditto.
* gcc.dg/compat/struct-by-value-16a_y.c: Ditto.
* gcc.dg/compat/struct-by-value-17_x.c: Move some tests to new file to reduce
code size.
* gcc.dg/compat/struct-by-value-17_y.c: Ditto.
* gcc.dg/compat/struct-by-value-17a_main.c: New file.
* gcc.dg/compat/struct-by-value-17a_x.c: Ditto.
* gcc.dg/compat/struct-by-value-17a_y.c: Ditto.
* gcc.dg/compat/struct-by-value-18_x.c: Move some tests to new file to reduce
code size.
* gcc.dg/compat/struct-by-value-18_y.c: Ditto.
* gcc.dg/compat/struct-by-value-18a_main.c: New file.
* gcc.dg/compat/struct-by-value-18a_x.c: Ditto.
* gcc.dg/compat/struct-by-value-18a_y.c: Ditto.

Added:
    trunk/gcc/testsuite/gcc.dg/compat/struct-by-value-16a_main.c
    trunk/gcc/testsuite/gcc.dg/compat/struct-by-value-16a_x.c
    trunk/gcc/testsuite/gcc.dg/compat/struct-by-value-16a_y.c
    trunk/gcc/testsuite/gcc.dg/compat/struct-by-value-17a_main.c
    trunk/gcc/testsuite/gcc.dg/compat/struct-by-value-17a_x.c
    trunk/gcc/testsuite/gcc.dg/compat/struct-by-value-17a_y.c
    trunk/gcc/testsuite/gcc.dg/compat/struct-by-value-18a_main.c
    trunk/gcc/testsuite/gcc.dg/compat/struct-by-value-18a_x.c
    trunk/gcc/testsuite/gcc.dg/compat/struct-by-value-18a_y.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/compat/struct-by-value-16_x.c
    trunk/gcc/testsuite/gcc.dg/compat/struct-by-value-16_y.c
    trunk/gcc/testsuite/gcc.dg/compat/struct-by-value-17_x.c
    trunk/gcc/testsuite/gcc.dg/compat/struct-by-value-17_y.c
    trunk/gcc/testsuite/gcc.dg/compat/struct-by-value-18_x.c
    trunk/gcc/testsuite/gcc.dg/compat/struct-by-value-18_y.c


-- 


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


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

end of thread, other threads:[~2008-07-02 22:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-20 23:00 [Bug testsuite/36285] New: gcc.dg/compat/struct-by-value-xxx improper test for AVR target hutchinsonandy at aim dot com
2008-06-01  1:03 ` [Bug testsuite/36285] " hutchinsonandy at aim dot com
2008-06-09 22:50 ` hutchinsonandy at gcc dot gnu dot org
2008-06-10 15:43 ` eric dot weddington at atmel dot com
2008-07-02 22:32 ` 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).