]> xenbits.xensource.com Git - people/aperard/xen-unstable.git/commitdiff
automation/eclair_analysis: substitute deprecated service STD.emptrecd
authorNicola Vetrini <nicola.vetrini@bugseng.com>
Mon, 22 Apr 2024 13:12:47 +0000 (15:12 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 17 Dec 2024 17:33:40 +0000 (17:33 +0000)
The ECLAIR service STD.emptrecd (which checks for empty structures) is being
deprecated; hence, as a preventive measure, STD.anonstct (which checks for
structures with no named members, an UB in C99) is used here; the latter being
a more general case than the previous one, this change does not affect the
analysis. This new service is already supported by the current version of
ECLAIR.

No functional change.

Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
Acked-by: Julien Grall <jgrall@amazon.com>
(cherry picked from commit 93d6e6efa8942fb068df799527f36be406fcd2bc)

automation/eclair_analysis/ECLAIR/toolchain.ecl

index e6cd289b5e92c407bef51b699a35c3c3b33b6cc4..e41b27291c7a23ccaab4f5adbfa7f233173fe4ba 100644 (file)
@@ -44,8 +44,8 @@
 -doc_end
 
 -doc_begin="See Section \"6.19 Structures with No Members\" of "GCC_MANUAL"."
--config=STD.emptrecd,behavior+={c99,GCC_ARM64,specified}
--config=STD.emptrecd,behavior+={c99,GCC_X86_64,specified}
+-config=STD.anonstct,behavior+={c99,GCC_ARM64,specified}
+-config=STD.anonstct,behavior+={c99,GCC_X86_64,specified}
 -doc_end
 
 -doc_begin="See Section \"6.18 Arrays of Length Zero\" of "GCC_MANUAL"."