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]

r242877 - in /trunk/gcc: ChangeLog coverage.c t...


Author: marxin
Date: Fri Nov 25 14:23:25 2016
New Revision: 242877

URL: https://gcc.gnu.org/viewcvs?rev=242877&root=gcc&view=rev
Log:
Don't use priority {cd}tors if not supported by a target (PR

	PR gcov-profile/78086
	* g++.dg/gcov/pr16855.C: Clean up the test case.
	* g++.dg/gcov/pr16855-priority.C: New test.
	* coverage.c (build_init_ctor): Don't use priority {cd}tors if
	not supported by a target.  Set priority to 100 if possible.
	(build_gcov_exit_decl): Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/gcov/pr16855-priority.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/coverage.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/gcov/pr16855.C


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