tools/perf/build: Remove the volatile-register-var feature check
authorIngo Molnar <mingo@kernel.org>
Thu, 10 Oct 2013 06:58:57 +0000 (08:58 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 14 Oct 2013 13:29:13 +0000 (10:29 -0300)
commit01287e2cb7ad17b3d77751888d458a6b6a2bba15
tree92193d8627b7504c2f7aee7c0b59d26fb9d49a35
parent5f36978ca5b12b1e35535dedb8c999694fc0dfcf
tools/perf/build: Remove the volatile-register-var feature check

Namhyung Kim noticed that the volatile-register-var feature check
is superfluous:

 > The gcc manpage says this warning is enabled by -Wall, and we add -Wall
 > to CFLAGS before doing feature checks.  So all gcc versions that support
 > -Wvolatile-register-var enables it by default without this check and
 > older gcc versions will always fail the feature check.

Remove it - this will further speed up feature checks.

Reported-by: Namhyung Kim <namhyung@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/config/Makefile
tools/perf/config/feature-checks/Makefile