summaryrefslogtreecommitdiff
path: root/gcc/doc/sourcebuild.texi
diff options
context:
space:
mode:
authortomtab <tomtab@138bc75d-0d04-0410-961f-82ee72b054a4>2017-03-06 13:15:30 +0000
committertomtab <tomtab@138bc75d-0d04-0410-961f-82ee72b054a4>2017-03-06 13:15:30 +0000
commite1e8f52cc10df64c3b2fd64ffc1a01cf9f672a8e (patch)
tree50986e8c975549cb85de6e7f01986def77c145a4 /gcc/doc/sourcebuild.texi
parentedfa363756387315a4b32d50810e670cf1f86560 (diff)
downloadgcc-e1e8f52cc10df64c3b2fd64ffc1a01cf9f672a8e.tar.gz
Add check_effective_target_gettimeofday and use it in gcc.dg/lto/pr60449_0.c.
gcc/ * doc/sourcebuild.texi (Effective-Target Keywords, Environment attributes): Document gettimeofday. gcc/testsuite/ * gcc.dg/lto/pr60449_0.c: Add dg-require-effective-target for gettimeofday. Remove dg-skip-if for AVR. * lib/target-supports.exp (check_effective_target_gettimeofday): New proc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245921 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/sourcebuild.texi')
-rw-r--r--gcc/doc/sourcebuild.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index 0dc434824b8..da17ff67591 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -1914,6 +1914,9 @@ Target is @samp{freestanding} as defined in section 4 of the C99 standard.
Effectively, it is a target which supports no extra headers or libraries
other than what is considered essential.
+@item gettimeofday
+Target supports @code{gettimeofday}.
+
@item init_priority
Target supports constructors with initialization priority arguments.