summaryrefslogtreecommitdiff
path: root/other/analysis/run-gcc
diff options
context:
space:
mode:
Diffstat (limited to 'other/analysis/run-gcc')
-rwxr-xr-xother/analysis/run-gcc116
1 files changed, 58 insertions, 58 deletions
diff --git a/other/analysis/run-gcc b/other/analysis/run-gcc
index 3ea32782..74f294df 100755
--- a/other/analysis/run-gcc
+++ b/other/analysis/run-gcc
@@ -1,63 +1,63 @@
1#!/bin/sh 1#!/bin/bash
2 2
3. other/analysis/gen-file.sh 3. other/analysis/gen-file.sh
4 4
5echo "Running GCC" 5echo "Running GCC"
6# TODO(iphydf): Get rid of all VLAs, then enable -fstack-protector -Wstack-protector 6# TODO(iphydf): Get rid of all VLAs, then enable -fstack-protector -Wstack-protector
7g++ -O3 -o /dev/null amalgamation.cc \ 7g++ -O3 -o /dev/null amalgamation.cc \
8 $CPPFLAGS \ 8 "${CPPFLAGS[@]}" \
9 $LDFLAGS \ 9 "${LDFLAGS[@]}" \
10 -std=c++11 \ 10 -std=c++11 \
11 -pedantic \ 11 -pedantic \
12 -fdiagnostics-color=always \ 12 -fdiagnostics-color=always \
13 -Wall \ 13 -Wall \
14 -Wextra \ 14 -Wextra \
15 -Wno-aggregate-return \ 15 -Wno-aggregate-return \
16 -Wno-aggressive-loop-optimizations \ 16 -Wno-aggressive-loop-optimizations \
17 -Wno-float-conversion \ 17 -Wno-float-conversion \
18 -Wno-format-signedness \ 18 -Wno-format-signedness \
19 -Wno-missing-field-initializers \ 19 -Wno-missing-field-initializers \
20 -Wno-padded \ 20 -Wno-padded \
21 -Wno-sign-compare \ 21 -Wno-sign-compare \
22 -Wno-sign-conversion \ 22 -Wno-sign-conversion \
23 -Wno-switch-default \ 23 -Wno-switch-default \
24 -Wno-unused-parameter \ 24 -Wno-unused-parameter \
25 -Wstrict-aliasing=0 \ 25 -Wstrict-aliasing=0 \
26 -Wstrict-overflow=1 \ 26 -Wstrict-overflow=1 \
27 \ 27 \
28 -Wmissing-declarations \ 28 -Wmissing-declarations \
29 -Wbool-compare \ 29 -Wbool-compare \
30 -Wcast-align \ 30 -Wcast-align \
31 -Wcast-qual \ 31 -Wcast-qual \
32 -Wchar-subscripts \ 32 -Wchar-subscripts \
33 -Wdouble-promotion \ 33 -Wdouble-promotion \
34 -Wduplicated-cond \ 34 -Wduplicated-cond \
35 -Wempty-body \ 35 -Wempty-body \
36 -Wenum-compare \ 36 -Wenum-compare \
37 -Wfloat-equal \ 37 -Wfloat-equal \
38 -Wformat=2 \ 38 -Wformat=2 \
39 -Wframe-address \ 39 -Wframe-address \
40 -Wframe-larger-than=133168 \ 40 -Wframe-larger-than=133168 \
41 -Wignored-qualifiers \ 41 -Wignored-qualifiers \
42 -Wignored-attributes \ 42 -Wignored-attributes \
43 -Winit-self \ 43 -Winit-self \
44 -Winline \ 44 -Winline \
45 -Wlarger-than=133120 \ 45 -Wlarger-than=133120 \
46 -Wmaybe-uninitialized \ 46 -Wmaybe-uninitialized \
47 -Wmemset-transposed-args \ 47 -Wmemset-transposed-args \
48 -Wmisleading-indentation \ 48 -Wmisleading-indentation \
49 -Wnonnull \ 49 -Wnonnull \
50 -Wnonnull-compare \ 50 -Wnonnull-compare \
51 -Wnull-dereference \ 51 -Wnull-dereference \
52 -Wodr \ 52 -Wodr \
53 -Wredundant-decls \ 53 -Wredundant-decls \
54 -Wreturn-type \ 54 -Wreturn-type \
55 -Wshadow \ 55 -Wshadow \
56 -Wsuggest-attribute=format \ 56 -Wsuggest-attribute=format \
57 -Wundef \ 57 -Wundef \
58 -Wunsafe-loop-optimizations \ 58 -Wunsafe-loop-optimizations \
59 -Wunused-label \ 59 -Wunused-label \
60 -Wunused-local-typedefs \ 60 -Wunused-local-typedefs \
61 -Wunused-value \ 61 -Wunused-value \
62 -Wunused-but-set-parameter \ 62 -Wunused-but-set-parameter \
63 -Wunused-but-set-variable \ 63 -Wunused-but-set-variable