diff options
author | Bob Duff <duff@adacore.com> | 2021-04-07 07:52:07 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-06-29 14:23:45 +0000 |
commit | 997d3894fbd931e4dfa210a809175d7c2dc73b4b (patch) | |
tree | 0951d51e40da6fa3a8b688fa61821c4bfc31e973 /gcc/go | |
parent | 10215ba9d7848b858d3c2103807222675028225a (diff) | |
download | gcc-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