From 1f9a3c0adaaac809e42f848ac2aa90f360221657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Cserv=C3=A1k?= Date: Tue, 3 Oct 2023 15:03:56 +0200 Subject: [PATCH] [analyzer] Ignor another unknown gcc options Some gcc flags have been reported as unrecognized compiler options for Clang. The following options are added to the ignore list: `-f(no-)?allow-store-data-races`, `-f(no-)?code-hoisting`, `-fmerge-constants`, `-fsanitize=bounds-strict`, `-fsched-pressure` --- analyzer/codechecker_analyzer/buildlog/log_parser.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/analyzer/codechecker_analyzer/buildlog/log_parser.py b/analyzer/codechecker_analyzer/buildlog/log_parser.py index d73325f29d..450ed0c859 100644 --- a/analyzer/codechecker_analyzer/buildlog/log_parser.py +++ b/analyzer/codechecker_analyzer/buildlog/log_parser.py @@ -85,8 +85,11 @@ '-finline-local-initialisers', '-fipa-sra', '-fmacro-prefix-map', + '-fmerge-constants', '-fno-aggressive-loop-optimizations', + '-f(no-)?allow-store-data-races', '-fno-canonical-system-headers', + '-f(no-)?code-hoisting', '-fno-delete-null-pointer-checks', '-fno-defer-pop', '-fno-extended-identifiers', @@ -107,6 +110,8 @@ '-frename-registers', '-frerun-cse-after-loop', '-fs$', + '-fsanitize=bounds-strict', + '-fsched-pressure', '-fsched-spec', '-fstack-usage', '-fstack-reuse',