diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2021-05-21 11:25:53 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2021-05-21 11:27:28 +0200 |
commit | 49c2c7f6551f9a71a1bc6766d3b7482a8b39c4ac (patch) | |
tree | 2cd3100c10ad8eb60ece0684751dd82f5f95be71 /gcc/expr.c | |
parent | 3553d8c2fecbe8d831538c661c9e58e7ae50c385 (diff) | |
download | gcc-49c2c7f6551f9a71a1bc6766d3b7482a8b39c4ac.zip gcc-49c2c7f6551f9a71a1bc6766d3b7482a8b39c4ac.tar.gz gcc-49c2c7f6551f9a71a1bc6766d3b7482a8b39c4ac.tar.bz2 |
Remove discriminant checks in gigi
gcc/ada/
* gcc-interface/utils.c (gnat_pushdecl): Fix typo in comment.
* gcc-interface/utils2.c (build_simple_component_ref): Build NULL_EXPR
if the offset of the field has overflowed.
(build_component_ref): Add gigi checking assertion that the reference
has been built and replace the discriminant check by a Program_Error.
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions