aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2021-01-14 21:14:06 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2021-05-05 04:19:06 -0400
commit8adc8d9b7c61f4ed9e349ebe9c091ce45e6978e4 (patch)
tree051a0348f4b8051d424cb87edfc26cc9d7e1b932 /gcc/dwarf2out.c
parent0053d7291e9027c7455a2a402e9dbad6c99e7b8d (diff)
downloadgcc-8adc8d9b7c61f4ed9e349ebe9c091ce45e6978e4.zip
gcc-8adc8d9b7c61f4ed9e349ebe9c091ce45e6978e4.tar.gz
gcc-8adc8d9b7c61f4ed9e349ebe9c091ce45e6978e4.tar.bz2
[Ada] Reuse Has_Defaulted_Discriminants where possible
gcc/ada/ * exp_attr.adb, exp_ch9.adb, sem_ch3.adb: Reuse Has_Defaulted_Discriminants. * sem_ch4.adb (Analyze_Allocator): Reuse Has_Defaulted_Discriminants (after reordering conjuncts); remove redundant IF statement, whose condition is implied by Has_Defaulted_Discriminants. * sem_util.adb (Has_Defaulted_Discriminants): Has_Discriminants implies that the First_Discriminant is present. (Is_Fully_Initialized_Type): Reuse Has_Defaulted_Discriminants.
Diffstat (limited to 'gcc/dwarf2out.c')
0 files changed, 0 insertions, 0 deletions