* [PATCH] Compare DECL_NOT_FLEXARRAY for LTO tree merging
@ 2022-12-22 8:43 Richard Biener
0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2022-12-22 8:43 UTC (permalink / raw)
To: gcc-patches
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(+)
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)
{
--
2.35.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-22 8:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-22 8:43 [PATCH] Compare DECL_NOT_FLEXARRAY for LTO tree merging Richard Biener
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).