Add changes to has_attribute tests.
Simpler is_final with testcases added as comments.
(I put a patch in gcc_git).
Feature test change.