commit | 7f77aa6b2f04781faa78373add11538d276c8ae4 | [log] [tgz] |
---|---|---|
author | Eric Botcazou <ebotcazou@adacore.com> | Tue Nov 22 13:03:00 2022 +0100 |
committer | Marc Poulhiès <poulhies@adacore.com> | Thu Nov 24 11:11:25 2022 +0100 |
tree | fe824393ac1804a4887a0b88c60ba8a38412e7d7 | |
parent | af94026524eafbe1270e28e5142e5958a4dadf07 [diff] |
ada: Add assertion for the implementation of storage models We cannot generate a call to memset for an aggregate with an Others choice when the target of the assignment has a storage model with Copy_To routine. gcc/ada/ * gcc-interface/trans.cc (gnat_to_gnu) <N_Assignment_Statement>: Add assertion that memset is not supposed to be used when the target has a storage model with Copy_To routine.