@@ -63,11 +63,22 @@ set(TEST_SUITE_FORTRAN_ISO_C_HEADER_DIR "" CACHE STRING
63
63
# be because they are currently unsupported and might eventually be supported
64
64
# or because they are GCC-specific and will never be supported.
65
65
set (FLANG_ERRORING_FFLAGS
66
+ max-completely-peel-loop-nest-depth=1
66
67
-fallow-invalid-boz
68
+ -fcheck-array-temporaries
69
+ -fcheck=bounds
70
+ -fcheck=do
71
+ -fcheck=recursion
72
+ -fcoarray=lib
67
73
-fdec
68
74
-fdec-format-defaults
69
75
-fdec-static
70
76
-fdec-structure
77
+ -frecord-marker=4
78
+ -fbounds-check
79
+ -fcheck-bounds
80
+ -fcheck=all
81
+ -fcheck=bits
71
82
# Not sure if the -fdefault-* options will be supported. Maybe in a different
72
83
# form in which case, this will have to be modified to accommodate those.
73
84
-fdefault-real-10
@@ -91,7 +102,11 @@ set(FLANG_ERRORING_FFLAGS
91
102
-fdump-tree-profile-estimate
92
103
-fdump-tree-reassoc1
93
104
-fdump-tree-vect-details
105
+ -fexpensive-optimizations
94
106
-ff2c
107
+ -ffree-line-length-none
108
+ -ffrontend-optimize
109
+ -fgcse
95
110
-finline-matmul-limit=0
96
111
-finline-matmul-limit=10
97
112
-finline-matmul-limit=100
@@ -102,19 +117,35 @@ set(FLANG_ERRORING_FFLAGS
102
117
-fipa-cp-clone
103
118
-fipa-pta
104
119
-fipa-reference
120
+ -fmodulo-sched
121
+ -fno-align-commons
122
+ -fno-asynchronous-unwind-tables
123
+ -fno-backtrace
124
+ -fno-bounds-check
125
+ -fno-check-array-temporaries
105
126
-fno-dec
127
+ -fno-f2c
128
+ -fno-frontend-optimize
106
129
-fno-guess-branch-probability
130
+ -fno-inline
107
131
-fno-ipa-cp
108
132
-fno-ipa-modref
109
133
-fno-ipa-sra
110
134
-fno-pad-source
135
+ -fno-range-check
136
+ -fno-realloc-lhs
137
+ -fno-sign-zero
111
138
-fno-tree-ccp
112
139
-fno-tree-forwprop
113
140
-fno-tree-fre
114
141
-fno-tree-loop-optimize
115
142
-fno-tree-loop-vectorize
116
143
-fpad-source
144
+ -fpeel-loops
145
+ -frecursive
146
+ -fsanitize=undefined
117
147
-fset-g77-defaults
148
+ -fshort-enums
118
149
-ftest-forall-temp
119
150
-ftree-loop-distribution
120
151
-ftree-loop-vectorize
@@ -123,6 +154,8 @@ set(FLANG_ERRORING_FFLAGS
123
154
-ftree-tail-merge
124
155
-ftree-vectorize
125
156
-ftree-vrp
157
+ -funroll-loops
158
+ -fwrapv
126
159
-mdalign
127
160
-mdejagnu-cpu=power4
128
161
-mfpmath=387
@@ -134,6 +167,7 @@ set(FLANG_ERRORING_FFLAGS
134
167
-Os
135
168
# At some point, if we ever support explicit standard flags, some of these
136
169
# should be removed.
170
+ -pedantic-errors
137
171
-std=gnu
138
172
-std=legacy
139
173
-std=f95
@@ -183,6 +217,8 @@ set(FLANG_ERRORING_FFLAGS
183
217
-Wunused-parameter
184
218
-Wunused-variable
185
219
-Wzerotrip
220
+ -w
221
+ --param
186
222
)
187
223
188
224
# Find all the Fortran files in the current source directory that may be test
0 commit comments