Skip to content

Commit 41af877

Browse files
committed
gcc: use -fanalyzer-assume-nothrow with --gcc-analyze
... if the option is supported by gcc in the chroot. Related: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122623
1 parent ddb472e commit 41af877

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

csmock/plugins/gcc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545

4646
# use the following flags only if they are supported by gcc in the chroot
4747
GCC_ANALYZER_NEW_FLAGS = [
48+
"-fanalyzer-assume-nothrow",
4849
"-fdiagnostics-text-art-charset=none",
4950
]
5051

0 commit comments

Comments
 (0)