diff options
author | Ed Schonberg <schonberg@adacore.com> | 2021-05-10 09:40:22 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-07-06 14:46:55 +0000 |
commit | 3a7961c89914cf544018e731693418f18b5cc984 (patch) | |
tree | f21ed754905cbdc28fba42d7965834c62077b663 /gcc/cse.c | |
parent | cb338455b39c13cc2385b653dc9bb89edca24b62 (diff) | |
download | gcc-3a7961c89914cf544018e731693418f18b5cc984.zip gcc-3a7961c89914cf544018e731693418f18b5cc984.tar.gz gcc-3a7961c89914cf544018e731693418f18b5cc984.tar.bz2 |
[Ada] Crash on use of 'Img on record type in expression
gcc/ada/
* exp_ch4.adb (Process_Transient_In_Expression): Ensure that
Fin_Context, used to insert finalization code for the
expression, is a list member: the value returned by
Find_Hook_Context may be an expression node when the transient
is part of a larger expression and it has a non-boolean type.
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions