aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2021-04-07 07:52:07 -0400
committerPierre-Marie de Rodat <derodat@adacore.com>2021-06-29 14:23:45 +0000
commit997d3894fbd931e4dfa210a809175d7c2dc73b4b (patch)
tree0951d51e40da6fa3a8b688fa61821c4bfc31e973 /gcc/go
parent10215ba9d7848b858d3c2103807222675028225a (diff)
downloadgcc-997d3894fbd931e4dfa210a809175d7c2dc73b4b.zip
gcc-997d3894fbd931e4dfa210a809175d7c2dc73b4b.tar.gz
gcc-997d3894fbd931e4dfa210a809175d7c2dc73b4b.tar.bz2
[Ada] Fix bug in node/entity kind numbers in sinfo/einfo.h
gcc/ada/ * gen_il-gen.adb (Put_C_Type_And_Subtypes): Put the correct numbers. * gen_il-internals.ads, gen_il-internals.adb: (Pos): Remove this function. It was assuming that the order of the enumeration literals in Type_Enum is the same as the order of the generated types Node_Kind and Entity_Kind, which is not true.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions