From 76c202329458aad027ececc59d666e4995e3644e Mon Sep 17 00:00:00 2001 From: Andrew Pinski <quic_apinski@quicinc.com> Date: Fri, 22 Nov 2024 09:25:41 -0800 Subject: [PATCH] test-art: Fix comment in types.h The comment references INCLUDE_MEMORY but the code actually checks INCLUDE_VECTOR. So fix up the comment to mention INCLUDE_VECTROR. Pushed as obvious. gcc/ChangeLog: * text-art/types.h: Fix comment. Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com> --- gcc/text-art/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/text-art/types.h b/gcc/text-art/types.h index 2b9f8b387c71..c741f77c25fa 100644 --- a/gcc/text-art/types.h +++ b/gcc/text-art/types.h @@ -23,7 +23,7 @@ along with GCC; see the file COPYING3. If not see /* This header uses std::vector, but <vector> can't be directly included due to issues with macros. Hence it must be included from - system.h by defining INCLUDE_MEMORY in any source file using it. */ + system.h by defining INCLUDE_VECTOR in any source file using it. */ #ifndef INCLUDE_VECTOR # error "You must define INCLUDE_VECTOR before including system.h to use text-art/types.h" -- GitLab