aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-ch.c
diff options
context:
space:
mode:
authorSteve Baird <baird@adacore.com>2021-05-11 14:27:09 -0700
committerPierre-Marie de Rodat <derodat@adacore.com>2021-07-06 14:46:56 +0000
commitc6d8890c7d1e717c2f8ed5f2b04ca5a9b26cdfc1 (patch)
tree708d70fb546c243aa42842a0bd11b03b5d735730 /gcc/tree-ssa-loop-ch.c
parent6dff0d21e56d15dafc683dd69c6a9fbf3f1e7dfc (diff)
downloadgcc-c6d8890c7d1e717c2f8ed5f2b04ca5a9b26cdfc1.zip
gcc-c6d8890c7d1e717c2f8ed5f2b04ca5a9b26cdfc1.tar.gz
gcc-c6d8890c7d1e717c2f8ed5f2b04ca5a9b26cdfc1.tar.bz2
[Ada] Fix bug in casing on composite values with -gnatX
gcc/ada/ * exp_ch5.adb (Expand_N_Case_Statement.Expand_General_Case_Statement.Pattern_Match): When generating an equality test for a statically known discrete value, only generate the numeric value if the discrete type is not an enumeration type. If it is an enumeration type, then call Get_Enum_Lit_From_Pos instead.
Diffstat (limited to 'gcc/tree-ssa-loop-ch.c')
0 files changed, 0 insertions, 0 deletions