[gcc(refs/users/mikael/heads/refactor_descriptor_v08)] gimple-simulate: Sauvegarde
Mikael Morin
mikael@gcc.gnu.org
Mon Sep 8 20:26:50 GMT 2025
https://gcc.gnu.org/g:f4f692cbe2df5eada3106860109835a6ea68c1ba
commit f4f692cbe2df5eada3106860109835a6ea68c1ba
Author: Mikael Morin <mikael@gcc.gnu.org>
Date: Thu Sep 4 17:10:58 2025 +0200
gimple-simulate: Sauvegarde
Diff:
---
gcc/gimple-simulate.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/gimple-simulate.cc b/gcc/gimple-simulate.cc
index 721d34bea9aa..adf02ed29610 100644
--- a/gcc/gimple-simulate.cc
+++ b/gcc/gimple-simulate.cc
@@ -890,7 +890,8 @@ pick_subref_at (tree var_ref, unsigned min_offset,
else
{
unsigned field_width = get_constant_type_size (field_type);
- gcc_assert (field_width >= min_size);
+ if (field_width < min_size)
+ break;
}
ref = build3 (COMPONENT_REF, field_type,
More information about the Gcc-cvs
mailing list