aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vrp.c
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2021-09-06 13:01:04 -0400
committerPierre-Marie de Rodat <derodat@adacore.com>2021-10-25 15:07:21 +0000
commit93c63f32a2cb49679143f4b893343fcba6f59351 (patch)
tree400595ed159056d7d9571d8844462873eb871f7b /gcc/tree-vrp.c
parenta3a6a0a50af2dd257682289703b721ba1b7863ca (diff)
downloadgcc-93c63f32a2cb49679143f4b893343fcba6f59351.zip
gcc-93c63f32a2cb49679143f4b893343fcba6f59351.tar.gz
gcc-93c63f32a2cb49679143f4b893343fcba6f59351.tar.bz2
[Ada] Make Declaration_Node return nondeclarations in fewer cases
gcc/ada/ * einfo-utils.adb (Declaration_Node): Avoid returning the following node kinds: N_Assignment_Statement, N_Integer_Literal, N_Procedure_Call_Statement, N_Subtype_Indication, and N_Type_Conversion. Assert that the result is in N_Is_Decl or empty. * gen_il-gen-gen_nodes.adb (N_Is_Decl): Modify to match the things that Declaration_Node can return.
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions