This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH,testsuite]Fix misc tests for AVR target


Janis,

the attach patch fixes a whole bunch of tests for AVR and small targets
Some are fixed to account for different data sizes. Some are skipped.
Some are marked xfail.

Conversion warning checks are particulary awkward, as they are highly
dependent on data sizes.
Some additional AVR only  tests are added to cover extra warning due to
data sizes. to avoid excess error failures.
Where different warnings are emitted on AVR, test are skipped and excess
warning test are  marked xfail.

These have been tested on AVR target. Also on i686 - no regressions

Ok for mainline 4.4?



2008-06-10 Andy Hutchinson <hutchinsonandy@aim.com>

      * gcc.c-torture/compile/limits-fndefn.c: Skip for AVR.
      * gcc.dg/builtins-config.h: Use standard independent __AVR__ symbol.
      * gcc.dg/cdce1.c: Skip for AVR.
      * gcc.dg/cdce2.c: Ditto.
      * gcc.dg/fold-bitand-1.c: Ignore warnings such as alignment.
      * gcc.dg/fold-eqandshift-3.c: Use long on AVR.
      * gcc.dg/fold-overflow-1.c: Skip for AVR.
      * gcc.dg/multiple-overflow-warn-3.c: Use target independent macro
      for ms bit position.
      * gcc.dg/pch/struct-1.c: Allow for target without 32 bit int.
      * gcc.dg/tree-ssa/pr33920.c: Add warning check for AVR.
      * gcc.dg/ucnid-5.c: Skip for AVR.
      * gcc.dg/Wconversion-5.c: Mark warning xfail for AVR target.
      * gcc.dg/Wconversion-real-integer.c: Skip for AVR.
      * gcc.dg/Wconversion-real.c: Ditto.
      * gcc.dg/wtr-conversion-1.c: Add warning test for AVR.
      * gcc.dg/utf-cvt.c: Skip tests and mark excess xfail for AVR.
      * gcc.dg/Wtype-limits-Wextra.c: Ditto.
      * gcc.dg/Wtype-limits.c: Ditto.



Attachment: tests2.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]