summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.misc-tests
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/profopt.exp: Treat prof_ext as a list.janis2005-03-311-1/+1
| | | | | | | | * gcc.misc-tests/bprob.exp: Ditto. * g++.dg/bprob/bprob.exp: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97343 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.misc-tests/options.exp (check_for_options): Create a real Cbje2005-03-221-2/+8
| | | | | | | | program, compile it into a real executable and then delete the .c and .x files afterwards, to avoid problems on testglue targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96844 138bc75d-0d04-0410-961f-82ee72b054a4
* * consistency.vlad/vlad.exp: Remove trailing semicolons.bje2005-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * g++.dg/gcov/gcov.exp: Likewise. * gcc.c-torture/execute/ieee/ieee.exp: Likewise. * gcc.target/xstormy16/xstormy16.exp: Likewise. * lib/c-torture.exp: Likewise. * lib/fortran-torture.exp: Likewise. * lib/g++.exp: Likewise. * lib/gcc-defs.exp: Likewise. * lib/gcc-dg.exp: Likewise. * lib/gcc.exp: Likewise. * lib/gcov.exp: Likewise. * lib/gfortran.exp: Likewise. * lib/mike-g++.exp: Likewise. * lib/mike-gcc.exp: Likewise. * lib/objc-torture.exp: Likewise. * lib/objc.exp: Likewise. * lib/profopt.exp: Likewise. * lib/target-libpath.exp: Likewise. * lib/target-supports.exp: Likewise. * lib/treelang.exp: Likewise. * lib/wrapper.exp: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96132 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.misc-tests/options.exp: New test.bje2005-03-041-0/+48
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95879 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-15 Andreas Krebbel <krebbel1@de.ibm.com>uweigand2005-02-151-1/+4
| | | | | | | * gcc.misc-tests/linkage.exp (s390): Check for 64bit added. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95063 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.test-framework/README: Describe tests in source directory.janis2005-02-0113-157/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gcc.test-framework/test-framework.awk: Handle dg- tests. * gcc.test-framework/test-framework.exp: Handle dg- tests. * gcc.test-framework/dg-bogus-exp-P.c: New test. * gcc.test-framework/dg-bogus-exp-XF.c: New test. * gcc.test-framework/dg-do-assemble-exp-P.c: New test. * gcc.test-framework/dg-do-compile-exp-P.c: New test. * gcc.test-framework/dg-do-link-exp-P.c: New test. * gcc.test-framework/dg-do-run-exp-P.c: New test. * gcc.test-framework/dg-dot-run-exp-P.c: New test. * gcc.test-framework/dg-dot-run-exp-U.c: New test. * gcc.test-framework/dg-dox-run-exp-XF.c: New test. * gcc.test-framework/dg-error-exp-P.c: New test. * gcc.test-framework/dg-error-exp-XP.c: New test. * gcc.test-framework/dg-excess-errors-exp-XF.c: New test. * gcc.test-framework/dg-excess-errors-exp-XP.c: New test. * gcc.test-framework/dg-output-exp-P.c: New test. * gcc.test-framework/dg-output-exp-XF.c: New test. * gcc.test-framework/dg-warning-exp-P.c: New test. * gcc.misc-tests/dg-1.c: Remove. * gcc.misc-tests/dg-2.c: Remove. * gcc.misc-tests/dg-3.c: Remove. * gcc.misc-tests/dg-4.c: Remove. * gcc.misc-tests/dg-5.c: Remove. * gcc.misc-tests/dg-6.c: Remove. * gcc.misc-tests/dg-7.c: Remove. * gcc.misc-tests/dg-8.c: Remove. * gcc.misc-tests/dg-9.c: Remove. * gcc.misc-tests/dg-10.c: Remove. * gcc.misc-tests/dg-11.c: Remove. * gcc.misc-tests/dg-12.c: Remove. * gcc.misc-tests/dg-test.exp: Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94550 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/gcc-dg.exp (dg-skip-if): New function.janis2004-11-174-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (dg-forbid-option): Remove. * g++.dg/abi/bitfield3.C: Use dg-skip-if i?86 -m64. * g++.dg/abi/bitfield8.C: Likewise. * g++.dg/abi/dtor1.C: Likewise. * g++.dg/abi/empty10.C: Likewise. * g++.dg/abi/empty7.C: Likewise. * g++.dg/abi/empty9.C: Likewise. * g++.dg/abi/layout3.C: Likewise. * g++.dg/abi/layout4.C: Likewise. * g++.dg/abi/thunk1.C: Likewise. * g++.dg/abi/thunk2.C: Likewise. * g++.dg/abi/vbase11.C: Likewise. * g++.dg/abi/vthunk2.C: Likewise. * g++.dg/abi/vthunk3.C: Likewise. * g++.dg/ext/attrib8.C: Likewise. * g++.dg/opt/longbranch2.C: Likewise. * g++.dg/opt/reg-stack4.C: Likewise. * g++.old-deja/g++.ext/attrib1.C: Likewise. * g++.old-deja/g++.ext/attrib2.C: Likewise. * g++.old-deja/g++.ext/attrib3.C: Likewise. * g++.old-deja/g++.other/store-expr1.C: Likewise. * g++.old-deja/g++.other/store-expr2.C: Likewise. * gcc.dg/20000609-1.c: Likewise. * gcc.dg/20000720-1.c: Likewise. * gcc.dg/20011107-1.c: Likewise. * gcc.dg/20011119-1.c: Likewise. * gcc.dg/20020108-1.c: Likewise. * gcc.dg/20020122-2.c: Likewise. * gcc.dg/20020122-3.c: Likewise. * gcc.dg/20020201-3.c: Likewise. * gcc.dg/20020206-1.c: Likewise. * gcc.dg/20020218-1.c: Likewise. * gcc.dg/20020310-1.c: Likewise. * gcc.dg/20020411-1.c: Likewise. * gcc.dg/20020418-2.c: Likewise. * gcc.dg/20020426-1.c: Likewise. * gcc.dg/20020426-2.c: Likewise. * gcc.dg/20020517-1.c: Likewise. * gcc.dg/20020523-1.c: Likewise. * gcc.dg/20020523-2.c: Likewise. * gcc.dg/20020729-1.c: Likewise. * gcc.dg/20030204-1.c: Likewise. * gcc.dg/20030826-2.c: Likewise. * gcc.dg/20030926-1.c: Likewise. * gcc.dg/20031202-1.c: Likewise. * gcc.dg/980312-1.c: Likewise. * gcc.dg/980313-1.c: Likewise. * gcc.dg/990117-1.c: Likewise. * gcc.dg/990424-1.c: Likewise. * gcc.dg/990524-1.c: Likewise. * gcc.dg/991230-1.c: Likewise. * gcc.dg/i386-387-1.c: Likewise. * gcc.dg/i386-387-2.c: Likewise. * gcc.dg/i386-387-3.c: Likewise. * gcc.dg/i386-387-4.c: Likewise. * gcc.dg/i386-387-5.c: Likewise. * gcc.dg/i386-387-6.c: Likewise. * gcc.dg/i386-asm-1.c: Likewise. * gcc.dg/i386-bitfield1.c: Likewise. * gcc.dg/i386-bitfield2.c: Likewise. * gcc.dg/i386-loop-1.c: Likewise. * gcc.dg/i386-loop-2.c: Likewise. * gcc.dg/i386-loop-3.c: Likewise. * gcc.dg/i386-pentium4-not-mull.c: Likewise. * gcc.dg/i386-pic-1.c: Likewise. * gcc.dg/i386-regparm.c: Likewise. * gcc.dg/i386-signbit-1.c: Likewise. * gcc.dg/i386-signbit-2.c: Likewise. * gcc.dg/i386-signbit-3.c: Likewise. * gcc.dg/i386-sse-5.c: Likewise. * gcc.dg/i386-sse-8.c: Likewise. * gcc.dg/i386-unroll-1.c: Likewise. * gcc.dg/tls/opt-1.c: Likewise. * gcc.dg/tls/opt-2.c: Likewise. * gcc.dg/unroll-1.c: Likewise. * gcc.misc-tests/i386-pf-3dnow-1.c: Likewise. * gcc.misc-tests/i386-pf-athlon-1.c: Likewise. * gcc.misc-tests/i386-pf-none-1.c: Likewise. * gcc.misc-tests/i386-pf-sse-1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90810 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-12 Mark Mitchell <mark@codesourcery.com>jsm282004-11-124-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/gcc-dg.exp (dg-forbid-option): New function. * g++.dg/abi/bitfield3.C: Use dg-forbid-option -m64. * g++.dg/abi/bitfield8.C: Likewise. * g++.dg/abi/dtor1.C: Likewise. * g++.dg/abi/empty10.C: Likewise. * g++.dg/abi/empty7.C: Likewise. * g++.dg/abi/empty9.C: Likewise. * g++.dg/abi/layout3.C: Likewise. * g++.dg/abi/layout4.C: Likewise. * g++.dg/abi/thunk1.C: Likewise. * g++.dg/abi/thunk2.C: Likewise. * g++.dg/abi/vbase11.C: Likewise. * g++.dg/abi/vthunk2.C: Likewise. * g++.dg/abi/vthunk3.C: Likewise. * g++.dg/ext/attrib8.C: Likewise. * g++.dg/opt/longbranch2.C: Likewise. * g++.dg/opt/reg-stack4.C: Likewise. * g++.old-deja/g++.ext/attrib1.C: Likewise. * g++.old-deja/g++.ext/attrib2.C: Likewise. * g++.old-deja/g++.ext/attrib3.C: Likewise. * g++.old-deja/g++.other/store-expr1.C: Likewise. * g++.old-deja/g++.other/store-expr2.C: Likewise. * gcc.dg/20000609-1.c: Likewise. * gcc.dg/20000720-1.c: Likewise. * gcc.dg/20011107-1.c: Likewise. * gcc.dg/20011119-1.c: Likewise. * gcc.dg/20020108-1.c: Likewise. * gcc.dg/20020122-2.c: Likewise. * gcc.dg/20020122-3.c: Likewise. * gcc.dg/20020201-3.c: Likewise. * gcc.dg/20020206-1.c: Likewise. * gcc.dg/20020218-1.c: Likewise. * gcc.dg/20020310-1.c: Likewise. * gcc.dg/20020411-1.c: Likewise. * gcc.dg/20020418-2.c: Likewise. * gcc.dg/20020426-1.c: Likewise. * gcc.dg/20020426-2.c: Likewise. * gcc.dg/20020517-1.c: Likewise. * gcc.dg/20020523-1.c: Likewise. * gcc.dg/20020523-2.c: Likewise. * gcc.dg/20020729-1.c: Likewise. * gcc.dg/20030204-1.c: Likewise. * gcc.dg/20030826-2.c: Likewise. * gcc.dg/20030926-1.c: Likewise. * gcc.dg/20031202-1.c: Likewise. * gcc.dg/980312-1.c: Likewise. * gcc.dg/980313-1.c: Likewise. * gcc.dg/990117-1.c: Likewise. * gcc.dg/990424-1.c: Likewise. * gcc.dg/990524-1.c: Likewise. * gcc.dg/991230-1.c: Likewise. * gcc.dg/i386-387-1.c: Likewise. * gcc.dg/i386-387-2.c: Likewise. * gcc.dg/i386-387-3.c: Likewise. * gcc.dg/i386-387-4.c: Likewise. * gcc.dg/i386-387-5.c: Likewise. * gcc.dg/i386-387-6.c: Likewise. * gcc.dg/i386-asm-1.c: Likewise. * gcc.dg/i386-bitfield1.c: Likewise. * gcc.dg/i386-bitfield2.c: Likewise. * gcc.dg/i386-loop-1.c: Likewise. * gcc.dg/i386-loop-2.c: Likewise. * gcc.dg/i386-loop-3.c: Likewise. * gcc.dg/i386-pentium4-not-mull.c: Likewise. * gcc.dg/i386-pic-1.c: Likewise. * gcc.dg/i386-regparm.c: Likewise. * gcc.dg/i386-signbit-1.c: Likewise. * gcc.dg/i386-signbit-2.c: Likewise. * gcc.dg/i386-signbit-3.c: Likewise. * gcc.dg/i386-sse-5.c: Likewise. * gcc.dg/i386-sse-8.c: Likewise. * gcc.dg/i386-unroll-1.c: Likewise. * gcc.dg/tls/opt-1.c: Likewise. * gcc.dg/tls/opt-2.c: Likewise. * gcc.dg/unroll-1.c: Likewise. * gcc.misc-tests/i386-pf-3dnow-1.c: Likewise. * gcc.misc-tests/i386-pf-athlon-1.c: Likewise. * gcc.misc-tests/i386-pf-none-1.c: Likewise. * gcc.misc-tests/i386-pf-sse-1.c: Likewise. * gcc.c-torture/execute/20010129-1.x: Do not use -mtune=i686 when -m64 is specified. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90549 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.misc-tests/linkage.exp: Handle biarch GCC for powerpc64.janis2004-11-111-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90488 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.misc-tests/linkage.exp: Prepend directory name to pass/failjanis2004-11-111-5/+12
| | | | | | | | message, delete generated files, use more descriptive name for executable, and make the test unsupported when it cannot be run. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90487 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-16 Frank Ch. Eigler <fche@redhat.com>fche2004-09-161-9/+15
| | | | | | | | | * gcc.misc-tests/bprob.exp, g++.dg/bprob/bprob.exp: Iterate tests with -ftree-based-profiling also. * lib/profopt.exp: Support late-set profile_option/feedback_option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87612 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (arm*-*-eabi*): New target.mmitchel2004-08-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure: Regenerate. * configure.ac (arm*-*-eabi*): New target. (arm*-*-symbianelf*): Likewise. * configure: Regenerated. * config.gcc (arm*-*-eabi*): New target. * defaults.h (TARGET_LIBGCC_FUNCS): New macro. (TARGET_LIB_INT_CMP_BIASED): Likewise. * expmed.c (expand_divmod): Try a two-valued divmod function as a last resort. * gthr.h: Remove bogus tokens at end of #pragma. * optabs.c (expand_twoval_binop_libfunc): New function. (prepare_cmp_insn): Handle the !TARGET_LIB_INT_CMP_BIASED case. (prepare_float_lib_cmp): Try reversing the condition. (debug_optab_libfuncs): New function. * optabs.h (expand_twoval_binop_libfunc): Declare. * config/arm/arm.c (arm_init_libfuncs): New function. (arm_compute_initial_eliminatino_offset): Return HOST_WIDE_INT. (TARGET_INIT_LIBFUNCS): Define it. * config/arm/arm.h (TARGET_BPABI): New macro. * config/arm/arm-protos.h (arm_compute_initial_elimination_offset): Return HOST_WIDE_INT. * config/arm/bpabi.S: New file. * config/arm/bpabi.c: Likewise. * config/arm/bpabi.h: Likewise. * config/arm/ieee754-df.S (__aeabi_dneg): New function or alias. (__aeabi_drsub): Likewise. (__aeabi_dsub): Likewise. (__aeabi_dadd): Likewise. (__aeabi_ui2d): Likewise. (__aeabi_i2d): Likewise. (__aeabi_f2d): Likewise. (__aeabi_dmul): Likewise. (__aeabi_ddiv): Likewise. (__aeabi_cdrcmple): Likewise. (__aeabi_cdcmpeq): Likewise. (__aeabi_cdcmple): Likewise. (__aeabi_dcmpeq): Likewise. (__aeabi_dcmplt): Likewise. (__aeabi_dcmple): Likewise. (__aeabi_dcmpge): Likewise. (__aeabi_dcmpgt): Likewise. (__aeabi_dcmpun): Likewise. (__aeabi_d2iz): Likewise. (__aeabi_d2uiz): Likewise. (__aeabi_d2f): Likewise. * config/arm/ieee754-sf.S (__aeabi_fneg): New function or alias. (__aeabi_frsub): Likewise. (__aeabi_fsub): Likewise. (__aeabi_fadd): Likewise. (__aeabi_ui2f): Likewise. (__aeabi_i2f): Likewise. (__aeabi_fmul): Likewise. (__aeabi_fdiv): Likewise. (__aeabi_cfrcmple): Likewise. (__aeabi_cfcmpeq): Likewise. (__aeabi_cfcmple): Likewise. (__aeabi_fcmpeq): Likewise. (__aeabi_fcmplt): Likewise. (__aeabi_fcmple): Likewise. (__aeabi_fcmpge): Likewise. (__aeabi_fcmpgt): Likewise. (__aeabi_fcmpun): Likewise. (__aeabi_f2iz): Likewise. (__aeabi_f2uiz): Likewise. * config/arm/lib1funcs.asm (ARM_CALL): New macro. (__aeabi_uidivmod): New function or alias. (__aeabi_idivmod): Likewise. (__aeabi_idiv0): Likewise. (__aeabi_ldiv0): Likewise. (__aeabi_llsr): Likewise. (__aeabi_lasr): Likewise. (__aeabi_llsl): Likewise. (bpabi.S): Include it. * config/arm/libgcc-bpabi.ver: New file. * config/arm/symbian.h (ARM_DEFAULT_ABI): Remove. (LINK_SPEC): Remove. * config/arm/t-arm-elf (LIB1ASMFUNCS): Add __aeabi_lcmp and __aeabi_ulcmp. * config/arm/t-bpabi: New file. * doc/tm.texi (TARGET_LIBGCC_FUNCS): New entry. (TARGET_LIB_INT_CMP_BIASED): Likewise. * gcc.dg/testsuite/gcc.dg/arm-eabi1.c: New test. * gcc.dg/dll-2.c: Fix dg-require syntax. * gcc.misc-tests/arm-isr.c (abort): Declare. (exit): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85788 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/20001023-1.c, gcc.dg/20001108-1.c, gcc.dg/20001117-1.c,jsm282004-08-0311-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc.dg/20010202-1.c, gcc.dg/20011008-2.c, gcc.dg/20011214-1.c, gcc.dg/20020201-1.c, gcc.dg/20020312-2.c, gcc.dg/20020426-2.c, gcc.dg/20030331-2.c, gcc.dg/20030612-1.c, gcc.dg/20030926-1.c, gcc.dg/20031216-1.c, gcc.dg/20031218-3.c, gcc.dg/20040305-2.c, gcc.dg/980226-1.c, gcc.dg/Wreturn-type2.c, gcc.dg/Wunreachable-6.c, gcc.dg/Wunreachable-7.c, gcc.dg/align-1.c, gcc.dg/builtin-prefetch-1.c, gcc.dg/builtins-17.c, gcc.dg/builtins-19.c, gcc.dg/builtins-2.c, gcc.dg/builtins-20.c, gcc.dg/builtins-21.c, gcc.dg/builtins-7.c, gcc.dg/builtins-8.c, gcc.dg/cpp/19930510-1.c, gcc.dg/cpp/charconst-3.c, gcc.dg/cpp/charconst-4.c, gcc.dg/cpp/mi6.c, gcc.dg/cpp/tr-paste.c, gcc.dg/cpp/trad/mi6.c, gcc.dg/cpp/trad/paste.c, gcc.dg/cpp/trad/strify.c, gcc.dg/fastmath-1.c, gcc.dg/fshort-wchar.c, gcc.dg/i386-387-7.c, gcc.dg/i386-387-8.c, gcc.dg/i386-asm-1.c, gcc.dg/i386-cadd.c, gcc.dg/i386-fpcvt-3.c, gcc.dg/i386-loop-3.c, gcc.dg/i386-memset-1.c, gcc.dg/loop-2.c, gcc.dg/nest.c, gcc.dg/noncompile/971104-1.c, gcc.dg/noncompile/990416-1.c, gcc.dg/noncompile/scope.c, gcc.dg/pack-test-4.c, gcc.dg/pack-test-5.c, gcc.dg/pch/inline-4.c, gcc.dg/postincr-1.c, gcc.dg/pr10392-1.c, gcc.dg/pragma-align.c, gcc.dg/profile-generate-1.c, gcc.dg/sibcall-1.c, gcc.dg/sibcall-2.c, gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c, gcc.dg/sibcall-5.c, gcc.dg/sibcall-6.c, gcc.dg/switch-warn-1.c, gcc.dg/switch-warn-2.c, gcc.dg/torture/builtin-attr-1.c, gcc.dg/torture/builtin-math-1.c, gcc.dg/torture/builtin-noret-2.c, gcc.dg/trampoline-1.c, gcc.dg/tree-ssa/20030703-1.c, gcc.dg/tree-ssa/20030703-2.c, gcc.dg/tree-ssa/20030708-1.c, gcc.dg/tree-ssa/20030709-3.c, gcc.dg/tree-ssa/20030710-1.c, gcc.dg/tree-ssa/20030711-1.c, gcc.dg/tree-ssa/20030729-1.c, gcc.dg/tree-ssa/20030730-1.c, gcc.dg/tree-ssa/20030730-2.c, gcc.dg/tree-ssa/20030731-1.c, gcc.dg/tree-ssa/20030807-11.c, gcc.dg/tree-ssa/20030807-2.c, gcc.dg/tree-ssa/20030807-5.c, gcc.dg/tree-ssa/20030807-7.c, gcc.dg/tree-ssa/20030808-1.c, gcc.dg/tree-ssa/20030814-1.c, gcc.dg/tree-ssa/20030814-2.c, gcc.dg/tree-ssa/20030814-3.c, gcc.dg/tree-ssa/20030814-4.c, gcc.dg/tree-ssa/20030814-5.c, gcc.dg/tree-ssa/20030814-6.c, gcc.dg/tree-ssa/20030814-7.c, gcc.dg/tree-ssa/20030815-1.c, gcc.dg/tree-ssa/20030907-1.c, gcc.dg/tree-ssa/20030917-3.c, gcc.dg/tree-ssa/20030922-1.c, gcc.dg/tree-ssa/20031113-1.c, gcc.dg/tree-ssa/20040121-1.c, gcc.dg/tree-ssa/20040319-1.c, gcc.dg/tree-ssa/20040324-1.c, gcc.dg/tree-ssa/20040326-1.c, gcc.dg/tree-ssa/20040326-2.c, gcc.dg/tree-ssa/20040517-1.c, gcc.dg/tree-ssa/ssa-ccp-10.c, gcc.dg/tree-ssa/ssa-pre-1.c, gcc.dg/tree-ssa/tailcall-1.c, gcc.dg/tree-ssa/tailrecursion-5.c, gcc.dg/ultrasp3.c, gcc.dg/winline-7.c, gcc.misc-tests/bprob-1.c, gcc.misc-tests/bprob-2.c, gcc.misc-tests/gcov-3.c, gcc.misc-tests/gcov-4.c, gcc.misc-tests/gcov-4b.c, gcc.misc-tests/gcov-6.c, gcc.misc-tests/gcov-7.c, gcc.misc-tests/i386-pf-3dnow-1.c, gcc.misc-tests/i386-pf-athlon-1.c, gcc.misc-tests/i386-pf-none-1.c, gcc.misc-tests/i386-pf-sse-1.c, objc.dg/nested-func-1.m, objc.dg/special/unclaimed-category-1.m: Declare built-in functions used. * gcc.dg/torture/builtin-attr-1.c (nexttoward): Use FPTEST2ARG2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85465 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-08 Paolo Bonzini <bonzini@gnu.org>jakub2004-07-081-6/+17
| | | | | | | | | | | | | | | | | | | | Jakub Jelinek <jakub@redhat.com> * config/i386/i386.c (override_options): Enable SSE prefetches with -mtune, as long as we are compiling for i686 or higher. All i686 processors accept SSE prefetches as NOPS, some i586's don't. 2004-07-08 Jakub Jelinek <jakub@redhat.com> * gcc.mist-tests/i386-prefetch.exp (PREFETCH_SSE): Change all -march=i386 into -march=i686. Add -march=i686 -mtune=x and -march=x for pentium3, pentium3m, pentium-m, pentium4m, prescott and c3-2. (PREFETCH_3DNOW): Add -march=c3. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84297 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-22 H.J. Lu <hongjiu.lu@intel.com>hjl2004-06-221-0/+5
| | | | | | | | | PR target/14800 * gcc.misc-tests/linkage.exp: Set native_cflags to "-m32" for x86_64-*-linux* when compiling for 32bit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83513 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/target-supports.exp (check_profiling_available): Checkghazi2004-02-211-1/+1
| | | | | | | | | | | | | | | | argument to determine whether we support a profiling type. * lib/gcc-dg.exp (dg-require-profiling): Pass argument to check_profiling_available. * g++.dg/bprob/bprob.exp: Likewise * g77.dg/bprob/bprob.exp: Likewise. * gcc.misc-tests/bprob.exp: Likewise. * g++.old-deja/g++.law/profile1.C: Pass profiling type to dg-require-profiling and delete expected error handling. * gcc.dg/20021014-1.c: Likewise. * gcc.dg/nest.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78206 138bc75d-0d04-0410-961f-82ee72b054a4
* * calls.c (expand_call): Recognize calls to "sqrt" and createmmitchel2003-12-241-0/+2
| | | | | | | | | | | | | | | | corresponding notes. * g++.dg/bprob/bprob.exp: Load target-supports.exp * g77.dg/bprob/bprob.exp: Likewise. * gcc.misc-tests/bprob.exp: Likewise. * gcc.dg/builtins-18.c: Use builtins-config.h. Do not test float variants on systems where the library does not provide that functionality. * gcc.dg/builtins-20.c: Use builtins-config.h. * gcc.dg/builtins-config.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75003 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/gcc-dg.exp (dg-require-profiling): New function.mmitchel2003-12-231-6/+1
| | | | | | | | | | | | | * lib/target-supports.exp (check_profiling_available): Likewise. * g++.dg/bprob/bprob.exp: Use check_profiling_available. * g77.dg/bprob/bprob.exp: Likewise. * gcc.misc-tests/bprob.exp: Likewise. * g++.old-deja/g++.law/profile1.C: Use dg-require-profiling. * gcc.dg/20021014-1.c: Likewise. * gcc.dg/nest.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74995 138bc75d-0d04-0410-961f-82ee72b054a4
* * g77.dg/bprob/bprob.exp: Disable test on arm-elf configs.rearnsha2003-10-311-0/+3
| | | | | | | | | | | | * gcc.misc-tests/bprob.exp: Likewise. * g77.dg/execute/20001201.x, 6367.x, io0.x, io1.x, u77-test.x: XFAIL the execution test on arm-elf configs. * g77.dg/execute/10197.x: New file. XFAIL the execution test on configs that don't support scratch files. * g77.dg/execute/u77-test.x: XFAIL compilation on arm-elf configs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73133 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcov.c (typedef struct arc_info): New field cs_count.rakdver2003-08-271-0/+16
| | | | | | | | | (accumulate_line_counts): Find cycles correctly. * gcc.misc-tests/gcov-10b.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70859 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.misc-tests/linkage.exp: Treat all HP-UX platformsmmitchel2003-08-231-1/+1
| | | | | | | identically. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70721 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.misc-tests/linkage.exp: Add logic for ia64-hp-hpux*.mmitchel2003-08-221-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70703 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/11739janis2003-08-041-13/+15
| | | | | | | | * gcc.misc-tests/i386-prefetch.exp: Use -march=i386 when specifying a value for -mtune. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70160 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/bprob/bprob.exp (prof_ext): Update.nathan2003-07-092-3/+3
| | | | | | | | | | | * g77.dg/bprob/bprob.exp (prof_ext): Update. * gcc.misc-tests/bprob.exp (prof_ext): Update. * gcc.misc-tests/gcov.exp: Update * g++.dg/gcov/gcov.exp: Update * lib/gcov.exp: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69145 138bc75d-0d04-0410-961f-82ee72b054a4
* .nathan2003-04-063-0/+53
| | | | | | | | | | | | | | | | | | * gcov.c (struct arc_info): Replace local_span with cycle. (struct block_info): Replace u.span with u.cycle. Add is_call_return. (solve_flow_graph): Set is_call_return. (add_line_counts): Adjust. In block mode, blocks attach to last line. (accumulate_line_counts): Find graph cycles, not spanning tree. (output_branch_count): Adjust. (output_lines): Adjust. * doc/gcov.texi: Update. testsuite: * gcc.misc-test/gcov-9.c: New test. * gcc.misc-test/gcov-10.c: New test * gcc.misc-test/gcov-11.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65299 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/gcov.exp (run-gcov): Add branches and calls options, rathermmitchel2003-03-2710-17/+5
| | | | | | | | | | | | | | | | | | | | | than reading .x files. * g++.dg/gcov/gcov-1.C: Use run-gcov options, not .x files. * g77.dg/gcov/gcov-1.f: Likewise. * gcc.misc-tests/gcov-4b.c: Likewise. * gcc.misc-tests/gcov-5b.c: Likewise. * gcc.misc-tests/gcov-6.c: Likewise. * gcc.misc-tests/gcov-7.c: Likewise. * gcc.misc-tests/gcov-8.c: Likewise. * g++.dg/gcov/gcov-1.x: Remove. * g77.dg/gcov/gcov-1.x: Likewise. * gcc.misc-tests/gcov-4b.x: Likewise. * gcc.misc-tests/gcov-5b.x: Likewise. * gcc.misc-tests/gcov-6.x: Likewise. * gcc.misc-tests/gcov-7.x: Likewise. * gcc.misc-tests/gcov-8.x: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64937 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.misc-tests/bprob.exp: Disable test cases for h8300-*-* askazu2003-03-111-1/+2
| | | | | | | profiling options are not supported. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64171 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.c: Replace "mcpu" with "mtune".rth2003-02-231-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | * config/i386/i386.h (TARGET_OPTIONS): Likewise. (CC1_CPU_SPEC): Likewise. New warning for "-mcpu". * doc/invoke.texi (i386 and x86-64 Options): Replace "mcpu" with "mtune". Note that "mcpu" is a deprecated synonym for "mtune". * g++.old-deja/g++.other/store-expr1.C: Replace "mcpu" with "mtune". * g++.old-deja/g++.other/store-expr2.C: Likewise. * gcc.c-torture/execute/20010129-1.x: Likewise. * gcc.dg/20011107-1.c: Likewise. * gcc.dg/20020108-1.c: Likewise. * gcc.dg/20020122-3.c: Likewise. * gcc.dg/20020206-1.c: Likewise. * gcc.dg/20020310-1.c: Likewise. * gcc.dg/20020426-2.c: Likewise. * gcc.dg/20020517-1.c: Likewise. * gcc.dg/991230-1.c: Likewise. * gcc.dg/i386-unroll-1.c: Likewise. * gcc.misc-tests/i386-prefetch.exp: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63313 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/profopt.exp (profopt-cleanup): New argument TESTCASE.uweigand2002-10-211-4/+0
| | | | | | | | | | | | | | | | | | | | | Remove only files with the same base name as the test case. (profopt-perf-value): Pass TESTCASE to profopt-cleanup. (profopt-execute): Likewise. Also, remove old profiling and performance data files before running the tests. * gcc.misc-tests/bprob.exp: Remove profopt-cleanup calls. * g++.dg/bprob/bprob.exp: Likewise. * g77.dg/bprob/bprob.exp: Likewise. Also, relax regexp to allow more general test case names. * g++.dg/bprob/bprob-1.C: Rename to ... * g++.dg/bprob/g++-bprob-1.C: ... this. * g77.dg/bprob/bprob-1.f: Rename to ... * g77.dg/bprob/g77-bprob-1.f: ... this. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58380 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/weak/typeof-2.c: Handle s390x targets as well.uweigand2002-10-211-0/+6
| | | | | | | * gcc.misc-tests/linkage.exp: Handle s390x targets in -m31 mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58361 138bc75d-0d04-0410-961f-82ee72b054a4
* * ChangeLog: follow spelling conventions.kazu2002-09-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * g++.old-deja/g++.abi/ptrmem.C: Likewise. * g++.old-deja/g++.bugs/900210_05.C: Likewise. * g++.old-deja/g++.bugs/900211_04.C: Likewise. * g++.old-deja/g++.bugs/900321_02.C: Likewise. * g++.old-deja/g++.bugs/900404_02.C: Likewise. * g++.old-deja/g++.bugs/900520_06.C: Likewise. * g++.old-deja/g++.law/global-init1.C: Likewise. * g++.old-deja/g++.other/delete4.C: Likewise. * g++.old-deja/g++.other/inline21.C: Likewise. * g++.old-deja/g++.other/singleton.C: Likewise. * g77.dg/strlen0.f: Likewise. * g77.f-torture/compile/20010519-1.f: Likewise. * g77.f-torture/compile/980310-4.f: Likewise. * gcc.c-torture/compile/20000605-1.c: Likewise. * gcc.c-torture/execute/20020225-1.c: Likewise. * gcc.dg/c90-hexfloat-2.c: Likewise. * gcc.dg/c99-bool-1.c: Likewise. * gcc.dg/c99-hexfloat-2.c: Likewise. * gcc.dg/dll-2.c: Likewise. * gcc.dg/wtr-union-init-1.c: Likewise. * gcc.dg/wtr-union-init-2.c: Likewise. * gcc.dg/wtr-union-init-3.c: Likewise. * gcc.dg/cpp/avoidpaste1.c: Likewise. * gcc.dg/cpp/defined.c: Likewise. * gcc.dg/cpp/macsyntx.c: Likewise. * gcc.dg/cpp/paste2.c: Likewise. * gcc.dg/cpp/trad/defined.c: Likewise. * gcc.dg/format/c90-printf-1.c: Likewise. * gcc.dg/format/c90-scanf-1.c: Likewise. * gcc.dg/format/c99-printf-1.c: Likewise. * gcc.dg/format/c99-scanf-1.c: Likewise. * gcc.misc-tests/gcov-8.c: Likewise. * lib/profopt.exp: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57189 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:nathan2002-08-052-0/+49
| | | | | | | | | | | * gcov.c (output_data): Round to % to nearest, tweak formatting. testsuite: * lib/gcov.exp: Tweak expected line formats. * gcc.misc-tests/gcov8.c: New test. * gcc.misc-tests/gcov8.x: New flags. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56059 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (mips*-*-irix6*o32): Enable stabs.ro2002-07-111-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc: * config.gcc (mips-sgi-irix6*o32): New configuration. * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32 configurations. * configure: Regenerate. * config/mips/iris6-o32-as.h: New file. * config/mips/iris6-o32.h: New file. * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define. (NM_FLAGS): Define. (HAVE_AS_SHF_MERGE): Undefine. * config/mips/t-iris5-as: New file. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it. * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME, SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT, dp-bit.c, fp-bit.c): Move ... * config/mips/t-iris5-6: ... here. New file, shared by IRIX 5 and IRIX 6. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*, mips-sgi-irix5*): Use it. * config/mips/iris6.h: Remove duplicate comment. * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 && !TARGET_IRIX6]: Define. (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6. * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment. gcc/testsuite: * gcc.misc-tests/linkage.exp: Handle mips-sgi-irix6*o32 configuration and IRIX 6 O32 ABI. libstdc++-v3: * configure.target (target_os switch): Allow for irix6*o32 configurations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55401 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.misc-tests/linkage.exp: Update last change to handleghazi2002-04-041-1/+1
| | | | | | | sparc*-, not just sparc-. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51828 138bc75d-0d04-0410-961f-82ee72b054a4
* * g77.dg/bprob/bprob.exp: Skip for mmix-*-* and cris-*-*.hp2002-04-031-1/+8
| | | | | | | * g++.dg/bprob/bprob.exp, gcc.misc-tests/bprob.exp: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51772 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.misc-tests/linkage.exp: Special case 64-bit solaris2.ghazi2002-04-011-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51691 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-decl.c (finish_function): Warn about a non-void function withjason2002-02-063-3/+3
| | | | | | | | | | | | | | | | | | | | no return statement and no abnormal exit. (current_function_returns_abnormally): New variable. (start_function): Clear it. (struct c_language_function): Add returns_abnormally. (push_c_function_context): Save it. (pop_c_function_context): Restore it. (builtin_function): Set TREE_THIS_VOLATILE on return fns. (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without an explicit return type. * c-tree.h: Declare current_function_returns_abnormally. (C_FUNCTION_IMPLICIT_INT): New macro. * c-typeck.c (build_function_call): Set it. (c_expand_return): Set current_function_returns_value even if the value is erroneous. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49551 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-18 David Billinghurst <David.Billinghurst@riotinto.com>billingd2002-01-171-0/+8
| | | | | | | | * gcc.misc-tests/i386-prefetch.exp: Save and restore torture_with_loops and torture_without_loops git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48968 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.misc-tests/i386-prefetch.exp: New.janis2002-01-155-0/+208
| | | | | | | | | | * gcc.misc-tests/i386-pf-3dnow-1.c: New test. * gcc.misc-tests/i386-pf-athlon-1.c: New test. * gcc.misc-tests/i386-pf-none-1.c: New test. * gcc.misc-tests/i386-pf-sse-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48876 138bc75d-0d04-0410-961f-82ee72b054a4
* Add missing URL for message that prompted this new testnickc2001-12-211-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48241 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix prologue/epilogue generation for ARM ISR routines.nickc2001-12-202-0/+75
| | | | | | | Add test case to catch bugs reported in prologue/epilogue generation for ARM ISR routines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48210 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.misc-tests/msgs.exp: Delete.zack2001-10-253-98/+0
| | | | | | | | | * gcc.misc-tests/m-un-1.c: Move to gcc.dg. * gcc.misc-tests/m-un-2.c: Move to gcc.dg. Update expected error set to match recent changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46491 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,jsm282001-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | config/i386/i386elf.h, config/i386/netbsd-elf.h, config/i386/netware.h, config/mcore/gfloat.h, config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md, config/netware.h, gccbug.in: Update FSF address. ada: * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update FSF address. testsuite: * consistency.vlad/vlad.exp, g++.old-deja/g++.mike/p784.C, g++.old-deja/old-deja.exp, g77.f-torture/compile/compile.exp, g77.f-torture/execute/execute.exp, g77.f-torture/noncompile/noncompile.exp, gcc.c-torture/compile/compile.exp, gcc.c-torture/execute/execute.exp, gcc.c-torture/execute/ieee/ieee.exp, gcc.c-torture/execute/memcheck/memcheck.exp, gcc.c-torture/unsorted/unsorted.exp, gcc.misc-tests/linkage.exp, objc/execute/execute.exp: Update FSF address. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46118 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.misc-tests/gcov.exp: Move almost everything to a new,janis2001-09-111-317/+1
| | | | | | | | | language-independent file in lib. * lib/gcov.exp: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45546 138bc75d-0d04-0410-961f-82ee72b054a4
* Test -fbranch-probabilities with computed gotos.janis2001-09-101-0/+42
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45528 138bc75d-0d04-0410-961f-82ee72b054a4
* Test various C constructs with -fbranch-probabilities.janis2001-09-101-0/+269
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45527 138bc75d-0d04-0410-961f-82ee72b054a4
* Support for tests of -fbranch-probability.janis2001-09-101-0/+55
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45526 138bc75d-0d04-0410-961f-82ee72b054a4
* Test gcov output for functions that use longjmp.janis2001-09-071-0/+84
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45468 138bc75d-0d04-0410-961f-82ee72b054a4
* Control which kinds of gcov output to verify.janis2001-09-074-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45467 138bc75d-0d04-0410-961f-82ee72b054a4
* Add support for a .x file to control XFAIL and wich kinds of gcov outputjanis2001-09-071-6/+32
| | | | | | | to verify. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45466 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud