aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-05-20 14:33:14 +0200
committerMarc Poulhiès <poulhies@adacore.com>2024-06-20 10:50:55 +0200
commit9cf95147c04c64344466f6e41ce5be32fbde96e0 (patch)
treeff445c6b70c453878df5dca612d1ed797368b7b5 /gcc/ada/init.c
parentce59982c28e19b2c478e12e4afc7b03e8793498b (diff)
downloadgcc-9cf95147c04c64344466f6e41ce5be32fbde96e0.zip
gcc-9cf95147c04c64344466f6e41ce5be32fbde96e0.tar.gz
gcc-9cf95147c04c64344466f6e41ce5be32fbde96e0.tar.bz2
ada: Fix crash on real literal in declare expression of expression function
The problem is that the freeze node of the type to which the real literal is resolved is placed inside the expression function instead of outside. gcc/ada/ * freeze.adb (Freeze_Expression): Also attach pending freeze nodes to the parent in the case of an internal block in a spec expression.
Diffstat (limited to 'gcc/ada/init.c')
0 files changed, 0 insertions, 0 deletions