Commit 813ba013 by Jakub Jelinek Committed by Jakub Jelinek

re PR bootstrap/64612 (profiledbootstrap failures)

	PR bootstrap/64612
	* lib/target-supports.exp (check_effective_target_comdat_group): New.
	* g++.dg/ipa/pr64612.C: Guard scan-assembler test with
	{ target comdat_group }.

	* doc/sourcebuild.texi (comdat_group): Document.

From-SVN: r220198
parent 5ea22cfc
2015-01-28 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/64612
* doc/sourcebuild.texi (comdat_group): Document.
2015-01-28 Terry Guo <terry.guo@arm.com>
* config/arm/thumb1.md (*thumb1_movpc_insn): New insn pattern.
......
......@@ -1930,6 +1930,9 @@ Target supports @code{wchar_t} that is compatible with @code{char16_t}.
@item wchar_t_char32_t_compatible
Target supports @code{wchar_t} that is compatible with @code{char32_t}.
@item comdat_group
Target uses comdat groups.
@end table
@subsubsection Local to tests in @code{gcc.target/i386}
......
2015-01-28 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/64612
* lib/target-supports.exp (check_effective_target_comdat_group): New.
* g++.dg/ipa/pr64612.C: Guard scan-assembler test with
{ target comdat_group }.
2015-01-27 Tobias Burnus <burnus@net-b.de>
PR fortran/63861
......
/* { dg-do compile } */
/* { dg-options "-O3 -std=c++11" } */
/* { dg-final { scan-assembler "_ZN5QListI7QStringED1Ev" } } */
/* { dg-final { scan-assembler "_ZN5QListI7QStringED1Ev" { target comdat_group } } } */
class A
{
......
......@@ -6199,3 +6199,13 @@ proc check_effective_target_pie_copyreloc { } {
return $pie_copyreloc_available_saved
}
# Return 1 if the target uses comdat groups.
proc check_effective_target_comdat_group {} {
return [check_no_messages_and_pattern comdat_group "\.section\[^\n\r]*,comdat" assembly {
// C++
inline int foo () { return 1; }
int (*fn) () = foo;
}]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment