This is the mail archive of the gcc-testresults@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] |
Test report for "avr-unknown-none" Hi, Find enclosed the repeated and "cleaned-up" test report for the avr target. This mail is cross posted to both, gcc-testresults@gcc.gnu.org and the avr-libc-dev mailing list in order to reach both, avr users and the core gcc team. The test suite was run using the simulavr simulator using the atmega128 device. Code was linked with avr-libc 1.0.4 and gdb 6.0 was used for controling the simulator. The test suite code makes use of a patch to the dg.exp test suite driver of the dejagnu-1.4.4 code. I did not find another way to mark tests as XFAIL or UNSUPPORTED if they were to fail already for the compilation step. This probably is related to a problem in the dg.exp test driver, that I'd like to judge to be a mis-feature of the present dg.exp code. In order to suppress failures for tests that do not apply to the avr platform, I have been forced to do major adjustments the suite code. The changes to the individual test cases of the suite are marked by a # in the following paragraph. When adapting the test suite, I had to decide for a couple of cases whether a test is relevant for avr or not. A couple of failures stems from the fact that required header files are not present. They reflect, thus, rather a missing support of the std library than a problem with the compiler itself. For header files, that I personally assumed to be not relevant for avr, I decided to mark the test to be XFAIL. I would appreciate comments from the other avr users for the following points : 1.) I assumed that there is no real need for precompiled header support for our tiny avr projects. I have disabled all related tests. 2.) wide chars I assumed that wide char support is not essential for avr targets and have, thus disabled the tests. 3.) double support for sscanf I have marked functions using sscanf with double arguments also as xfail. 4.) vector modes I assumed that vector machine modes probably never will be of major importance for avr. I, therefore, have marked these tests as xfail as well. 5.) nested functions Due to the Harvard-Architecture of avr, gcc seems to have always problems when using nested functions: Gcc seems to try to use trampolines all the time. a feature rather than a bug. IMHO the only real use of nested functions is to employ them for passing pointers to them to other functions. IIRC, however, this allways requires the use of trampolines. 6.) Presently alias attributes are not supported for avr. I have marked tests as XFAIL if they use this feature. (This should be discussed!). 7.) GCC seems usually to support a number of built-in functions like, e.g., the ffs function that counts the trailing zero-bits of an integer. There also seems to be a builtin-return function. The present avr implementation does not seem to support this. I have marked these tests as xfail. One should discuss which kind of builtin function is really useful for gcc. IMHO, we could readily ask avr users to use functions that are defined in avr-libc and not in libgcc2. 8.) Implement overflow checking for avr integer types would IMHO require much to much overhead for avr. I have thus disabled these tests. Following you will find A) a list of some of the remaining failures together with a preliminary analysis and a list of my changes to the test suite and B) then the standard gcc test summary. If anyone on the avr-libc-dev list would be willing to help writing official bug reports for the remaining failures, I would appreciate it. Meanwhile, I would like to continue with testing the present head 4.0. It seems that there are a couple of problems with the reload pass with 4.0. Yours, Björn Haase P.S.: Enclosed to this mail you will find three attachments: 1.) the patch containing the changes to the test suite code 2.) a howto collection describing how to run the testsuite with the simulator. The tools therein now should *also* work with cygwin. 3.) a patch for dejagnu 1.4.4 dg.exp (frequently installed in /usr/share/dejagnu/dg.exp)) that again makes the dg-do assemble {xfail targettriple} and dg-do assemble {skip targettriple} magic comments functional. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA List of remaining failures and changes to the test suite (marked with #) *** gcc.c-torture/compile 20010226-1 failure origin: Pointer to nested function passed to external function. Trampolines not supported on avr. Test should be disabled in .x file. # Have added magic comment dg-xfail-if 20010327-1 Strange test that extends a constant pointer to long long, makes some computations with constant values and tries to use it as an assembly-time constant for initializing a variable. IMHO test is artificial for avr targets. I suggest to disable it for avr in a .x file # Have added magic comment dg-xfail-if 20010605-1 Seems to be a real bug related to nested functions. Seems that the compiler tries to use trampolines that are not supported on the harward-architecture of avr. 20020604-1 Fails since it uses a static array with more than 8k Ram Should be disabled for avr in .x file. # Have added magic comment dg-xfail-if 20020710-1 Seems to be a real bug. Shifts with negative arguments seem to fail always. Negative instruction length is reported. 20021119-1 Real bug. Negative instruction length is reported when shifting with large negative values. Only fails with -O0 (!). 20021123-4 Real bug. Negative instruction length is reported when shifting with large negative values. Only fails with -O0 (!). 20030224-1 Real bug in emit_move_insn. 20040130-1 Test case assumes short to be > 8 Bit. Test should be disabled in .x file # have marked this as xfail by magic comment. 900116-1 Real bug. Shows up only with -O3. 920626-1 Again the same bug: x >> a with negative shift count a yields negative instruction length. 920702-1 Again the same bug: negative shift count. 930621-1 Uses a large data array. Compilation fails only with -O3. Seems to be the same origin as for test case 900116-1 961203-1 Uses an array that is too big to fit into memory. Test should be disabled by dg magic comment. # test disabled by magic comment. 980506-1 Test case uses an array that is too big. Test should be disabled by dg magic comment. # avr is added to the xfail list. *** gcc.c-torture/execute 20010122-1 execution execution works only with -O0 !!! Should be investigated. Proabably a real bug. 20020720-1 compilation test for fabs() optimization. Fails also for other embedded targets. avr should be excluded in existing .x file. # avr-*-* is now added to the list of xfail targets in the existing .x file. 20040331-1 compilation test case assumes int to be 32 bit. Suggestion: Test case should be changed to work also with targets where int is defined to be 16 bit. # changed test case to evaluate __INT_MAX__ symbol in order to adapt # to the case that int=16 bit by conditional compilation. 920501-8 execution Test case contains sprintf and is also not supported by m6811. I suggest to exclude avr for this test in the .x file. # avr added to the list of unsupported targets in the existing .x file. 930513-1 execution Test case uses sprintf Suggestion: .exclude in .x file like m68HC11930513-1 execution # avr added to the list of unsupported target in the existing .x file. 930608-1 compilation Real compiler bug: Compilation fails with -O3 Again probably related to testcase gcc.c-torture/compile/990116-1. 960405-1 execution Test case using long doubles with values beyond the range of long doubles for the avr target since it uses the SF representation also for long doubles. Test case seems to target old CRAY problems and should probably be disabled for avr targets. #disabled in new .x file. builtin-bitops-1 compilation Test case requires assert.h that is not available in avr-libc # File used to include assert.h but seems actually to never use it. # now the #include assert.h is commented out in the sources. ffs-1 compilation builtin function ffs does not exist. # OK, let's make it a feature and not a bug. I don't expect that # any avr user ever will make use of this built-in function. # marked as xfail for avr in new .x file. ffs-2 compilation builtin function ffs does not exist. # same as ffs-1. new .x file multi-ix compilation compilation with -O0 fails (seems to use the symbol bzero that is defined nowhere). compilation and execution with other optimizer options work (!). Probably a real bug. va-arg-21 compilation test case uses function vprintf that is not available on avr. #added a new .x file excluding avr from the tests. ieee/920810-1 execution test case uses sprintf in an unsupported way. Test should be disabled on avr targets #test marked as xfail. added new .x file. ieee/fp-cmp-1 compilation Test case uses signal.h (probably for catching fp exceptions. Test case should be disabled for avr targets. #test case modified such that it does not include signal.h if # SIGNAL_SUPPRESS is defined. ieee/fp-cmp-2 compilation Test case uses signal.h that is not available for avr. # like fp-cmp-1. ieee/fp-cmp-3 compilation Test case uses signal.h. # like fp-cmp-1. ieee/fp-cmp-8 execution Execution fails. Possibly because avr-sf is not fully IEEE compliant or because double is of SF type? Failure should be investigated. Possibly a real bug in the FP code. ieee/hugeval execution Possibly fails because avr is not fully IEEE compliant. Should be investigated. ieee/inf-1 execution Execution fails with -O0 and -O1. Failure should be investigated. Maybe that the execution is too slow in the simulator. Could, however, also be a real bug! ieee/inf-2 execution Failure should be investigated. Possibly a problem due to absence of full IEEE compliance. ieee/mzero2 execution Failure should be investigated. Possibly a problem due to absence of full IEEE compliance. *** gcc.dg/compat struct-align-1 # skipped for avr by magic comment since it implicitly assumes int to be # 32 bit wide. vector-1, vector-2 # avr does not support machine modes V1DI and V2DI so far. # test marked as xfail. *** gcc.dg/cpp if-2 CPP failure Test case assumes int to be 32 bit which is not true for avr. This should be considered within magic comments if possible. # added magic comment marking this test as xfail. *** gcc.dg/debug After first assuming that unsupported debug formats are tested, I now think that the 54 bugs are *real* bugs. (9 Source files with problems for debug output multiplied by 2x3 different debug options) No need to change anything in order to adapt the test suite in this directory. *** gcc.dg 20040625-1 excess error Test case assumes int to be 32 bit. This should be considered within magic comments if possible. # test marked as xfail. Wpadded Test case assumes that there should be a warning due to alignment of struct component. Since there is no padding present for the avr target, this warning correctly is not generated. This should be considered within magic comments if posible. # marked as "to be skipped " in magic comment. array-quals-1 This test case looks for a read-only section. The read-only section for avr, however, has a different name (i.e. not .ro). This should be considered within the magic comments. # marked as "to be skipped" in magic comment. bitfld-3 Test case tests alignment and is, thus, not relevant for avr. Test should be disabled by magic comments. # marked as unsupported in magic comment. builtin-return-1 Don't know whether to consider this to be a bug or not. The builtin-return feature seems not to be available on avr.? #marked as xfail builtins-18 Test case uses complex objects that are not available on avr. Test case should probably be disabled by magic comments. #avr marked as skip builtins-20 The tested builtin functions do not exist for avr targets. Test case should be disabled by magic comments. #avr marked as xfail const-elim-1 Test also is xfail for arm-*-*, etc. avr also should be marked as xfail. #avr marked as xfail. ftrapv-1 avr does not support overflow-trapping. avr targets should be excluded by magic comments. #avr marked as xfail. i386-sse-8 should be excluded for *all* NON-i386 targets. loop-3 should be excluded for *all* NON-i386 targets. section1 section names are different for avr targets Test should be disabled by magic comment. trampoline-1 trampoline-1 should check whether NO_TRAMPOLINES is defined. typeof-1 Don't know whether to consider this as failure. We probably should exclude it from avr testing since alias definitions are not supported by avr. ultrasp4 Test should be disabled for all targets except ultrasp4. #test is skipped now. wchar_t-1 wchar.h is not available for avr. Test should be excluded. #test skipped now. wtr-conversion-1 The required warnings *are* issued also for avr, but they are a bit different since float and double are the same for avr targets. Magic comments should be adapted. #test marked as xfail *** gcc.dg/torture/ builtin-explog-1 Constant promotion for exp and log for avr floating point seem not to work. A missing compiler feature. nested-fn-1 Seems to use trampolines that are not supported by avr. Test should be disabled for avr. # we should document that avr does not support nested functions since # they would require trampolines. Test marked as xfail. *** gcc.dg/pch Since there is no profiling we should skip the entire directory. If I have seen correctly, there is a possibility to do this within the gcc/testsuite/lib/ scripts. # incorporated change in the testsuite drivers in order to skip this # entire directory in case that # target_info gcc,no_pch_tests # has been defined in the target board description file. *** gcc.dg/weak typeof-2 seems to use __asm statements for changing the name of functions. We already had a similar test in gcc.dg that failed as well. In my opinion this is rather a missing feature than a bug. Test should be disabled for avr. # marked as XFAIL. weak-3 There are no alias definitions for avr. Test should be disabled for avr. weak-5 There are no alias definitions for avr. Test should be disabled. weak-9 There are no alias definitions for avr. Test should be disabled. #marked to be skipped. BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB LAST_UPDATED: Target is avr-unknown-none Host is i686-pc-linux-gnu === gcc tests === Running target atmega128-sim FAIL: gcc.c-torture/compile/20020710-1.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/20020710-1.c -O1 (test for excess errors) FAIL: gcc.c-torture/compile/20020710-1.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/20020710-1.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.c-torture/compile/20020710-1.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/20020710-1.c -Os (test for excess errors) FAIL: gcc.c-torture/compile/20021119-1.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/20021123-4.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/20030224-1.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/20030224-1.c -O1 (test for excess errors) FAIL: gcc.c-torture/compile/20030224-1.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/20030224-1.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.c-torture/compile/20030224-1.c -O3 -fomit-frame-pointer -funroll-loops (test for excess errors) FAIL: gcc.c-torture/compile/20030224-1.c -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (test for excess errors) FAIL: gcc.c-torture/compile/20030224-1.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/20030224-1.c -Os (test for excess errors) FAIL: gcc.c-torture/compile/900116-1.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.c-torture/compile/900116-1.c -O3 -fomit-frame-pointer -funroll-loops (test for excess errors) FAIL: gcc.c-torture/compile/900116-1.c -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (test for excess errors) FAIL: gcc.c-torture/compile/900116-1.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/920626-1.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/920626-1.c -O1 (test for excess errors) FAIL: gcc.c-torture/compile/920626-1.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/920626-1.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.c-torture/compile/920626-1.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/920626-1.c -Os (test for excess errors) FAIL: gcc.c-torture/compile/920702-1.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/930621-1.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.c-torture/compile/930621-1.c -O3 -fomit-frame-pointer -funroll-loops (test for excess errors) FAIL: gcc.c-torture/compile/930621-1.c -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (test for excess errors) FAIL: gcc.c-torture/compile/930621-1.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/execute/20010122-1.c execution, -O1 FAIL: gcc.c-torture/execute/20010122-1.c execution, -O2 FAIL: gcc.c-torture/execute/20010122-1.c execution, -O3 -g FAIL: gcc.c-torture/execute/20010122-1.c execution, -Os UNRESOLVED: gcc.c-torture/execute/20020720-1.c execution, -O1 UNRESOLVED: gcc.c-torture/execute/20020720-1.c execution, -O2 UNRESOLVED: gcc.c-torture/execute/20020720-1.c execution, -O3 -fomit-frame-pointer UNRESOLVED: gcc.c-torture/execute/20020720-1.c execution, -O3 -g UNRESOLVED: gcc.c-torture/execute/20020720-1.c execution, -Os FAIL: gcc.c-torture/execute/930608-1.c compilation, -O3 -fomit-frame-pointer UNRESOLVED: gcc.c-torture/execute/930608-1.c execution, -O3 -fomit-frame-pointer FAIL: gcc.c-torture/execute/930608-1.c compilation, -O3 -g UNRESOLVED: gcc.c-torture/execute/930608-1.c execution, -O3 -g FAIL: gcc.c-torture/execute/builtin-bitops-1.c compilation, -O0 UNRESOLVED: gcc.c-torture/execute/builtin-bitops-1.c execution, -O0 FAIL: gcc.c-torture/execute/builtin-bitops-1.c compilation, -O1 UNRESOLVED: gcc.c-torture/execute/builtin-bitops-1.c execution, -O1 FAIL: gcc.c-torture/execute/builtin-bitops-1.c compilation, -O2 UNRESOLVED: gcc.c-torture/execute/builtin-bitops-1.c execution, -O2 FAIL: gcc.c-torture/execute/builtin-bitops-1.c compilation, -O3 -fomit-frame-pointer UNRESOLVED: gcc.c-torture/execute/builtin-bitops-1.c execution, -O3 -fomit-frame-pointer FAIL: gcc.c-torture/execute/builtin-bitops-1.c compilation, -O3 -fomit-frame-pointer -funroll-loops UNRESOLVED: gcc.c-torture/execute/builtin-bitops-1.c execution, -O3 -fomit-frame-pointer -funroll-loops FAIL: gcc.c-torture/execute/builtin-bitops-1.c compilation, -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions UNRESOLVED: gcc.c-torture/execute/builtin-bitops-1.c execution, -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions FAIL: gcc.c-torture/execute/builtin-bitops-1.c compilation, -O3 -g UNRESOLVED: gcc.c-torture/execute/builtin-bitops-1.c execution, -O3 -g FAIL: gcc.c-torture/execute/builtin-bitops-1.c compilation, -Os UNRESOLVED: gcc.c-torture/execute/builtin-bitops-1.c execution, -Os FAIL: gcc.c-torture/execute/multi-ix.c compilation, -O0 UNRESOLVED: gcc.c-torture/execute/multi-ix.c execution, -O0 FAIL: gcc.c-torture/execute/string-opt-11.c compilation, -O0 UNRESOLVED: gcc.c-torture/execute/string-opt-11.c execution, -O0 FAIL: gcc.c-torture/execute/string-opt-12.c compilation, -O0 UNRESOLVED: gcc.c-torture/execute/string-opt-12.c execution, -O0 FAIL: gcc.c-torture/execute/string-opt-2.c compilation, -O0 UNRESOLVED: gcc.c-torture/execute/string-opt-2.c execution, -O0 FAIL: gcc.c-torture/execute/ieee/fp-cmp-8.c execution, -O0 FAIL: gcc.c-torture/execute/ieee/fp-cmp-8.c execution, -O1 FAIL: gcc.c-torture/execute/ieee/fp-cmp-8.c execution, -O2 FAIL: gcc.c-torture/execute/ieee/fp-cmp-8.c execution, -O3 -fomit-frame-pointer FAIL: gcc.c-torture/execute/ieee/fp-cmp-8.c execution, -O3 -fomit-frame-pointer -funroll-loops FAIL: gcc.c-torture/execute/ieee/fp-cmp-8.c execution, -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions FAIL: gcc.c-torture/execute/ieee/fp-cmp-8.c execution, -O3 -g FAIL: gcc.c-torture/execute/ieee/fp-cmp-8.c execution, -Os FAIL: gcc.c-torture/execute/ieee/hugeval.c execution, -O0 FAIL: gcc.c-torture/execute/ieee/hugeval.c execution, -O1 FAIL: gcc.c-torture/execute/ieee/hugeval.c execution, -O2 FAIL: gcc.c-torture/execute/ieee/hugeval.c execution, -O3 -fomit-frame-pointer FAIL: gcc.c-torture/execute/ieee/hugeval.c execution, -O3 -g FAIL: gcc.c-torture/execute/ieee/hugeval.c execution, -Os FAIL: gcc.c-torture/execute/ieee/inf-1.c execution, -O0 FAIL: gcc.c-torture/execute/ieee/inf-1.c execution, -O1 FAIL: gcc.c-torture/execute/ieee/inf-2.c execution, -O0 FAIL: gcc.c-torture/execute/ieee/inf-2.c execution, -O1 FAIL: gcc.c-torture/execute/ieee/inf-2.c execution, -O2 FAIL: gcc.c-torture/execute/ieee/inf-2.c execution, -O3 -fomit-frame-pointer FAIL: gcc.c-torture/execute/ieee/inf-2.c execution, -O3 -g FAIL: gcc.c-torture/execute/ieee/inf-2.c execution, -Os FAIL: gcc.c-torture/execute/ieee/minuszero.c execution, -O0 FAIL: gcc.c-torture/execute/ieee/mzero2.c execution, -O0 FAIL: gcc.c-torture/execute/ieee/mzero2.c execution, -O1 FAIL: gcc.c-torture/execute/ieee/mzero2.c execution, -O2 FAIL: gcc.c-torture/execute/ieee/mzero2.c execution, -O3 -fomit-frame-pointer FAIL: gcc.c-torture/execute/ieee/mzero2.c execution, -O3 -g FAIL: gcc.c-torture/execute/ieee/mzero2.c execution, -Os FAIL: gcc.dg/compat/scalar-by-value-1 c_compat_x_tst.o-c_compat_y_tst.o execute FAIL: gcc.dg/compat/scalar-by-value-3 c_compat_x_tst.o-c_compat_y_tst.o execute FAIL: gcc.dg/compat/scalar-return-1 c_compat_x_tst.o-c_compat_y_tst.o execute FAIL: gcc.dg/compat/scalar-return-3 c_compat_x_tst.o-c_compat_y_tst.o execute WARNING: compat.exp does not support dg-do FAIL: gcc.dg/compat/struct-align-1 c_compat_x_tst.o compile UNRESOLVED: gcc.dg/compat/struct-by-value-11 c_compat_x_tst.o-c_compat_y_tst.o execute UNRESOLVED: gcc.dg/compat/struct-by-value-12 c_compat_x_tst.o-c_compat_y_tst.o execute UNRESOLVED: gcc.dg/compat/struct-by-value-13 c_compat_x_tst.o-c_compat_y_tst.o execute UNRESOLVED: gcc.dg/compat/struct-by-value-14 c_compat_x_tst.o-c_compat_y_tst.o execute UNRESOLVED: gcc.dg/compat/struct-by-value-15 c_compat_x_tst.o-c_compat_y_tst.o execute UNRESOLVED: gcc.dg/compat/struct-by-value-16 c_compat_x_tst.o-c_compat_y_tst.o execute UNRESOLVED: gcc.dg/compat/struct-by-value-17 c_compat_x_tst.o-c_compat_y_tst.o execute UNRESOLVED: gcc.dg/compat/struct-by-value-18 c_compat_x_tst.o-c_compat_y_tst.o execute UNRESOLVED: gcc.dg/compat/struct-by-value-2 c_compat_x_tst.o-c_compat_y_tst.o execute UNRESOLVED: gcc.dg/compat/struct-by-value-4 c_compat_x_tst.o-c_compat_y_tst.o execute FAIL: gcc.dg/compat/vector-1 c_compat_y_tst.o compile UNRESOLVED: gcc.dg/compat/vector-1 c_compat_x_tst.o-c_compat_y_tst.o link UNRESOLVED: gcc.dg/compat/vector-1 c_compat_x_tst.o-c_compat_y_tst.o execute FAIL: gcc.dg/compat/vector-2 c_compat_y_tst.o compile UNRESOLVED: gcc.dg/compat/vector-2 c_compat_x_tst.o-c_compat_y_tst.o link UNRESOLVED: gcc.dg/compat/vector-2 c_compat_x_tst.o-c_compat_y_tst.o execute XPASS: gcc.dg/cpp/if-2.c basic charconst recognition (test for bogus messages, line 5) FAIL: gcc.dg/cpp/if-2.c multi-character charconst (test for warnings, line 20) FAIL: gcc.dg/cpp/if-2.c (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs1 (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs1 -O (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs1 -O3 (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs -O (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs -O3 (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs3 (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs3 -O (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs3 -O3 (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs+1 (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs+1 -O (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs+1 -O3 (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs+ (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs+ -O (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs+ -O3 (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs+3 (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs+3 -O (test for excess errors) FAIL: gcc.dg/debug/20020327-1.c -gstabs+3 -O3 (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs1 (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs1 -O (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs1 -O3 (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs -O (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs -O3 (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs3 (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs3 -O (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs3 -O3 (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs+1 (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs+1 -O (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs+1 -O3 (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs+ (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs+ -O (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs+ -O3 (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs+3 (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs+3 -O (test for excess errors) FAIL: gcc.dg/debug/debug-3.c -gstabs+3 -O3 (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs1 (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs1 -O (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs1 -O3 (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs -O (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs -O3 (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs3 (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs3 -O (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs3 -O3 (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs+1 (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs+1 -O (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs+1 -O3 (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs+ (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs+ -O (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs+ -O3 (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs+3 (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs+3 -O (test for excess errors) FAIL: gcc.dg/debug/debug-5.c -gstabs+3 -O3 (test for excess errors) WARNING: gcc.dg/builtin-return-1.c compilation failed to produce executable XPASS: gcc.dg/c99-flex-array-4.c sizeof != offsetof (test for bogus messages, line 24) WARNING: gcc.dg/ftrapv-1.c compilation failed to produce executable XPASS: gcc.dg/sibcall-3.c execution test XPASS: gcc.dg/sibcall-4.c execution test FAIL: gcc.dg/typeof-1.c scan-assembler-not foo UNRESOLVED: gcc.dg/special/20000419-2.c UNRESOLVED: gcc.dg/special/alias-1.c UNRESOLVED: gcc.dg/special/alias-2.c UNRESOLVED: gcc.dg/special/wkali-1.c UNRESOLVED: gcc.dg/special/wkali-2.c FAIL: gcc.dg/torture/builtin-explog-1.c -O0 (test for excess errors) FAIL: gcc.dg/torture/builtin-explog-1.c -O1 (test for excess errors) FAIL: gcc.dg/torture/builtin-explog-1.c -O2 (test for excess errors) FAIL: gcc.dg/torture/builtin-explog-1.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.dg/torture/builtin-explog-1.c -O3 -g (test for excess errors) FAIL: gcc.dg/torture/builtin-explog-1.c -Os (test for excess errors) ERROR: gcc.dg/torture/nested-fn-1.c -O0 : error executing dg-final: couldn't open "nested-fn-1.s": no such file or directory UNRESOLVED: gcc.dg/torture/nested-fn-1.c -O0 : error executing dg-final: couldn't open "nested-fn-1.s": no such file or directory ERROR: gcc.dg/torture/nested-fn-1.c -O1 : error executing dg-final: couldn't open "nested-fn-1.s": no such file or directory UNRESOLVED: gcc.dg/torture/nested-fn-1.c -O1 : error executing dg-final: couldn't open "nested-fn-1.s": no such file or directory ERROR: gcc.dg/torture/nested-fn-1.c -O2 : error executing dg-final: couldn't open "nested-fn-1.s": no such file or directory UNRESOLVED: gcc.dg/torture/nested-fn-1.c -O2 : error executing dg-final: couldn't open "nested-fn-1.s": no such file or directory ERROR: gcc.dg/torture/nested-fn-1.c -O3 -fomit-frame-pointer : error executing dg-final: couldn't open "nested-fn-1.s": no such file or directory UNRESOLVED: gcc.dg/torture/nested-fn-1.c -O3 -fomit-frame-pointer : error executing dg-final: couldn't open "nested-fn-1.s": no such file or directory ERROR: gcc.dg/torture/nested-fn-1.c -O3 -g : error executing dg-final: couldn't open "nested-fn-1.s": no such file or directory UNRESOLVED: gcc.dg/torture/nested-fn-1.c -O3 -g : error executing dg-final: couldn't open "nested-fn-1.s": no such file or directory ERROR: gcc.dg/torture/nested-fn-1.c -Os : error executing dg-final: couldn't open "nested-fn-1.s": no such file or directory UNRESOLVED: gcc.dg/torture/nested-fn-1.c -Os : error executing dg-final: couldn't open "nested-fn-1.s": no such file or directory === gcc Summary === # of expected passes 22485 # of unexpected failures 148 # of unexpected successes 4 # of expected failures 111 # of unresolved testcases 44 # of untested testcases 17 # of unsupported tests 991 /home/bmh/gnucvs/ngcc343/build/gcc/xgcc version 3.4.3 Compiler version: 3.4.3 gcc Platform: avr-unknown-none configure flags: --target=avr --prefix=/home/bmh --enable-languages=c --disable-nls
Attachment:
avr-testsuite-howto-collection.tar.bz2
Description: application/tbz
*** /home/bmh/dg/dejagnu-1.4.4/lib/dg.exp 2003-08-23 07:57:48.000000000 +0200 --- ./dg.exp 2005-01-05 00:30:28.000000000 +0100 *************** *** 35,41 **** # dg-options "options ..." [{ target selector }] # specify special options to pass to the tool (eg: compiler) # ! # dg-do do-what-keyword [{ target/xfail selector }] # `do-what-keyword' is tool specific and is passed unchanged to # ${tool}-dg-test. An example is gcc where `keyword' can be any of: # preprocess|compile|assemble|link|run --- 35,41 ---- # dg-options "options ..." [{ target selector }] # specify special options to pass to the tool (eg: compiler) # ! # dg-do do-what-keyword [{ target/xfail/skip selector }] # `do-what-keyword' is tool specific and is passed unchanged to # ${tool}-dg-test. An example is gcc where `keyword' can be any of: # preprocess|compile|assemble|link|run *************** *** 205,216 **** # # Process optional xfail/target arguments # ! # SELECTOR is "xfail target-triplet-1 ..." or "target target-triplet-1 ..." ! # `target-triplet' may be "native". # For xfail, the result is "F" (expected to Fail) if the current target is # affected, otherwise "P" (expected to Pass). # For target, the result is "S" (target is Selected) if the target is selected, ! # otherwise "N" (target is Not selected). # proc dg-process-target { selector } { global target_triplet --- 205,218 ---- # # Process optional xfail/target arguments # ! # SELECTOR is "xfail target-triplet-1 ...", "skip target-triplet-1 ..." ! # or "target target-triplet-1 ..." . `target-triplet' may be "native". # For xfail, the result is "F" (expected to Fail) if the current target is # affected, otherwise "P" (expected to Pass). + # For skip, the result is "N" (unsupported test) if the current target is affected. + # otherwise "P" (expected to Pass). # For target, the result is "S" (target is Selected) if the target is selected, ! # otherwise "N" (target is not selected). # proc dg-process-target { selector } { global target_triplet *************** *** 223,228 **** --- 225,232 ---- set selector [string trim $selector] if [regexp "^xfail " $selector] { set what xfail + } elseif [regexp "^skip " $selector] { + set what skip } elseif [regexp "^target " $selector] { set what target } else { *************** *** 248,256 **** } if { $triplet_match } { ! return [expr { $what == "xfail" ? "F" : "S" }] } else { ! return [expr { $what == "xfail" ? "P" : "N" }] } } --- 252,272 ---- } if { $triplet_match } { ! if {$what == "xfail"} { ! return "F" ! } elseif {$what == "skip"} { ! return "N" ! } else { ! return "S" ! } } else { ! if {$what == "xfail"} { ! return "P" ! } elseif {$what == "skip"} { ! return "P" ! } else { ! return "N" ! } } } *************** *** 707,712 **** --- 723,729 ---- # If we're not supposed to try this test on this target, we're done. if { [lindex ${dg-do-what} 1] == "N" } { + # puts ${dg-do-what} unsupported "$name" verbose "$name not supported on this target, skipping it" 3 return *************** *** 820,827 **** setup_xfail "*-*-*" } if ![string match "" $comp_output] { ! fail "$name (test for excess errors)" ! send_log "Excess errors:\n$comp_output\n" } else { pass "$name (test for excess errors)" } --- 837,850 ---- setup_xfail "*-*-*" } if ![string match "" $comp_output] { ! if {[lindex ${dg-do-what} 2] == "F"} { ! #puts ${dg-do-what} ! xfail "$name (test for excess errors)" ! } else { ! #puts ${dg-do-what} ! fail "$name (test for excess errors)" ! send_log "Excess errors:\n$comp_output\n" ! } } else { pass "$name (test for excess errors)" }
Index: lib/dg-pch.exp =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/lib/dg-pch.exp,v retrieving revision 1.4 diff -c -r1.4 dg-pch.exp *** lib/dg-pch.exp 20 Aug 2003 04:04:47 -0000 1.4 --- lib/dg-pch.exp 5 Jan 2005 13:54:03 -0000 *************** *** 18,23 **** --- 18,27 ---- proc dg-pch { subdir test options suffix } { global runtests dg-do-what-default + if [target_info exists gcc,no_pch_tests ] { + return 0; + } + # If we're only testing specific files and this isn't one of them, skip it. if ![runtest_file_p $runtests $test] { Index: lib/target-supports.exp =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/lib/target-supports.exp,v retrieving revision 1.9.4.5 diff -c -r1.9.4.5 target-supports.exp *** lib/target-supports.exp 23 Aug 2004 18:03:13 -0000 1.9.4.5 --- lib/target-supports.exp 5 Jan 2005 13:54:11 -0000 *************** *** 198,203 **** --- 198,204 ---- # missing other needed machinery. if { [istarget mmix-*-*] || [istarget arm*-*-elf] + || [istarget avr*-*] || [istarget strongarm*-*-elf] || [istarget xscale*-*-elf] || [istarget cris-*-*] Index: gcc.c-torture/compile/20001212-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/20001212-1.c,v retrieving revision 1.1 diff -c -r1.1 20001212-1.c *** gcc.c-torture/compile/20001212-1.c 13 Jan 2001 21:35:00 -0000 1.1 --- gcc.c-torture/compile/20001212-1.c 5 Jan 2005 13:54:13 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* { dg-do assemble { skip avr-*-* } } */ typedef struct { long double l; Index: gcc.c-torture/compile/20010226-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/20010226-1.c,v retrieving revision 1.1 diff -c -r1.1 20010226-1.c *** gcc.c-torture/compile/20010226-1.c 9 Jan 2002 21:34:30 -0000 1.1 --- gcc.c-torture/compile/20010226-1.c 5 Jan 2005 13:54:14 -0000 *************** *** 11,21 **** --- 11,25 ---- } if (b) { + #ifndef NO_TRAMPOLINES void bar (void *c) { if (c == a) f2 (c); } + #else + extern void bar (void *c); + #endif f3 (a, bar); } return 0; Index: gcc.c-torture/compile/20010327-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/20010327-1.c,v retrieving revision 1.5 diff -c -r1.5 20010327-1.c *** gcc.c-torture/compile/20010327-1.c 3 Mar 2003 19:02:28 -0000 1.5 --- gcc.c-torture/compile/20010327-1.c 5 Jan 2005 13:54:14 -0000 *************** *** 5,9 **** --- 5,11 ---- Some rare environments might not have the required relocs to support this; they should have this test disabled in the .x file. */ + /* { dg-do assemble { xfail avr-*-* } } */ + extern void _text; static unsigned long x = (unsigned long) &_text - 0x10000000L - 1; Index: gcc.c-torture/compile/20010605-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/20010605-1.c,v retrieving revision 1.2 diff -c -r1.2 20010605-1.c *** gcc.c-torture/compile/20010605-1.c 5 Jun 2001 06:51:02 -0000 1.2 --- gcc.c-torture/compile/20010605-1.c 5 Jan 2005 13:54:15 -0000 *************** *** 1,3 **** --- 1,5 ---- + /* { dg-do assemble { xfail avr-*-* } } */ + int main (int argc, char **argv) { Index: gcc.c-torture/compile/20020604-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/20020604-1.c,v retrieving revision 1.4 diff -c -r1.4 20020604-1.c *** gcc.c-torture/compile/20020604-1.c 23 Dec 2003 20:36:59 -0000 1.4 --- gcc.c-torture/compile/20020604-1.c 5 Jan 2005 13:54:18 -0000 *************** *** 1,6 **** /* The array is too big. */ /* { dg-xfail-if "The array too big" { "h8300-*-*" } { "-mno-h" "-mn" } { "" } } */ ! /* { dg-do assemble { xfail m6811-*-* m6812-*-* } } */ /* PR c/6957 This testcase ICEd at -O2 on IA-32, because --- 1,6 ---- /* The array is too big. */ /* { dg-xfail-if "The array too big" { "h8300-*-*" } { "-mno-h" "-mn" } { "" } } */ ! /* { dg-do assemble { xfail m6811-*-* m6812-*-* avr-*-* } } */ /* PR c/6957 This testcase ICEd at -O2 on IA-32, because Index: gcc.c-torture/compile/20040130-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/20040130-1.c,v retrieving revision 1.1.2.1 diff -c -r1.1.2.1 20040130-1.c *** gcc.c-torture/compile/20040130-1.c 30 Jan 2004 07:07:30 -0000 1.1.2.1 --- gcc.c-torture/compile/20040130-1.c 5 Jan 2005 13:54:20 -0000 *************** *** 7,12 **** --- 7,13 ---- struct { + #if ( __INT_MAX__ > 32768 ) unsigned char G936:7; unsigned short G937:6; unsigned int :4; *************** *** 16,21 **** --- 17,33 ---- unsigned short :16; unsigned int :18; unsigned short G939:9; + #else + unsigned char G936:7; + unsigned short G937:6; + unsigned int :4; + unsigned int :14; + unsigned int G938:8; + unsigned long int :30; + unsigned int :16; + unsigned long int :18; + unsigned int G939:9; + #endif } G928b; void TestG928(void) Index: gcc.c-torture/compile/930621-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/930621-1.c,v retrieving revision 1.3 diff -c -r1.3 930621-1.c *** gcc.c-torture/compile/930621-1.c 21 May 2001 12:20:51 -0000 1.3 --- gcc.c-torture/compile/930621-1.c 5 Jan 2005 13:54:28 -0000 *************** *** 2,7 **** --- 2,11 ---- # define BYTEMEM_SIZE 10000L #endif + #if defined(STACK_SIZE) && (STACK_SIZE < 2048) + # define BYTEMEM_SIZE 1000L + #endif + #ifndef BYTEMEM_SIZE # define BYTEMEM_SIZE 45000L #endif Index: gcc.c-torture/compile/961203-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/961203-1.c,v retrieving revision 1.5 diff -c -r1.5 961203-1.c *** gcc.c-torture/compile/961203-1.c 23 Dec 2003 20:36:59 -0000 1.5 --- gcc.c-torture/compile/961203-1.c 5 Jan 2005 13:54:28 -0000 *************** *** 1,7 **** /* The structure is too large for the xstormy16 - won't fit in 16 bits. */ /* { dg-xfail-if "The array too big" { "h8300-*-*" } { "-mno-h" "-mn" } { "" } } */ ! /* { dg-do assemble { xfail xstormy16-*-* m6811-*-* m6812-*-* } } */ struct s { char a[0x32100000]; --- 1,7 ---- /* The structure is too large for the xstormy16 - won't fit in 16 bits. */ /* { dg-xfail-if "The array too big" { "h8300-*-*" } { "-mno-h" "-mn" } { "" } } */ ! /* { dg-do assemble { skip avr-*-* xstormy16-*-* m6811-*-* m6812-*-* } } */ struct s { char a[0x32100000]; Index: gcc.c-torture/compile/980506-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/980506-1.c,v retrieving revision 1.5 diff -c -r1.5 980506-1.c *** gcc.c-torture/compile/980506-1.c 23 Dec 2003 20:36:59 -0000 1.5 --- gcc.c-torture/compile/980506-1.c 5 Jan 2005 13:54:28 -0000 *************** *** 1,6 **** /* The arrays are too large for the xstormy16 - won't fit in 16 bits. */ /* { dg-xfail-if "The array too big" { "h8300-*-*" } { "-mno-h" "-mn" } { "" } } */ ! /* { dg-do assemble { xfail xstormy16-*-* m6811-*-* m6812-*-* } } */ unsigned char TIFFFax2DMode[20][256]; unsigned char TIFFFax2DNextState[20][256]; --- 1,6 ---- /* The arrays are too large for the xstormy16 - won't fit in 16 bits. */ /* { dg-xfail-if "The array too big" { "h8300-*-*" } { "-mno-h" "-mn" } { "" } } */ ! /* { dg-do assemble { skip avr-*-* xstormy16-*-* m6811-*-* m6812-*-* } } */ unsigned char TIFFFax2DMode[20][256]; unsigned char TIFFFax2DNextState[20][256]; Index: gcc.c-torture/execute/20020720-1.x =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20020720-1.x,v retrieving revision 1.12.6.1 diff -c -r1.12.6.1 20020720-1.x *** gcc.c-torture/execute/20020720-1.x 16 Feb 2004 18:10:11 -0000 1.12.6.1 --- gcc.c-torture/execute/20020720-1.x 5 Jan 2005 13:54:39 -0000 *************** *** 28,34 **** global compiler_conditional_xfail_data set compiler_conditional_xfail_data { "This test fails to optimize completely on certain platforms." \ ! { "xtensa-*-*" "sh-*-*" "arm*-*-*" "strongarm*-*-*" "xscale*-*-*" \ "h8300*-*-*" "cris-*-*" "frv-*-*" } \ { "*" } \ { "-O0" } --- 28,34 ---- global compiler_conditional_xfail_data set compiler_conditional_xfail_data { "This test fails to optimize completely on certain platforms." \ ! { "avr-*-*" "xtensa-*-*" "sh-*-*" "arm*-*-*" "strongarm*-*-*" "xscale*-*-*" \ "h8300*-*-*" "cris-*-*" "frv-*-*" } \ { "*" } \ { "-O0" } Index: gcc.c-torture/execute/20040331-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20040331-1.c,v retrieving revision 1.1.2.1 diff -c -r1.1.2.1 20040331-1.c *** gcc.c-torture/execute/20040331-1.c 1 Apr 2004 16:09:15 -0000 1.1.2.1 --- gcc.c-torture/execute/20040331-1.c 5 Jan 2005 13:54:42 -0000 *************** *** 5,11 **** int main (void) { ! struct { int count: 31; } s = { 0 }; while (s.count--) abort (); exit (0); --- 5,15 ---- int main (void) { ! #if ( __INT_MAX__ > 32768 ) ! struct { int count: 31;} s = { 0 }; ! #else ! struct { int count: 15;} s = { 0 }; ! #endif while (s.count--) abort (); exit (0); Index: gcc.c-torture/execute/920501-8.x =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/920501-8.x,v retrieving revision 1.1 diff -c -r1.1 920501-8.x *** gcc.c-torture/execute/920501-8.x 11 Jun 2001 22:26:58 -0000 1.1 --- gcc.c-torture/execute/920501-8.x 5 Jan 2005 13:54:42 -0000 *************** *** 1,5 **** # sprintf() does not support %f on m6811/m6812 target. ! if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"]} { return 1 } return 0 --- 1,5 ---- # sprintf() does not support %f on m6811/m6812 target. ! if { [istarget "avr-*-*"] || [istarget "m6811-*-*"] || [istarget "m6812-*-*"]} { return 1 } return 0 Index: gcc.c-torture/execute/930513-1.x =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/930513-1.x,v retrieving revision 1.1 diff -c -r1.1 930513-1.x *** gcc.c-torture/execute/930513-1.x 11 Jun 2001 22:26:58 -0000 1.1 --- gcc.c-torture/execute/930513-1.x 5 Jan 2005 13:54:44 -0000 *************** *** 1,5 **** # sprintf() does not support %f on m6811/m6812 target. ! if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"]} { return 1 } return 0 --- 1,5 ---- # sprintf() does not support %f on m6811/m6812 target. ! if { [istarget "avr-*-*"] || [istarget "m6811-*-*"] || [istarget "m6812-*-*"]} { return 1 } return 0 Index: gcc.c-torture/execute/960405-1.x =================================================================== RCS file: gcc.c-torture/execute/960405-1.x diff -N gcc.c-torture/execute/960405-1.x *** /dev/null 1 Jan 1970 00:00:00 -0000 --- gcc.c-torture/execute/960405-1.x 5 Jan 2005 13:54:46 -0000 *************** *** 0 **** --- 1,5 ---- + # avr does not support long doubles. + if { [istarget "avr-*-*"] } { + return 1 + } + return 0 Index: gcc.c-torture/execute/builtin-bitops-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtin-bitops-1.c,v retrieving revision 1.2 diff -c -r1.2 builtin-bitops-1.c *** gcc.c-torture/execute/builtin-bitops-1.c 9 Feb 2003 13:09:45 -0000 1.2 --- gcc.c-torture/execute/builtin-bitops-1.c 5 Jan 2005 13:54:53 -0000 *************** *** 1,5 **** --- 1,7 ---- #include <limits.h> + /* File includes assert.h but does not acctually use it #include <assert.h> + */ #if __INT_MAX__ > 2147483647L # if __INT_MAX__ >= 9223372036854775807L Index: gcc.c-torture/execute/ffs-1.x =================================================================== RCS file: gcc.c-torture/execute/ffs-1.x diff -N gcc.c-torture/execute/ffs-1.x *** /dev/null 1 Jan 1970 00:00:00 -0000 --- gcc.c-torture/execute/ffs-1.x 5 Jan 2005 13:54:56 -0000 *************** *** 0 **** --- 1,4 ---- + if { [istarget "avr-*-*"] } { + return 1 + } + return 0 Index: gcc.c-torture/execute/ffs-2.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/ffs-2.c,v retrieving revision 1.1 diff -c -r1.1 ffs-2.c *** gcc.c-torture/execute/ffs-2.c 30 Sep 2002 21:43:01 -0000 1.1 --- gcc.c-torture/execute/ffs-2.c 5 Jan 2005 13:54:56 -0000 *************** *** 1,3 **** --- 1,5 ---- + /* { dg-do run { xfail avr-*-* } } */ + struct { int input; Index: gcc.c-torture/execute/ffs-2.x =================================================================== RCS file: gcc.c-torture/execute/ffs-2.x diff -N gcc.c-torture/execute/ffs-2.x *** /dev/null 1 Jan 1970 00:00:00 -0000 --- gcc.c-torture/execute/ffs-2.x 5 Jan 2005 13:54:56 -0000 *************** *** 0 **** --- 1,4 ---- + if { [istarget "avr-*-*"] } { + return 1 + } + return 0 Index: gcc.c-torture/execute/va-arg-21.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-21.c,v retrieving revision 1.2 diff -c -r1.2 va-arg-21.c *** gcc.c-torture/execute/va-arg-21.c 14 Dec 2000 15:31:26 -0000 1.2 --- gcc.c-torture/execute/va-arg-21.c 5 Jan 2005 13:55:04 -0000 *************** *** 5,10 **** --- 5,12 ---- Written by Kaveh R. Ghazi, 10/31/2000. */ + /* { dg-do run { xfail avr-*-* } } */ + #include <stdarg.h> #include <stdio.h> #include <stdlib.h> Index: gcc.c-torture/execute/va-arg-21.x =================================================================== RCS file: gcc.c-torture/execute/va-arg-21.x diff -N gcc.c-torture/execute/va-arg-21.x *** /dev/null 1 Jan 1970 00:00:00 -0000 --- gcc.c-torture/execute/va-arg-21.x 5 Jan 2005 13:55:04 -0000 *************** *** 0 **** --- 1,4 ---- + if { [istarget "avr-*-*"] } { + return 1 + } + return 0 Index: gcc.c-torture/execute/ieee/920810-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/920810-1.c,v retrieving revision 1.2 diff -c -r1.2 920810-1.c *** gcc.c-torture/execute/ieee/920810-1.c 16 Dec 1998 22:16:42 -0000 1.2 --- gcc.c-torture/execute/ieee/920810-1.c 5 Jan 2005 13:55:07 -0000 *************** *** 1,3 **** #include <stdio.h> ! double normalize(x)double x;{if(x==0)x=0;return x;} ! main(){char b[9];sprintf(b,"%g",normalize(-0.0));if(strcmp(b,"0"))abort();exit(0);} --- 1,13 ---- #include <stdio.h> ! double normalize(x) ! double x; ! { if(x==0)x=0; ! return x; ! } ! main() ! {char b[9]; ! sprintf(b,"%g",normalize(-0.0)); ! if(strcmp(b,"0")) ! abort(); ! exit(0); ! } Index: gcc.c-torture/execute/ieee/920810-1.x =================================================================== RCS file: gcc.c-torture/execute/ieee/920810-1.x diff -N gcc.c-torture/execute/ieee/920810-1.x *** /dev/null 1 Jan 1970 00:00:00 -0000 --- gcc.c-torture/execute/ieee/920810-1.x 5 Jan 2005 13:55:07 -0000 *************** *** 0 **** --- 1,4 ---- + if { [istarget "avr-*-*"] } { + return 1 + } + return 0 Index: gcc.c-torture/execute/ieee/fp-cmp-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-1.c,v retrieving revision 1.4 diff -c -r1.4 fp-cmp-1.c *** gcc.c-torture/execute/ieee/fp-cmp-1.c 2 Apr 2001 23:05:14 -0000 1.4 --- gcc.c-torture/execute/ieee/fp-cmp-1.c 5 Jan 2005 13:55:07 -0000 *************** *** 1,5 **** --- 1,9 ---- + #ifndef SIGNAL_SUPPRESS + #include <signal.h> + #endif + double dnan = 1.0/0.0 - 1.0/0.0; double x = 1.0; Index: gcc.c-torture/execute/ieee/fp-cmp-2.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-2.c,v retrieving revision 1.3 diff -c -r1.3 fp-cmp-2.c *** gcc.c-torture/execute/ieee/fp-cmp-2.c 2 Apr 2001 23:05:14 -0000 1.3 --- gcc.c-torture/execute/ieee/fp-cmp-2.c 5 Jan 2005 13:55:07 -0000 *************** *** 1,4 **** --- 1,6 ---- + #ifndef SIGNAL_SUPPRESS #include <signal.h> + #endif float fnan = 1.0f/0.0f - 1.0f/0.0f; float x = 1.0f; Index: gcc.c-torture/execute/ieee/fp-cmp-3.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-3.c,v retrieving revision 1.3 diff -c -r1.3 fp-cmp-3.c *** gcc.c-torture/execute/ieee/fp-cmp-3.c 2 Apr 2001 23:05:14 -0000 1.3 --- gcc.c-torture/execute/ieee/fp-cmp-3.c 5 Jan 2005 13:55:07 -0000 *************** *** 1,5 **** --- 1,9 ---- + #ifndef SIGNAL_SUPPRESS + #include <signal.h> + #endif + long double dnan = 1.0l/0.0l - 1.0l/0.0l; long double x = 1.0l; Index: gcc.dg/20040625-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/20040625-1.c,v retrieving revision 1.1.16.1 diff -c -r1.1.16.1 20040625-1.c *** gcc.dg/20040625-1.c 19 Aug 2004 22:38:57 -0000 1.1.16.1 --- gcc.dg/20040625-1.c 5 Jan 2005 13:55:24 -0000 *************** *** 1,7 **** /* { dg-do run } */ /* { dg-options "-O2" } */ /* { dg-options "-mminimal-toc" { target powerpc64-*-* } } */ ! extern void abort (void); extern void exit (int); --- 1,7 ---- /* { dg-do run } */ /* { dg-options "-O2" } */ /* { dg-options "-mminimal-toc" { target powerpc64-*-* } } */ ! /* { dg-xfail-if "test assumes int to be 32 bit" "avr-*-*" "*" "" } */ extern void abort (void); extern void exit (int); Index: gcc.dg/Wpadded.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/Wpadded.c,v retrieving revision 1.1 diff -c -r1.1 Wpadded.c *** gcc.dg/Wpadded.c 9 Jun 2003 23:04:50 -0000 1.1 --- gcc.dg/Wpadded.c 5 Jan 2005 13:55:25 -0000 *************** *** 1,6 **** /* Source: EMC. */ ! /* { dg-do compile } */ /* { dg-options "-Wpadded" } */ struct foo { --- 1,6 ---- /* Source: EMC. */ ! /* { dg-do compile {skip avr-*-*} } */ /* { dg-options "-Wpadded" } */ struct foo { Index: gcc.dg/array-quals-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/array-quals-1.c,v retrieving revision 1.2 diff -c -r1.2 array-quals-1.c *** gcc.dg/array-quals-1.c 9 Jan 2004 00:28:29 -0000 1.2 --- gcc.dg/array-quals-1.c 5 Jan 2005 13:55:29 -0000 *************** *** 2,8 **** should never actually get const on the final array type, but all should end up in a read-only section. PR c/12165. */ /* Origin: Joseph Myers <jsm@polyomino.org.uk> */ ! /* { dg-do compile } */ /* { dg-final { scan-assembler-not "\\.data(?!\\.rel\\.ro)" } } */ static const int a[2] = { 1, 2 }; const int a1[2] = { 1, 2 }; --- 2,8 ---- should never actually get const on the final array type, but all should end up in a read-only section. PR c/12165. */ /* Origin: Joseph Myers <jsm@polyomino.org.uk> */ ! /* { dg-do compile {skip avr-*-*} } */ /* { dg-final { scan-assembler-not "\\.data(?!\\.rel\\.ro)" } } */ static const int a[2] = { 1, 2 }; const int a1[2] = { 1, 2 }; Index: gcc.dg/bitfld-3.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/bitfld-3.c,v retrieving revision 1.2 diff -c -r1.2 bitfld-3.c *** gcc.dg/bitfld-3.c 7 Aug 2002 23:20:35 -0000 1.2 --- gcc.dg/bitfld-3.c 5 Jan 2005 13:55:31 -0000 *************** *** 1,5 **** /* Test for bitfield alignment in structs and unions. */ ! /* { dg-do run } */ /* { dg-options "-O2" } */ extern void abort (void); --- 1,5 ---- /* Test for bitfield alignment in structs and unions. */ ! /* { dg-do run {skip avr-*-*} } */ /* { dg-options "-O2" } */ extern void abort (void); Index: gcc.dg/builtin-return-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/builtin-return-1.c,v retrieving revision 1.1 diff -c -r1.1 builtin-return-1.c *** gcc.dg/builtin-return-1.c 5 Dec 2003 06:46:35 -0000 1.1 --- gcc.dg/builtin-return-1.c 5 Jan 2005 13:55:31 -0000 *************** *** 1,6 **** /* PR middle-end/11151 */ /* Originator: Andrew Church <gcczilla@achurch.org> */ ! /* { dg-do run } */ /* This used to fail on SPARC because the (undefined) return value of 'bar' was overwriting that of 'foo'. */ --- 1,6 ---- /* PR middle-end/11151 */ /* Originator: Andrew Church <gcczilla@achurch.org> */ ! /* { dg-do run {xfail avr-*-*} } */ /* This used to fail on SPARC because the (undefined) return value of 'bar' was overwriting that of 'foo'. */ Index: gcc.dg/builtins-18.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/builtins-18.c,v retrieving revision 1.3 diff -c -r1.3 builtins-18.c *** gcc.dg/builtins-18.c 24 Dec 2003 06:52:27 -0000 1.3 --- gcc.dg/builtins-18.c 5 Jan 2005 13:55:32 -0000 *************** *** 5,11 **** Written by Roger Sayle, 1st June 2003. */ ! /* { dg-do link } */ /* { dg-options "-O2 -ffast-math" } */ #include "builtins-config.h" --- 5,11 ---- Written by Roger Sayle, 1st June 2003. */ ! /* { dg-do link {xfail avr-*-*} } */ /* { dg-options "-O2 -ffast-math" } */ #include "builtins-config.h" Index: gcc.dg/builtins-20.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/builtins-20.c,v retrieving revision 1.3 diff -c -r1.3 builtins-20.c *** gcc.dg/builtins-20.c 24 Dec 2003 06:52:27 -0000 1.3 --- gcc.dg/builtins-20.c 5 Jan 2005 13:55:33 -0000 *************** *** 5,11 **** Written by Roger Sayle, 8th June 2003. */ ! /* { dg-do link } */ /* { dg-options "-O2 -ffast-math" } */ #include "builtins-config.h" --- 5,11 ---- Written by Roger Sayle, 8th June 2003. */ ! /* { dg-do link {xfail avr-*-* } } */ /* { dg-options "-O2 -ffast-math" } */ #include "builtins-config.h" Index: gcc.dg/const-elim-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/const-elim-1.c,v retrieving revision 1.4.4.4 diff -c -r1.4.4.4 const-elim-1.c *** gcc.dg/const-elim-1.c 24 Apr 2004 00:36:09 -0000 1.4.4.4 --- gcc.dg/const-elim-1.c 5 Jan 2005 13:55:44 -0000 *************** *** 5,11 **** warning but doesn't. (Hard to fix -- the lexer is not aware of the parser's state.) */ ! /* { dg-do compile } */ /* { dg-options "-O2 -std=c99" } */ /* This test fails on all processors where we use a block move to initialize "S" in test2. The RTL optimizers are not clever enough --- 5,11 ---- warning but doesn't. (Hard to fix -- the lexer is not aware of the parser's state.) */ ! /* { dg-do compile { xfail avr-*-* } } */ /* { dg-options "-O2 -std=c99" } */ /* This test fails on all processors where we use a block move to initialize "S" in test2. The RTL optimizers are not clever enough *************** *** 13,19 **** Currently known targets with this problem: all ARM; PA32 ("hppa*.*" matches "hppa2.0w" but not "hppa64"); PPC if string instructions are enabled (notably under AIX); S/390; Xtensa. */ ! /* { dg-final { scan-assembler-not "L\\\$?C\[^A-Z\]" { xfail arm-*-* strongarm-*-* xscale-*-* hppa-*-* hppa*.*-*-* powerpc*-*-aix* s390*-*-* xtensa-*-* } } } */ #define I (__extension__ 1.0iF) --- 13,19 ---- Currently known targets with this problem: all ARM; PA32 ("hppa*.*" matches "hppa2.0w" but not "hppa64"); PPC if string instructions are enabled (notably under AIX); S/390; Xtensa. */ ! /* { dg-final { scan-assembler-not "L\\\$?C\[^A-Z\]" { xfail avr-*-* arm-*-* strongarm-*-* xscale-*-* hppa-*-* hppa*.*-*-* powerpc*-*-aix* s390*-*-* xtensa-*-* } } } */ #define I (__extension__ 1.0iF) Index: gcc.dg/ftrapv-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/ftrapv-1.c,v retrieving revision 1.1.22.1 diff -c -r1.1.22.1 ftrapv-1.c *** gcc.dg/ftrapv-1.c 26 Sep 2004 20:47:23 -0000 1.1.22.1 --- gcc.dg/ftrapv-1.c 5 Jan 2005 13:55:45 -0000 *************** *** 5,11 **** Written by Falk Hueffner, 20th May 2004. */ ! /* { dg-do run } */ /* { dg-options "-ftrapv" } */ __attribute__((noinline)) int --- 5,11 ---- Written by Falk Hueffner, 20th May 2004. */ ! /* { dg-do run {xfail avr-*-* } } */ /* { dg-options "-ftrapv" } */ __attribute__((noinline)) int Index: gcc.dg/i386-sse-8.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/i386-sse-8.c,v retrieving revision 1.1.2.1 diff -c -r1.1.2.1 i386-sse-8.c *** gcc.dg/i386-sse-8.c 6 Mar 2004 10:19:01 -0000 1.1.2.1 --- gcc.dg/i386-sse-8.c 5 Jan 2005 13:55:49 -0000 *************** *** 1,7 **** /* PR target/14313 */ /* Origin: <Pawe Sikora <pluto@ds14.agh.edu.pl> */ ! /* { dg-do compile } */ /* { dg-options "-march=pentium3" { target i?86-*-* x86_64-*-* } } */ int main() --- 1,7 ---- /* PR target/14313 */ /* Origin: <Pawe Sikora <pluto@ds14.agh.edu.pl> */ ! /* { dg-do compile {skip avr-*-* } } */ /* { dg-options "-march=pentium3" { target i?86-*-* x86_64-*-* } } */ int main() Index: gcc.dg/loop-3.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/loop-3.c,v retrieving revision 1.1.2.1 diff -c -r1.1.2.1 loop-3.c *** gcc.dg/loop-3.c 23 Apr 2004 22:10:47 -0000 1.1.2.1 --- gcc.dg/loop-3.c 5 Jan 2005 13:55:50 -0000 *************** *** 1,7 **** /* PR optimization/13985 */ /* Copied from gcc.c-torture/compile/930621-1.c */ ! /* { dg-do compile } */ /* { dg-options "-O3" } */ /* { dg-options "-O3 -mtune=i386" { target i?86-*-* x86_64-*-* } } */ --- 1,7 ---- /* PR optimization/13985 */ /* Copied from gcc.c-torture/compile/930621-1.c */ ! /* { dg-do compile {skip avr-*-* } } */ /* { dg-options "-O3" } */ /* { dg-options "-O3 -mtune=i386" { target i?86-*-* x86_64-*-* } } */ Index: gcc.dg/section1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/section1.c,v retrieving revision 1.1 diff -c -r1.1 section1.c *** gcc.dg/section1.c 15 Mar 2003 01:42:13 -0000 1.1 --- gcc.dg/section1.c 5 Jan 2005 13:55:56 -0000 *************** *** 1,5 **** --- 1,6 ---- /* PR optimization/6871 */ /* Constant variables belong in .rodata, not .bss. */ + /* { dg-do compile { skip avr-*-* } } */ /* { dg-final { scan-assembler-not "\.bss" } } */ const int i = 0; Index: gcc.dg/trampoline-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/trampoline-1.c,v retrieving revision 1.1 diff -c -r1.1 trampoline-1.c *** gcc.dg/trampoline-1.c 10 Nov 2003 08:11:47 -0000 1.1 --- gcc.dg/trampoline-1.c 5 Jan 2005 13:55:58 -0000 *************** *** 9,14 **** --- 9,15 ---- extern void abort(void); + #ifndef NO_TRAMPOLINES void foo (void) { const int correct[1100] = {1, 0, -2, 0, 1, 0, 1, -1, -10, -30, -67}; *************** *** 42,50 **** --- 43,56 ---- abort(); } } + #endif int main (void) { + #ifdef NO_TRAMPOLINES + exit (0); + #else foo (); return 0; + #endif } Index: gcc.dg/typeof-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/typeof-1.c,v retrieving revision 1.1 diff -c -r1.1 typeof-1.c *** gcc.dg/typeof-1.c 15 Aug 2002 21:17:14 -0000 1.1 --- gcc.dg/typeof-1.c 5 Jan 2005 13:55:58 -0000 *************** *** 1,5 **** /* Test typeof with __asm redirection. */ ! /* { dg-do compile } */ /* { dg-options "-O2" } */ extern int foo1; --- 1,5 ---- /* Test typeof with __asm redirection. */ ! /* { dg-do compile { xfail avr-*-* } } */ /* { dg-options "-O2" } */ extern int foo1; Index: gcc.dg/ultrasp4.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/ultrasp4.c,v retrieving revision 1.1.80.1 diff -c -r1.1.80.1 ultrasp4.c *** gcc.dg/ultrasp4.c 5 Apr 2004 04:15:51 -0000 1.1.80.1 --- gcc.dg/ultrasp4.c 5 Jan 2005 13:56:03 -0000 *************** *** 1,5 **** /* Simplified from PR target/5309. */ ! /* { dg-do compile } */ /* { dg-options "-O2" } */ /* { dg-options "-O2 -mcpu=ultrasparc" { target sparc64-*-* sparcv9-*-* } } */ --- 1,7 ---- /* Simplified from PR target/5309. */ ! /* Test case fails on avr because of pointers are not of type long for this ! reason we have more warning messages. Case usually compiles. */ ! /* { dg-do compile { skip avr-*-* } } */ /* { dg-options "-O2" } */ /* { dg-options "-O2 -mcpu=ultrasparc" { target sparc64-*-* sparcv9-*-* } } */ Index: gcc.dg/wchar_t-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/wchar_t-1.c,v retrieving revision 1.7 diff -c -r1.7 wchar_t-1.c *** gcc.dg/wchar_t-1.c 26 May 2003 18:10:20 -0000 1.7 --- gcc.dg/wchar_t-1.c 5 Jan 2005 13:56:05 -0000 *************** *** 1,4 **** ! /* { dg-do compile } */ /* { dg-options "-Wall" } */ /* Compile with -Wall to get a warning if built-in and system wchar_t don't --- 1,4 ---- ! /* { dg-do compile {xfail avr-*-*} } */ /* { dg-options "-Wall" } */ /* Compile with -Wall to get a warning if built-in and system wchar_t don't Index: gcc.dg/wint_t-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/wint_t-1.c,v retrieving revision 1.7 diff -c -r1.7 wint_t-1.c *** gcc.dg/wint_t-1.c 26 May 2003 18:10:20 -0000 1.7 --- gcc.dg/wint_t-1.c 5 Jan 2005 13:56:05 -0000 *************** *** 1,4 **** ! /* { dg-do compile } */ /* { dg-options "-Wall" } */ /* Compile with -Wall to get a warning if built-in and system wint_t don't --- 1,5 ---- ! /* avr does not have wide chars so far. */ ! /* { dg-do compile { skip avr-*-* } } */ /* { dg-options "-Wall" } */ /* Compile with -Wall to get a warning if built-in and system wint_t don't Index: gcc.dg/wtr-conversion-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/wtr-conversion-1.c,v retrieving revision 1.3 diff -c -r1.3 wtr-conversion-1.c *** gcc.dg/wtr-conversion-1.c 3 Jul 2002 02:41:34 -0000 1.3 --- gcc.dg/wtr-conversion-1.c 5 Jan 2005 13:56:05 -0000 *************** *** 1,7 **** /* Test for -Wtraditional warnings on conversions by prototypes. Note, gcc should omit these warnings in system header files. By Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4/09/2001. */ ! /* { dg-do compile } */ /* { dg-options "-Wtraditional" } */ extern void foo_i (int); --- 1,9 ---- /* Test for -Wtraditional warnings on conversions by prototypes. Note, gcc should omit these warnings in system header files. By Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4/09/2001. */ ! /* avr generates slightly different warning messages, probably since ! float == double. */ ! /* { dg-do compile { xfail avr-*-* } } */ /* { dg-options "-Wtraditional" } */ extern void foo_i (int); Index: gcc.dg/compat/struct-align-1_main.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/compat/struct-align-1_main.c,v retrieving revision 1.1 diff -c -r1.1 struct-align-1_main.c *** gcc.dg/compat/struct-align-1_main.c 3 Jul 2003 20:15:48 -0000 1.1 --- gcc.dg/compat/struct-align-1_main.c 5 Jan 2005 13:56:11 -0000 *************** *** 1,6 **** --- 1,9 ---- /* Test compatibility of structure layout and alignment for structs which contain doubles. The original structs here are from PR 10645. */ + /* This test case implicitly assumes int to be 32 bit wide. */ + /* { dg-do run { skip avr-*-* } } */ + extern void struct_align_1_x (void); extern void exit (int); int fails; Index: gcc.dg/compat/vector-1_x.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/compat/vector-1_x.c,v retrieving revision 1.3 diff -c -r1.3 vector-1_x.c *** gcc.dg/compat/vector-1_x.c 27 Nov 2003 10:43:01 -0000 1.3 --- gcc.dg/compat/vector-1_x.c 5 Jan 2005 13:56:21 -0000 *************** *** 1,5 **** --- 1,6 ---- /* { dg-options "-w" } */ /* { dg-xfail-if "PR target/12916" "sparc*-*-*" "*" "" } */ + /* { dg-xfail-if "avr has vector machine modes so far" "avr-*-*" "*" "" } */ #include "compat-common.h" #include "vector-defs.h" Index: gcc.dg/compat/vector-2_x.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/compat/vector-2_x.c,v retrieving revision 1.3 diff -c -r1.3 vector-2_x.c *** gcc.dg/compat/vector-2_x.c 27 Nov 2003 10:43:01 -0000 1.3 --- gcc.dg/compat/vector-2_x.c 5 Jan 2005 13:56:21 -0000 *************** *** 1,5 **** --- 1,6 ---- /* { dg-options "-w" } */ /* { dg-xfail-if "PR target/12916" "sparc*-*-*" "*" "" } */ + /* { dg-xfail-if "no vector machine modes for avr." "avr-*-*" "*" "" } */ #include "compat-common.h" #include "vector-defs.h" Index: gcc.dg/cpp/if-2.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/cpp/if-2.c,v retrieving revision 1.6 diff -c -r1.6 if-2.c *** gcc.dg/cpp/if-2.c 18 Jan 2001 12:00:38 -0000 1.6 --- gcc.dg/cpp/if-2.c 5 Jan 2005 13:56:27 -0000 *************** *** 19,25 **** #if 'abcd' /* { dg-warning "multi-character character constant" "multi-character charconst" } */ #endif ! #if 'abcdefghi' /* { dg-error "character constant (is )?too long" "charconst too long" } */ #endif --- 19,25 ---- #if 'abcd' /* { dg-warning "multi-character character constant" "multi-character charconst" } */ #endif ! /* { dg-xfail-if "avr int is 2 byte wide." "avr-*-*" "*" "" } */ #if 'abcdefghi' /* { dg-error "character constant (is )?too long" "charconst too long" } */ #endif Index: gcc.dg/torture/nested-fn-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/torture/nested-fn-1.c,v retrieving revision 1.1.2.1 diff -c -r1.1.2.1 nested-fn-1.c *** gcc.dg/torture/nested-fn-1.c 21 Jul 2004 07:37:18 -0000 1.1.2.1 --- gcc.dg/torture/nested-fn-1.c 5 Jan 2005 13:56:51 -0000 *************** *** 1,6 **** /* PR middle-end/15345, c/16450 */ /* Test whether unused nested functions aren't emitted into the assembly. */ ! /* { dg-do compile } */ /* { dg-options "-g0" } */ int --- 1,7 ---- /* PR middle-end/15345, c/16450 */ /* Test whether unused nested functions aren't emitted into the assembly. */ ! /* avr does not support trampolines and has no support for nested functions. */ ! /* { dg-do compile { xfail avr-*-* } } */ /* { dg-options "-g0" } */ int Index: gcc.dg/weak/typeof-2.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/weak/typeof-2.c,v retrieving revision 1.5 diff -c -r1.5 typeof-2.c *** gcc.dg/weak/typeof-2.c 6 Jun 2003 21:34:41 -0000 1.5 --- gcc.dg/weak/typeof-2.c 5 Jan 2005 13:56:51 -0000 *************** *** 1,5 **** /* Test typeof with __asm redirection. */ ! /* { dg-do compile } */ /* { dg-require-weak "" } */ /* { dg-options "-O2" } */ --- 1,5 ---- /* Test typeof with __asm redirection. */ ! /* { dg-do compile { xfail avr-*-* } } */ /* { dg-require-weak "" } */ /* { dg-options "-O2" } */ Index: gcc.dg/weak/weak-3.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/weak/weak-3.c,v retrieving revision 1.4 diff -c -r1.4 weak-3.c *** gcc.dg/weak/weak-3.c 12 Oct 2003 22:09:28 -0000 1.4 --- gcc.dg/weak/weak-3.c 5 Jan 2005 13:56:51 -0000 *************** *** 1,4 **** ! /* { dg-do compile } */ /* { dg-require-weak "" } */ /* { dg-options "-fno-common" } */ --- 1,4 ---- ! /* { dg-do compile {xfail avr-*-* } } */ /* { dg-require-weak "" } */ /* { dg-options "-fno-common" } */ Index: gcc.dg/weak/weak-5.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/weak/weak-5.c,v retrieving revision 1.2 diff -c -r1.2 weak-5.c *** gcc.dg/weak/weak-5.c 6 Jun 2003 21:34:41 -0000 1.2 --- gcc.dg/weak/weak-5.c 5 Jan 2005 13:56:51 -0000 *************** *** 1,4 **** ! /* { dg-do compile } */ /* { dg-require-weak "" } */ /* { dg-options "-fno-common" } */ --- 1,4 ---- ! /* { dg-do compile {xfail avr-*-* } } */ /* { dg-require-weak "" } */ /* { dg-options "-fno-common" } */ Index: gcc.dg/weak/weak-9.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.dg/weak/weak-9.c,v retrieving revision 1.2 diff -c -r1.2 weak-9.c *** gcc.dg/weak/weak-9.c 6 Jun 2003 21:34:41 -0000 1.2 --- gcc.dg/weak/weak-9.c 5 Jan 2005 13:56:51 -0000 *************** *** 1,4 **** ! /* { dg-do compile } */ /* { dg-require-weak "" } */ /* { dg-options "-fno-common" } */ --- 1,8 ---- ! /* The tests for ordinary weak symbols would pass on avr. However ! tests will be skipped since otherwise the alias cases would generate ! spurious failure messages. */ ! ! /* { dg-do compile { skip avr-*-* } } */ /* { dg-require-weak "" } */ /* { dg-options "-fno-common" } */
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |