Compare DECL_NOT_FLEXARRAY for LTO tree merging

Message ID 20221222084321.7263613918@imap2.suse-dmz.suse.de
State Repeat Merge
Headers
Series Compare DECL_NOT_FLEXARRAY for LTO tree merging |

Checks

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

Commit Message

Richard Biener Dec. 22, 2022, 8:43 a.m. UTC
  This was missing.

Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed.

gcc/lto/
	* lto-common.cc (compare_tree_sccs_1): Compare DECL_NOT_FLEXARRAY.
---
 gcc/lto/lto-common.cc | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/gcc/lto/lto-common.cc b/gcc/lto/lto-common.cc
index 125064ba47e..958b417ee79 100644
--- a/gcc/lto/lto-common.cc
+++ b/gcc/lto/lto-common.cc
@@ -1189,6 +1189,7 @@  compare_tree_sccs_1 (tree t1, tree t2, tree **map)
 	  compare_values (DECL_FIELD_ABI_IGNORED);
 	  compare_values (DECL_FIELD_CXX_ZERO_WIDTH_BIT_FIELD);
 	  compare_values (DECL_OFFSET_ALIGN);
+	  compare_values (DECL_NOT_FLEXARRAY);
 	}
       else if (code == VAR_DECL)
 	{