gcc/analyzer: Silence -Wpragma warns with GCC < 10
authorTobias Burnus <tobias@codesourcery.com>
Wed, 23 Sep 2020 09:07:40 +0000 (11:07 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Wed, 23 Sep 2020 09:07:40 +0000 (11:07 +0200)
commit5253b3e6deda1caa9432f5ac56e78bd999fb9f85
tree6926ae224681f59525b170a1b94b74079b5f5ee3
parent9e64f17d044767248175fece80a2759d94c45fc4
gcc/analyzer: Silence -Wpragma warns with GCC < 10

gcc/analyzer/ChangeLog:

* analyzer-logging.cc: Guard '#pragma ... ignored "-Wformat-diag"'
by '#if __GNUC__ >= 10'
* analyzer.h: Likewise.
* call-string.cc: Likewise.
gcc/analyzer/analyzer-logging.cc
gcc/analyzer/analyzer.h
gcc/analyzer/call-string.cc