gcc/gcc/testsuite
Bill Schmidt 6a6eb20cce backport: re PR target/83946 (Safe Indirect Jumps broken on AIX)
[gcc]

2018-01-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	Backport from mainline
	2018-01-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
		    David Edelsohn  <dje.gcc@gmail.com>

	PR target/83946
	* config/rs6000/rs6000.md (*call_indirect_nonlocal_sysv<mode>):
	Change "crset eq" to "crset 2".
	(*call_value_indirect_nonlocal_sysv<mode>): Likewise.
	(*call_indirect_aix<mode>_nospec): Likewise.
	(*call_value_indirect_aix<mode>_nospec): Likewise.
	(*call_indirect_elfv2<mode>_nospec): Likewise.
	(*call_value_indirect_elfv2<mode>_nospec): Likewise.
	(*sibcall_nonlocal_sysv<mode>): Change "crset eq" to "crset 2";
	change assembly output from . to $.
	(*sibcall_value_nonlocal_sysv<mode>): Likewise.
	(indirect_jump<mode>_nospec): Change assembly output from . to $.
	(*tablejump<mode>_internal1_nospec): Likewise.

[gcc/testsuite]

2018-01-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	Backport from mainline
	2018-01-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
		    David Edelsohn  <dje.gcc@gmail.com>

	PR target/83946
	* gcc.target/powerpc/safe-indirect-jump-1.c: Change expected
	assembly output from "crset eq" to "crset 2".
	* gcc.target/powerpc/safe-indirect-jump-2.c: Change expected
	assembly output from . to $.
	* gcc.target/powerpc/safe-indirect-jump-3.c: Likewise.
	* gcc.target/powerpc/safe-indirect-jump-1.c: Change expected
	assembly output from "crset eq" to "crset 2".
	* gcc.target/powerpc/safe-indirect-jump-8.c: Change expected
	assembly output from "crset eq" to "crset 2", and from . to $.

From-SVN: r256932
2018-01-21 13:32:58 +00:00
..
ada
brig.dg
c-c++-common re PR c++/83553 (compiler removes body of the for-loop, although there is a case label inside) 2017-12-23 09:43:10 +01:00
config
g++.dg PR c++/81843 - ICE with variadic member template. 2018-01-17 13:08:05 -05:00
g++.old-deja Use relative line number for subsequent dg directives 2017-04-19 06:55:33 +00:00
gcc.c-torture re PR rtl-optimization/83565 (RTL combine pass yields wrong rotate result) 2018-01-12 10:20:42 +00:00
gcc.dg backport: [multiple changes] 2018-01-17 12:51:07 +00:00
gcc.misc-tests
gcc.target backport: re PR target/83946 (Safe Indirect Jumps broken on AIX) 2018-01-21 13:32:58 +00:00
gcc.test-framework Use relative line number for subsequent dg directives 2017-04-19 06:55:33 +00:00
gfortran.dg re PR fortran/83900 (ICE in gfc_simplify_matmul, at fortran/simplify.c:4593) 2018-01-20 20:45:50 +00:00
gfortran.fortran-torture S/390: PR80464: Split MEM->GPR vector moves 2017-04-25 11:18:52 +00:00
gnat.dg decl.c (gnat_to_gnu_field): Do not set the alignment of the enclosing record type if it is not already set. 2017-12-14 17:05:43 +00:00
go.dg
go.go-torture/execute
go.test Backport correct Go MIPS architecture names from trunk. 2017-10-09 16:59:38 +00:00
jit.dg
lib Adapt Solaris 12 references 2017-11-21 09:31:12 +00:00
obj-c++.dg Use relative line number for subsequent dg directives 2017-04-19 06:55:33 +00:00
objc
objc-obj-c++-shared
objc.dg Use relative line number for subsequent dg directives 2017-04-19 06:55:33 +00:00
selftests
.gitattributes
ChangeLog backport: re PR target/83946 (Safe Indirect Jumps broken on AIX) 2018-01-21 13:32:58 +00:00
ChangeLog-1993-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog.graphite
ChangeLog.jit
ChangeLog.ptr
ChangeLog.tree-ssa
README
README.compat
README.gcc

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.