diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2021-01-14 21:14:06 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-05-05 04:19:06 -0400 |
commit | 8adc8d9b7c61f4ed9e349ebe9c091ce45e6978e4 (patch) | |
tree | 051a0348f4b8051d424cb87edfc26cc9d7e1b932 /gcc/gimplify.c | |
parent | 0053d7291e9027c7455a2a402e9dbad6c99e7b8d (diff) | |
download | gcc-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/gimplify.c')
0 files changed, 0 insertions, 0 deletions