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]

r198103 - in /branches/google/gcc-4_8/gcc: dwar...


Author: ccoutant
Date: Fri Apr 19 21:12:32 2013
New Revision: 198103

URL: http://gcc.gnu.org/viewcvs?rev=198103&root=gcc&view=rev
Log:
This patch for the google/gcc-4_8 branch.

It backports the following two patches from trunk to fix testsuite
failures when -fdebug-types-section is enabled.

Tested with crosstool-validate.py.

http://gcc.gnu.org/ml/gcc-cvs/2013-04/msg00768.html

2013-04-18   Cary Coutant  <ccoutant@google.com>

gcc/testsuite/
	* g++.dg/debug/dwarf2/typedef2.C: Add -fno-debug-types-section flag.
	* g++.dg/debug/dwarf2/typedef4.C: Likewise.
	* g++.dg/debug/dwarf2/static-data-member1.C: Likewise.
	* g++.dg/debug/dwarf2/global-used-types-1.C: Likewise.
	* g++.dg/debug/dwarf2/self-ref-1.C: Likewise.
	* g++.dg/debug/dwarf2/nested-2.C: Likewise.
	* g++.dg/debug/dwarf2/typedef1.C: Likewise.
	* g++.dg/debug/dwarf2/namespace-2.C: Likewise.
	* g++.dg/debug/dwarf2/integer-typedef.C: Likewise.
	* g++.dg/debug/dwarf2/self-ref-2.C: Likewise.
	* g++.dg/debug/dwarf2/explicit-constructor.C: Likewise.

http://gcc.gnu.org/ml/gcc-cvs/2013-04/msg00775.html

2013-04-18   Cary Coutant  <ccoutant@google.com>

gcc/
	* dwarf2out.c (output_pubnames): Check die_perennial_p of
	parent instead of die_mark.

gcc/testsuite/
	* g++.dg/debug/dwarf2/pubnames-2.C: Add -fno-debug-types-section.
	* g++.dg/debug/dwarf2/pubnames-3.C: New test case.

Added:
    branches/google/gcc-4_8/gcc/testsuite/g++.dg/debug/dwarf2/pubnames-3.C
Modified:
    branches/google/gcc-4_8/gcc/dwarf2out.c
    branches/google/gcc-4_8/gcc/testsuite/g++.dg/debug/dwarf2/explicit-constructor.C
    branches/google/gcc-4_8/gcc/testsuite/g++.dg/debug/dwarf2/global-used-types-1.C
    branches/google/gcc-4_8/gcc/testsuite/g++.dg/debug/dwarf2/integer-typedef.C
    branches/google/gcc-4_8/gcc/testsuite/g++.dg/debug/dwarf2/namespace-2.C
    branches/google/gcc-4_8/gcc/testsuite/g++.dg/debug/dwarf2/nested-2.C
    branches/google/gcc-4_8/gcc/testsuite/g++.dg/debug/dwarf2/pubnames-2.C
    branches/google/gcc-4_8/gcc/testsuite/g++.dg/debug/dwarf2/self-ref-1.C
    branches/google/gcc-4_8/gcc/testsuite/g++.dg/debug/dwarf2/self-ref-2.C
    branches/google/gcc-4_8/gcc/testsuite/g++.dg/debug/dwarf2/static-data-member1.C
    branches/google/gcc-4_8/gcc/testsuite/g++.dg/debug/dwarf2/typedef1.C
    branches/google/gcc-4_8/gcc/testsuite/g++.dg/debug/dwarf2/typedef2.C
    branches/google/gcc-4_8/gcc/testsuite/g++.dg/debug/dwarf2/typedef4.C


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