aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/trans.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2020-11-11 14:39:32 +0100
committerEric Botcazou <ebotcazou@adacore.com>2020-11-11 14:39:32 +0100
commit1c91516aeb8362696786e17f83d8366de9a31f81 (patch)
tree43452252ea167c6da351f0798b0b5909dac0d568 /gcc/ada/gcc-interface/trans.c
parent1f8fc1f458c4a66618c35d8e292fff6e9dce9f12 (diff)
downloadgcc-1c91516aeb8362696786e17f83d8366de9a31f81.zip
gcc-1c91516aeb8362696786e17f83d8366de9a31f81.tar.gz
gcc-1c91516aeb8362696786e17f83d8366de9a31f81.tar.bz2
Fix internal error on chain of constants with -gnatc
gcc/ada/ChangeLog: * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Constant>: In case the constant is not being defined, get the expression in type annotation mode only if its type is elementary.
Diffstat (limited to 'gcc/ada/gcc-interface/trans.c')
0 files changed, 0 insertions, 0 deletions