diff options
| author | Steve Baird <baird@adacore.com> | 2025-10-30 14:40:06 -0700 |
|---|---|---|
| committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2025-11-18 16:05:09 +0100 |
| commit | 6651ce055d40d0aab06a51f9cd5028478bb8d9b4 (patch) | |
| tree | fcaf7803fb500a940ea4ba2ede8666fe1ac600d1 /libjava/classpath/java/io/FileNotFoundException.java | |
| parent | 01d332a6cd251c13010d446e6b416d8a36957759 (diff) | |
ada: Don't generate function that violates No_Dynamic_Sized_Objects restriction
In some cases, the compiler implicitly generates a hash function for an
enumeration type. If a No_Dynamic_Sized_Objects restriction is in effect then
that hash function violates the restriction, resulting in a compilation
failure. Therefore, do not generate the hash function in that case.
gcc/ada/ChangeLog:
* exp_imgv.adb (Build_Enumeration_Image_Tables): If a
No_Dynamic_Sized_Objects restriction is in effect, then choose a large
value for Threshold so that no Lit_Hash function is generated.
Diffstat (limited to 'libjava/classpath/java/io/FileNotFoundException.java')
0 files changed, 0 insertions, 0 deletions
