summaryrefslogtreecommitdiff
path: root/lib/sbin
diff options
context:
space:
mode:
authoreschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-06-08 12:53:20 +0000
committereschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-06-08 12:53:20 +0000
commit0213ad6de45b7ca9a67d7e22a55a1b1aff51c6dd (patch)
tree6f549813e148befeaa2d9c7b341fad10c5558f4d /lib/sbin
parente1e744ad347233881aa0e67263b6a3bd98b3faf3 (diff)
Improve auto-detection of "restrict" keyword
Update and improve the auto-detection of the "restrict" keyword; add more test cases to detect more possible failures. Disable testing the array syntax void foo (double A[restrict]); where the "restrict" keyword is given within the square brackets; instead, one can use the pointer syntax void foo (double *restrict const A); which is tested. Add support for the gcc built-in function "builtin_expect", which tells the compiler the value that an expression is most likely to have. Re-enable the (currently commented out) definitions for attribute(hot) and attribute(cold). git-svn-id: http://svn.cactuscode.org/flesh/trunk@4702 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin')
0 files changed, 0 insertions, 0 deletions