diff --git a/gcc/testsuite/c-c++-common/analyzer/asm-x86-dyndbg-2.c b/gcc/testsuite/c-c++-common/analyzer/asm-x86-dyndbg-2.c index d5e748c9acd73..3de0ceee0379c 100644 --- a/gcc/testsuite/c-c++-common/analyzer/asm-x86-dyndbg-2.c +++ b/gcc/testsuite/c-c++-common/analyzer/asm-x86-dyndbg-2.c @@ -6,7 +6,7 @@ /* { dg-additional-options "-fdump-analyzer-untracked" } */ /* Adapted from various files in the Linux kernel, all of which have: */ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __cplusplus typedef _Bool bool; diff --git a/gcc/testsuite/c-c++-common/analyzer/taint-assert-BUG_ON.c b/gcc/testsuite/c-c++-common/analyzer/taint-assert-BUG_ON.c index 328940d29839b..150729531b4e2 100644 --- a/gcc/testsuite/c-c++-common/analyzer/taint-assert-BUG_ON.c +++ b/gcc/testsuite/c-c++-common/analyzer/taint-assert-BUG_ON.c @@ -3,7 +3,7 @@ /* { dg-additional-options " -ftrack-macro-expansion=0" } */ /* Adapted from code in the Linux kernel, which has this: */ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0-only */ #define __noreturn __attribute__ ((__noreturn__)) diff --git a/gcc/testsuite/gcc.dg/analyzer/asm-x86-dyndbg-1.c b/gcc/testsuite/gcc.dg/analyzer/asm-x86-dyndbg-1.c index cce3f6b80bcdd..ff349de0fcaf9 100644 --- a/gcc/testsuite/gcc.dg/analyzer/asm-x86-dyndbg-1.c +++ b/gcc/testsuite/gcc.dg/analyzer/asm-x86-dyndbg-1.c @@ -6,7 +6,7 @@ /* { dg-additional-options "-fdump-analyzer-untracked" } */ /* Adapted from various files in the Linux kernel, all of which have: */ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0-only */ typedef _Bool bool; #define true 1