Commit b085b0e9 by Tom de Vries Committed by Tom de Vries

For cproj test-case, use glibc version xfail

2014-08-04  Tom de Vries  <tom@codesourcery.com>

	* gcc.dg/cproj-fails-with-broken-glibc.c: Use xfail for broken glibc
	version instead of required-target.
	* lib/target-supports.exp
	(check_effective_target_not_glibc_2_11_or_earlier): Replace by ...
	(check_effective_target_glibc_2_11_or_earlier): ... this.

	* doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
	(glibc_2_11_or_earlier): Document effective-target keywords.

From-SVN: r213543
parent dfaff97b
2014-08-04 Tom de Vries <tom@codesourcery.com>
* doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
(glibc_2_11_or_earlier): Document effective-target keywords.
2014-08-01 Jan Hubicka <hubicka@ucw.cz>
* ipa-devirt.c (odr_type_warn_count): Add type.
......
......@@ -1804,6 +1804,15 @@ Target is a VxWorks RTP.
@item wchar
Target supports wide characters.
@item glibc
Target supports glibc
@item glibc_2_12_or_later
Target supports glibc 2.12 or later
@item glibc_2_11_or_earlier
Target supports glibc 2.11 or earlier
@end table
@subsubsection Other attributes
......
2014-08-04 Tom de Vries <tom@codesourcery.com>
* gcc.dg/cproj-fails-with-broken-glibc.c: Use xfail for broken glibc
version instead of required-target.
* lib/target-supports.exp
(check_effective_target_not_glibc_2_11_or_earlier): Replace by ...
(check_effective_target_glibc_2_11_or_earlier): ... this.
2014-08-04 Arnaud Charlet <charlet@adacore.com>
* gnat.dg/discr6.adb, gnat.dg/discr6_pkg.ads: Removed, no longer
......
......@@ -7,11 +7,10 @@
Origin: Kaveh R. Ghazi, April 20, 2010. */
/* { dg-do run } */
/* { dg-do run { xfail glibc_2_11_or_earlier } } */
/* { dg-options "-fno-builtin-cproj" } */
/* { dg-add-options c99_runtime } */
/* { dg-require-effective-target c99_runtime } */
/* { dg-require-effective-target not_glibc_2_11_or_earlier } */
extern void abort(void);
extern void exit(int);
......
......@@ -5061,19 +5061,19 @@ proc check_effective_target_glibc_2_12_or_later {} {
}]
}
# Return true if this is a not a glibc 2.11 or earlier target.
# Return true if this is a glibc 2.11 or earlier target.
proc check_effective_target_not_glibc_2_11_or_earlier {} {
proc check_effective_target_glibc_2_11_or_earlier {} {
if { ![check_effective_target_glibc] } {
return 1
}
if { [check_effective_target_glibc_2_12_or_later] } {
return 1
return 0
}
return 0
return 1
}
# Return true if this is NOT a Bionic target.
......
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