plugins/107964 - install contracts.h

Message ID 20221205082142.A0D8B1348F@imap1.suse-dmz.suse.de
State Repeat Merge
Headers
Series plugins/107964 - install contracts.h |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Li, Pan2 via Gcc-patches Dec. 5, 2022, 8:21 a.m. UTC
  contracts.h is included by cp-tree.h so needs to be installed for
plugins.

Pushed as onbvious.

	PR plugins/107964
gcc/cp/
	* Make-lang.in (CP_PLUGIN_HEADERS): Install contracts.h
---
 gcc/cp/Make-lang.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
index 75e2f7c7ba3..b3131964602 100644
--- a/gcc/cp/Make-lang.in
+++ b/gcc/cp/Make-lang.in
@@ -39,7 +39,7 @@  CXX_INSTALL_NAME := $(shell echo c++|sed '$(program_transform_name)')
 GXX_INSTALL_NAME := $(shell echo g++|sed '$(program_transform_name)')
 CXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo c++|sed '$(program_transform_name)')
 GXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo g++|sed '$(program_transform_name)')
-CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h type-utils.h operators.def cp-trait.def
+CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h type-utils.h operators.def cp-trait.def contracts.h
 
 #
 # Define the names for selecting c++ in LANGUAGES.