aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-12-22 08:08:12 +0100
committerRichard Biener <rguenther@suse.de>2022-12-22 09:43:33 +0100
commit924033e39bd440caecbd4aaecf9f3fe917bffc0f (patch)
tree9e894d4cade29f7d91e3e9703a4c4fea6ad17dd5 /gcc/lto
parentbbe04bade0cc3b17e62c2af3d89b899367e7d2d1 (diff)
downloadgcc-924033e39bd440caecbd4aaecf9f3fe917bffc0f.zip
gcc-924033e39bd440caecbd4aaecf9f3fe917bffc0f.tar.gz
gcc-924033e39bd440caecbd4aaecf9f3fe917bffc0f.tar.bz2
Compare DECL_NOT_FLEXARRAY for LTO tree merging
This was missing. gcc/lto/ * lto-common.cc (compare_tree_sccs_1): Compare DECL_NOT_FLEXARRAY.
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/lto-common.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/lto/lto-common.cc b/gcc/lto/lto-common.cc
index 125064b..958b417 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)
{