gcc/gcc/testsuite
Jakub Jelinek 1d6a323453 dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs use DW_OP_addr+DW_OP_stack_value instead of...
* dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs
	use DW_OP_addr+DW_OP_stack_value instead of DW_OP_implicit_value.
	(add_const_value_attribute): For CONST_STRING, SYMBOL_REFs and
	LABEL_REFs use DW_OP_addr+DW_OP_stack_value DW_AT_location instead of
	DW_AT_const_value.

	* gcc.dg/debug/dwarf2/const-1.c: Don't expect DW_AT_const_value,
	but instead DW_AT_location with DW_OP_addr+DW_OP_stack_value.  Add
	-gno-strict-dwarf -fno-merge-debug-strings to dg-options.
	* g++.dg/debug/dwarf2/const1.C: Likewise.
	* g++.dg/debug/dwarf2/template-params-3.C: Likewise.
	* g++.dg/debug/dwarf2/template-func-params-3.C: Likewise.

From-SVN: r155327
2009-12-17 23:07:13 +01:00
..
ada/acats * ada/acats/run_all.sh: Strip comments from norun.lst 2009-12-17 14:32:05 +01:00
c-c++-common re PR c/41935 (ICE : tree check: expected integer_cst, have nop_expr in int_cst_value, at tree.c:8301) 2009-11-06 09:46:45 +01:00
config
g++.dg dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs use DW_OP_addr+DW_OP_stack_value instead of... 2009-12-17 23:07:13 +01:00
g++.old-deja re PR c/40885 (build_indirect_ref i18n problems) 2009-12-17 03:22:22 +00:00
gcc.c-torture tree-chrec.c (chrec_convert_1): Only fold (T2)(t +- x) to (T2)t +- (T2)x if only integer types are involved. 2009-12-16 13:47:40 +01:00
gcc.dg dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs use DW_OP_addr+DW_OP_stack_value instead of... 2009-12-17 23:07:13 +01:00
gcc.misc-tests linkage.exp: Also check -m32 for i*86-*-linux*. 2009-11-18 09:50:45 -08:00
gcc.target re PR debug/41679 (internal compiler error: in loc_cmp, at var-tracking.c:2433) 2009-12-17 20:30:58 +01:00
gcc.test-framework dg-bogus-exp-XF.c: Move dg-bogus directive. 2009-09-29 17:40:28 +00:00
gfortran.dg re PR fortran/42144 ([OOP] deferred TBPs do not work) 2009-12-17 10:28:25 +01:00
gfortran.fortran-torture re PR tree-optimization/41654 (ICE: in gimple_cond_get_ops_from_tree, at gimple.c:417) 2009-10-10 14:53:27 +00:00
gnat.dg trans.c (add_decl_expr): At toplevel, mark the TYPE_ADA_SIZE field of records and unions. 2009-12-04 12:05:08 +00:00
lib re PR other/40302 (GCC must hard-require MPC before release) 2009-12-07 15:36:46 +00:00
obj-c++.dg stor-layout.c (place_field): Don't emit -Wpadded warnings for fields in builtin structs. 2009-10-14 23:30:19 +02:00
objc forward-1.x: XFAIL for -fgnu-runtime on x86_64-*-darwin*... 2009-12-17 11:02:33 +01:00
objc.dg re PR bootstrap/41405 (Bootstrap fails on *-apple-darwin* due to revision 151815) 2009-09-22 15:22:15 +02:00
ChangeLog dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs use DW_OP_addr+DW_OP_stack_value instead of... 2009-12-17 23:07:13 +01:00
ChangeLog-1993-2007
ChangeLog-2008
ChangeLog.ptr
ChangeLog.tree-ssa
README
README.QMTEST
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, 1999, 2000, 2003, 2005 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.