Partial fix for #5555. Improved pure/const attributes handling
do this first
Merge remote-tracking branch 'upstream/master' into travis_kernel
 #travis staff suggested usage of script
more verbosity