gcc/gcc/testsuite
Martin Liska c7775327e8 Speed up use-after-scope (v2): rewrite into SSA
2017-01-23  Martin Liska  <mliska@suse.cz>

	* asan.c (create_asan_shadow_var): New function.
	(asan_expand_poison_ifn): Likewise.
	* asan.h (asan_expand_poison_ifn): New declaration.
	* internal-fn.c (expand_ASAN_POISON): Likewise.
	* internal-fn.def (ASAN_POISON): New builtin.
	* sanopt.c (pass_sanopt::execute): Expand
	asan_expand_poison_ifn.
	* tree-inline.c (copy_decl_for_dup_finish): Make function
	external.
	* tree-inline.h (copy_decl_for_dup_finish): Likewise.
	* tree-ssa.c (is_asan_mark_p): New function.
	(execute_update_addresses_taken): Rewrite local variables
	(identified just by use-after-scope as addressable) into SSA.
2017-01-23  Martin Liska  <mliska@suse.cz>

	* gcc.dg/asan/use-after-scope-3.c: Add additional flags.
	* gcc.dg/asan/use-after-scope-9.c: Likewise and grep for
	sanopt optimization for ASAN_POISON.

From-SVN: r244791
2017-01-23 12:02:13 +00:00
..
ada
c-c++-common re PR c/79152 (-Wimplicit-fallthrough false positive triggered by goto statements) 2017-01-20 16:28:16 +00:00
config Update copyright years. 2017-01-01 13:07:43 +01:00
g++.dg re PR testsuite/79169 (g++.dg/warn/Wduplicated-branches1.C fails on powerpc since its introduction in r244705) 2017-01-21 12:00:40 +00:00
g++.old-deja Update copyright years. 2017-01-01 13:07:43 +01:00
gcc.c-torture [expand] Fix for PR rtl-optimization/79121 incorrect expansion of extend plus left shift 2017-01-19 10:35:38 +00:00
gcc.dg Speed up use-after-scope (v2): rewrite into SSA 2017-01-23 12:02:13 +00:00
gcc.misc-tests godump.c (go_format_type): Treat ENUMERAL_TYPE like INTEGER_TYPE. 2017-01-04 00:58:34 +00:00
gcc.target [ARM,AArch64][testsuite] Fix format string in AdvSIMD tests. 2017-01-23 09:56:36 +01:00
gcc.test-framework Update copyright years. 2017-01-01 13:07:43 +01:00
gfortran.dg re PR fortran/79154 (omp declare simd in pure function?) 2017-01-22 20:36:57 +01:00
gfortran.fortran-torture Update copyright years. 2017-01-01 13:07:43 +01:00
gnat.dg opt62.adb: New test. 2017-01-16 08:46:20 +00:00
go.dg Update copyright years. 2017-01-01 13:07:43 +01:00
go.go-torture/execute Update copyright years. 2017-01-01 13:07:43 +01:00
go.test Update copyright years. 2017-01-01 13:07:43 +01:00
jit.dg jit.dg: fix issue with compilation of test-threads.c 2017-01-18 20:47:12 +00:00
lib Skip optional_mthumb tests if GCC has a default mode 2017-01-20 15:29:21 +00:00
obj-c++.dg Update copyright years. 2017-01-01 13:07:43 +01:00
objc Update copyright years. 2017-01-01 13:07:43 +01:00
objc-obj-c++-shared Update copyright years. 2017-01-01 13:07:43 +01:00
objc.dg Update copyright years. 2017-01-01 13:07:43 +01:00
selftests Introduce RTL function reader 2017-01-05 19:32:09 +00:00
.gitattributes
ChangeLog Speed up use-after-scope (v2): rewrite into SSA 2017-01-23 12:02:13 +00:00
ChangeLog-1993-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016 Update copyright years. 2017-01-01 13:07:43 +01:00
ChangeLog.graphite
ChangeLog.jit
ChangeLog.ptr
ChangeLog.tree-ssa
README Update copyright years. 2017-01-01 13:07:43 +01:00
README.compat Update copyright years. 2017-01-01 13:07:43 +01:00
README.gcc Update copyright years. 2017-01-01 13:07:43 +01:00

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This is a collection of tests for GCC. For further information about
the C testsuite, see README.gcc.

The driver that runs this testsuite is called DejaGnu and you will
need a current DejaGnu snapshot, which is available from
ftp://gcc.gnu.org/pub/gcc/infrastructure, for example.

These tests are included "as is". If any of them fails, do not report
a bug.  Bug reports for DejaGnu can go to bug-dejagnu@gnu.org.
Discussion and comments about this testsuite should be sent to
gcc@gcc.gnu.org; additions and changes to should go to sent to
gcc-patches@gcc.gnu.org.

The entire testsuite is invoked by `make check` at the top level of
the GCC tree. `make check-g++` runs the C++ testsuite only.

STRUCTURE OF THE G++ TESTSUITE

  g++.dg tests:

  All new tests should be placed in an appropriate subdirectory of g++.dg.

  g++.old-deja tests:

  g++.benjamin	Tests by Benjamin Koz
  g++.bob
  g++.brendan	Tests by Brendan Kehoe
  g++.bugs
  g++.eh  	Tests for exception handling
  g++.ext  	Tests for g++ extensions
  g++.gb  	Tests by Gerald Baumgartner
  g++.jason	Tests by Jason Merill
  g++.jeff	Tests by Jeffrey A Law
  g++.martin	Tests by Martin v. Löwis
  g++.mike	Tests by Mike Stump
  g++.niklas	Tests by Niklas Hallqvist
  g++.ns  	Tests for namespaces
  g++.other
  g++.pt  	Tests for templates
  g++.rfg
  g++.robertl	Tests from gcc-bugs@gcc.gnu.org, gathered by Robert Lipe
	
Finally, some random last minute notes by Mike Stump <mrs@cygnus.com>, on
how to run tests (in the GCC 2.7 era):

	runtest --tool g++ --srcdir ./testsuite

where 

	runtest	Is the name used to invoke DejaGnu.   If DejaGnu is not
		install this will be the relative path name for runtest.

	--tool	This tells DejaGnu which tool you are testing. It is
		mainly used to find the testsuite directories for a
		particular tool when several testsuites are in the
		same directory. (like the gcc and g++ testsuites)

	--srcdir This points to the top level of the directory
		containing the sources of the testsuite. This is
		./testsuite if you are in the directory that has the
		testsuite directory.


Copyright (C) 1998-2017 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.