This is the mail archive of the gcc-cvs@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]

r241897 - in /trunk/gcc/testsuite: ChangeLog c-...


Author: marxin
Date: Mon Nov  7 10:25:18 2016
New Revision: 241897

URL: https://gcc.gnu.org/viewcvs?rev=241897&root=gcc&view=rev
Log:
Introduce tests for -fsanitize-address-use-after-scope

	* c-c++-common/asan/force-inline-opt0-1.c: Disable
	-f-sanitize-address-use-after-scope.
	* c-c++-common/asan/inc.c: Change number of expected ASAN_CHECK
	internal fn calls.
	* g++.dg/asan/use-after-scope-1.C: New test.
	* g++.dg/asan/use-after-scope-2.C: Likewise.
	* g++.dg/asan/use-after-scope-3.C: Likewise.
	* g++.dg/asan/use-after-scope-types-1.C: Likewise.
	* g++.dg/asan/use-after-scope-types-2.C: Likewise.
	* g++.dg/asan/use-after-scope-types-3.C: Likewise.
	* g++.dg/asan/use-after-scope-types-4.C: Likewise.
	* g++.dg/asan/use-after-scope-types-5.C: Likewise.
	* g++.dg/asan/use-after-scope-types.h: Likewise.
	* gcc.dg/asan/use-after-scope-1.c: Likewise.
	* gcc.dg/asan/use-after-scope-2.c: Likewise.
	* gcc.dg/asan/use-after-scope-3.c: Likewise.
	* gcc.dg/asan/use-after-scope-4.c: Likewise.
	* gcc.dg/asan/use-after-scope-5.c: Likewise.
	* gcc.dg/asan/use-after-scope-6.c: Likewise.
	* gcc.dg/asan/use-after-scope-7.c: Likewise.
	* gcc.dg/asan/use-after-scope-8.c: Likewise.
	* gcc.dg/asan/use-after-scope-9.c: Likewise.
	* gcc.dg/asan/use-after-scope-switch-1.c: Likewise.
	* gcc.dg/asan/use-after-scope-switch-2.c: Likewise.
	* gcc.dg/asan/use-after-scope-switch-3.c: Likewise.
	* gcc.dg/asan/use-after-scope-goto-1.c: Likewise.
	* gcc.dg/asan/use-after-scope-goto-2.c: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/asan/use-after-scope-1.C
    trunk/gcc/testsuite/g++.dg/asan/use-after-scope-2.C
    trunk/gcc/testsuite/g++.dg/asan/use-after-scope-3.C
    trunk/gcc/testsuite/g++.dg/asan/use-after-scope-types-1.C
    trunk/gcc/testsuite/g++.dg/asan/use-after-scope-types-2.C
    trunk/gcc/testsuite/g++.dg/asan/use-after-scope-types-3.C
    trunk/gcc/testsuite/g++.dg/asan/use-after-scope-types-4.C
    trunk/gcc/testsuite/g++.dg/asan/use-after-scope-types-5.C
    trunk/gcc/testsuite/g++.dg/asan/use-after-scope-types.h
    trunk/gcc/testsuite/gcc.dg/asan/use-after-scope-1.c
    trunk/gcc/testsuite/gcc.dg/asan/use-after-scope-2.c
    trunk/gcc/testsuite/gcc.dg/asan/use-after-scope-3.c
    trunk/gcc/testsuite/gcc.dg/asan/use-after-scope-4.c
    trunk/gcc/testsuite/gcc.dg/asan/use-after-scope-5.c
    trunk/gcc/testsuite/gcc.dg/asan/use-after-scope-6.c
    trunk/gcc/testsuite/gcc.dg/asan/use-after-scope-7.c
    trunk/gcc/testsuite/gcc.dg/asan/use-after-scope-8.c
    trunk/gcc/testsuite/gcc.dg/asan/use-after-scope-9.c
    trunk/gcc/testsuite/gcc.dg/asan/use-after-scope-goto-1.c
    trunk/gcc/testsuite/gcc.dg/asan/use-after-scope-goto-2.c
    trunk/gcc/testsuite/gcc.dg/asan/use-after-scope-switch-1.c
    trunk/gcc/testsuite/gcc.dg/asan/use-after-scope-switch-2.c
    trunk/gcc/testsuite/gcc.dg/asan/use-after-scope-switch-3.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/asan/force-inline-opt0-1.c
    trunk/gcc/testsuite/c-c++-common/asan/inc.c


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