[gcc(refs/users/mikael/heads/refactor_descriptor_v08)] gimple-simulate: Sauvegarde
Mikael Morin
mikael@gcc.gnu.org
Fri Sep 19 19:57:28 GMT 2025
https://gcc.gnu.org/g:8eec844258411d2eff2e36d1af3c9cca88780e99
commit 8eec844258411d2eff2e36d1af3c9cca88780e99
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