summaryrefslogtreecommitdiff
path: root/tools/ci/flags/gccsnapshot.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-25 02:00:52 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-25 02:00:52 +0300
commitf0ccd14ce02686fb9e7cd96d3522b69a66187eb3 (patch)
treea0530414a16a1c9d1e491480ade9fce1db5da113 /tools/ci/flags/gccsnapshot.sh
parentbb6ed86ea700ac4aa79b99aeae04c418ad79a772 (diff)
downloadplus-f0ccd14ce02686fb9e7cd96d3522b69a66187eb3.tar.gz
plus-f0ccd14ce02686fb9e7cd96d3522b69a66187eb3.tar.bz2
plus-f0ccd14ce02686fb9e7cd96d3522b69a66187eb3.tar.xz
plus-f0ccd14ce02686fb9e7cd96d3522b69a66187eb3.zip
Add some new flags into gcc snapshot.
Diffstat (limited to 'tools/ci/flags/gccsnapshot.sh')
-rwxr-xr-xtools/ci/flags/gccsnapshot.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/ci/flags/gccsnapshot.sh b/tools/ci/flags/gccsnapshot.sh
index 72514c424..7c6542d50 100755
--- a/tools/ci/flags/gccsnapshot.sh
+++ b/tools/ci/flags/gccsnapshot.sh
@@ -194,6 +194,7 @@ export CXXFLAGS="${CXXFLAGS} -Wpragmas"
# not for C++
#export CXXFLAGS="${CXXFLAGS} -Wproperty-assign-default"
#export CXXFLAGS="${CXXFLAGS} -Wprotocol"
+export CXXFLAGS="${CXXFLAGS} -Wpsabi"
#export CXXFLAGS="${CXXFLAGS} -Wreal-q-constant"
#export CXXFLAGS="${CXXFLAGS} -Wrealloc-lhs"
#export CXXFLAGS="${CXXFLAGS} -Wrealloc-lhs-all"
@@ -247,6 +248,7 @@ export CXXFLAGS="${CXXFLAGS} -Wswitch"
export CXXFLAGS="${CXXFLAGS} -Wswitch-bool"
export CXXFLAGS="${CXXFLAGS} -Wswitch-default"
export CXXFLAGS="${CXXFLAGS} -Wswitch-enum"
+export CXXFLAGS="${CXXFLAGS} -Wswitch-unreachable"
export CXXFLAGS="${CXXFLAGS} -Wsync-nand"
export CXXFLAGS="${CXXFLAGS} -Wsynth"
# ignoring