Module Name: src Committed By: joerg Date: Wed Oct 1 22:18:19 UTC 2014
Modified Files: src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11: random.cc Log Message: Attribute target is not supported by clang, so don't use it. Explicitly mark this function as non-inline to not defeat the feature tests. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/random.cc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/random.cc diff -u src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/random.cc:1.1.1.1 src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/random.cc:1.2 --- src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/random.cc:1.1.1.1 Sat Mar 1 08:41:19 2014 +++ src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/random.cc Wed Oct 1 22:18:19 2014 @@ -54,7 +54,10 @@ namespace std _GLIBCXX_VISIBILITY(defaul #if (defined __i386__ || defined __x86_64__) && defined _GLIBCXX_X86_RDRAND unsigned int + __attribute__ ((noinline)) +# ifndef __clang__ __attribute__ ((target("rdrnd"))) +# endif __x86_rdrand(void) { unsigned int retries = 100;