]> xenbits.xensource.com Git - xen.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)
committerJan Beulich <jbeulich@suse.com>
Mon, 22 Apr 2024 13:12:47 +0000 (15:12 +0200)
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>
automation/eclair_analysis/ECLAIR/toolchain.ecl

index 71a1e2cce029289584035e81feb16b541e8c1b77..86e9a79b52310d7d73af88e23369d8ecbe56ae4d 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"."