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

Reply via email to