aboutsummaryrefslogtreecommitdiff
path: root/libmudflap/testsuite/libmudflap.c++
AgeCommit message (Collapse)AuthorFilesLines
2013-10-26Makefile.def (target_modules): Remove libmudflapJeff Law17-276/+0
* Makefile.def (target_modules): Remove libmudflap (languages): Remove check-target-libmudflap). * Makefile.in: Rebuilt. * Makefile.tpl (check-target-libmudflap-c++): Remove. * configure.ac (target_libraries): Remove target-libmudflap. Remove checks which disabled libmudflap on some systems. * configure: Rebuilt. * libmudflap: Directory removed. * Makefile.in (C_COMMON_OBJS): Remove tree-mudflap. (OBJS): Remove tree-nomudflap.o (GTFILES): Remove tree-mudflap.c * builtins.c (expand_builtin_alloc): Remove mudflap support. * gcc.c (MFWRAP_SPEC, MFLIB_SPEC): Likewise. (mfwrap_spec, mflib_spec): Likewise. (cpp_unique_options, cc1_options, static_specs): Likewise. * gimplify (gimplify_vla_decl, build_va_arg_indirect_ref): Likewise. * passes.def: Likewise. * toplev.c (compile_file, process_options): Likewise. * tree-inline.c (copy_tree_r): Likewise. * tree-pass.,h (make_pass_mudflap_1, make_pass_mudflap_2): Likewise. * varasm.c (make_decl_rtl, make_decl_rtl_for_debug): Likewise. (build_constant_desc, output_constant_def_contents): Likewise. (categorize_decl_for_section): Likewise. * tree-mudflap.c: Removed. * tree-mudflap.h: Removed. * tree-nomudflap.c: Removed. * bfin/uclinux.h (MFWRAP_SPEC): Remove. * moxie/uclinux.h (MFWRAP_SPEC): Likewise. * rs6000/aix.h (MFWRAP_SPEC, MFLIB_SPEC): Likewise. * config/sol2.h (MFLIB_SPEC): Likewise. * doc/install.texi: Remove mudflap references. * doc/passes.texi: Similarly. * doc/sourcebuild.texi: Similarly. * doc/invoke.texi: Remove mudlfap related options. * c-family/c-common.c (c_define_builtins): Remove mudflap support. * c-family/c.opt: Ignore and warn for mudflap options. * g++.dg/torture/pr49309.C: Removed. * gcc.dg/dfp/pr35739.c: Removed. From-SVN: r204090
2012-07-13ctors.exp: Explicitely specify -O0.Richard Guenther2-2/+2
2012-07-13 Richard Guenther <rguenther@suse.de> * testsuite/libmudflap.c++/ctors.exp: Explicitely specify -O0. * testsuite/libmudflap.c++/c++frags.exp: Likewise. * testsuite/libmudflap.cth/cthfrags.exp: Likewise. * testsuite/libmudflap.c/cfrags.exp: Likewise. * testsuite/libmudflap.c/externs.exp: Likewise. From-SVN: r189464
2011-07-25re PR testsuite/49753 (FAIL: g++.dg/torture/pr49309.C)Rainer Orth1-15/+0
gcc/testsuite: PR testsuite/49753 * g++.dg/torture/pr49309.C: Add -fpreprocessed to dg-options. Revert: 2011-07-15 Jakub Jelinek <jakub@redhat.com> PR testsuite/49753 * g++.dg/torture/pr49309.C: Remove. libmudflap: Revert: 2011-07-15 Jakub Jelinek <jakub@redhat.com> PR testsuite/49753 PR tree-optimization/49309 * testsuite/libmudflap.c++/pass68-frag.cxx: New test. From-SVN: r176752
2011-07-15re PR testsuite/49753 (FAIL: g++.dg/torture/pr49309.C)Jakub Jelinek1-0/+15
PR testsuite/49753 PR tree-optimization/49309 * testsuite/libmudflap.c++/pass68-frag.cxx: New test. * g++.dg/torture/pr49309.C: Remove. From-SVN: r176327
2010-08-20pass41-frag.cxx (dg-prune-output): New dg directive.Uros Bizjak1-0/+3
* testsuite/libmudflap.c++/pass41-frag.cxx (dg-prune-output): New dg directive. From-SVN: r163394
2010-05-15mfdg.exp (additional_prunes): New global.Uros Bizjak1-0/+3
* testsuite/lib/mfdg.exp (additional_prunes): New global. (dg-test): Clear additional_prunes before test is run. (dg-prune-output): New procedure. * testsuite/lib/libmudflap.exp (libmudflap-dg-test): Do not call prune_gcc_output. (libmudflap-dg-prune): New procedure. * testsuite/libmudflap.c++/pass57-frag.cxx (dg-prune-output): New dg directive. From-SVN: r159440
2008-10-09re PR tree-optimization/37568 (ICE returning a struct)Jakub Jelinek1-0/+17
PR c++/37568 * semantics.c (finalize_nrv_r): Clear DECL_INITIAL instead of setting it to error_mark_node. * testsuite/libmudflap.c++/pass66-frag.cxx: New test. From-SVN: r141010
2008-01-03re PR c++/34619 (ICE with "-fmudflap" and templates)Jakub Jelinek1-0/+20
PR c++/34619 * cgraphunit.c (cgraph_build_static_cdtor): set_cfun back to NULL before returning. * testsuite/libmudflap.c++/pass61-frag.cxx: New test. From-SVN: r131302
2008-01-01re PR libmudflap/26442 (ICE on valid unreachable code (and no name) when ↵Volker Reichelt1-0/+13
compiling with -fmudflap) PR libmudflap/26442 * tree-mudflap.c (mx_register_decls): Guard warning by !DECL_ARTIFICIAL check. * testsuite/libmudflap.c++/pass60-frag.cxx: New test. From-SVN: r131249
2006-04-19re PR c++/26789 (ICE on incomplete struct with -fmudflap)Volker Reichelt2-0/+15
PR mudflap/26789 * testsuite/libmudflap.c++/error1-frag.cxx: New test. PR mudflap/26790 * testsuite/libmudflap.c++/error2-frag.cxx: New test. From-SVN: r113095
2005-11-22libmudflap.exp (libmudflap-init): Remove -static from MUDFLAP_FLAGS if ↵Janis Johnson2-2/+6
static library not supported. * testsuite/lib/libmudflap.exp (libmudflap-init): Remove -static from MUDFLAP_FLAGS if static library not supported. * testsuite/libmudflap.c/cfrags.exp (MUDFLAP_FLAGS): new. * testsuite/libmudflap.c/externs.exp: Ditto. * testsuite/libmudflap.c++/ctors.exp: Ditto. * testsuite/libmudflap.c++/c++frags.exp: Ditto. * testsuite/libmudflap.cth/cthfrags.exp: Ditto. From-SVN: r107371
2005-09-23pass58-frag.cxx: New test for heisenbug 19319.Frank Ch. Eigler1-0/+12
2005-09-23 Frank Ch. Eigler <fche@elastic.org> * testsuite/libmudflap.c++/pass58-frag.cxx: New test for heisenbug 19319. From-SVN: r104587
2005-06-14re PR testsuite/21094 (libmudflap C++ tests run even when C++ not configured)Frank Ch. Eigler2-0/+8
2005-06-14 Frank Ch. Eigler <fche@redhat.com> PR libmudflap/21094 * testsuite/libmudflap.c++/*.exp: Assert build tree g++. From-SVN: r100946
2005-04-12re PR other/19266 ([mudflap] ICE when compiling with -fmudflap -O)Frank Ch. Eigler2-1/+26
2005-04-12 Frank Ch. Eigler <fche@redhat.com> PR mudflap/19266 From Richard Henderson <rth@redhat.com>: * tree-mudflap.c (mf_build_check_statement_for): Correct block splitting logic. 2005-04-12 Frank Ch. Eigler <fche@redhat.com> PR mudflap/19266 * testsuite/libmudflap.c++/c++frags.exp: Also test -O permutation. * testsuite/libmudflap.c++/pass57-frag.cxx: New test. From-SVN: r98028
2005-02-13* typo fixFrank Ch. Eigler1-0/+1
From-SVN: r94984
2005-02-13re PR libmudflap/19319 (Mudflap produce many violations on simple, correct ↵Frank Ch. Eigler1-0/+6
c++ program) 2005-02-13 Frank Ch. Eigler <fche@redhat.com> PR mudflap/19319 * testsuite/libmudflap.c++/pass55-frag.c: New test. From-SVN: r94983
2004-10-13configure.ac: Check for more headers, functions.Frank Ch. Eigler1-1/+1
2004-10-12 Frank Ch. Eigler <fche@redhat.com> * configure.ac: Check for more headers, functions. * mf-hooks2.c (mkbuffer, unmkbuffer): New helper functions for tracking overridden FILE buffers. (fopen, setvbuf): New/revised hook functions for buffer overriding. (setbuf,setlinebuf,fdopen,freopen,fopen64,freopen64,fclose): Ditto. (fflush): Accept given NULL stream (means "all streams"). * mf-runtime.h.in: * mf-runtime.c (__mfu_check): Accept accesses that span adjacent HEAP/GUESS objects. (LOOKUP_CACHE_SIZE_MAX): Raise to 64K entries tentatively. (__mf_adapt_cache): Use them all. * testsuite/libmudflap.c/pass35-frag.c: Update warning message. * testsuite/libmudflap.c++/ctors.exp: Ditto. * testsuite/libmudflap.c/{pass51,pass52}-frag.c: New tests. * configure, config.h.in: Regenerated. From-SVN: r88996
2004-07-09Test case for g++/15861Frank Ch. Eigler4-2/+65
2004-07-09 Frank Ch. Eigler <fche@redhat.com> Test case for g++/15861 * testsuite/libmudflap.c++/ctors-[12].cxx: New test case halves. * testsuite/libmudflap.c++/ctors.exp: Driver. * testsuite/libmudflap.c++/c++frags.exp: Elide redundant default. Look only for *frag* test cases. From-SVN: r84392
2004-06-04Portability improvements, e.g., libmudflap/15293.Frank Ch. Eigler1-1/+1
2004-06-04 Frank Ch. Eigler <fche@redhat.com> Portability improvements, e.g., libmudflap/15293. * configure.in: Look for glibc extension functions. Look for support of -f{function,data}-sections. Look for more headers. Create testsuite/mfconfig.exp. Correct more "test x.." thinkos. * Makefile.am: Use $(SECTION_FLAGS). Collapse piecemeal-compiled mf-hooks* into usual single object per source. * mf-hooks*.c: Remove all #if WRAP_foo conditionals. * mf-hooks2.c: #include a bunch more system headers. Define strnlen if system doesn't provide one. * mf-hooks3.c (struct pthread_info): Add stack_*_alloc fields. (pthread_create): Use it to properly GC dead thread stacks. * mf-runtime.c (__mf_violation): Correct snprintf type warning. * testsuite/Makefile.am: Stop generating site.exp. * testsuite/mfconfig.exp.in: New file. * testsuite/config/default.exp: Load new mfconfig.exp. * testsuite/lib/libmudflap.exp (libmudflap-init): Add extra libraries. (prune_gcc_output): Add glibc static linking warnings. * testsuite/libmudflap.*/*frags.exp: Enumerate needed -lmudflap* libs. * testsuite/libmudflap.c/pass46-frag.c: Ditto. * configure, Makefile, aclocal.m4, config.h.in, testsuite/Makefile.in: Regenerated with autoconf 2.57 and automake 1.7. From-SVN: r82632
2004-05-17libmudflap.exp (libmudflap-init): For C++ test cases only...Frank Ch. Eigler1-1/+1
2004-05-17 Frank Ch. Eigler <fche@redhat.com> * lib/libmudflap.exp (libmudflap-init): For C++ test cases only, import some build settings from libstdc++-v3 testsuite_flags. * .../cfrags.exp, .../c++frags.exp, .../cthfrags.exp: Corresponding changes to pass test language. * mf-runtime.c (__mfu_check): Poison the cache with antidote for quicker mode-nop handling. From-SVN: r81944
2004-05-13Merge tree-ssa-20020619-branch into mainline.Diego Novillo6-0/+86
From-SVN: r81764