aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-utils.c
diff options
context:
space:
mode:
authorEd Schonberg <schonberg@adacore.com>2020-08-29 10:24:55 -0400
committerPierre-Marie de Rodat <derodat@adacore.com>2020-10-23 04:24:49 -0400
commitc875250d42d16abb1c638a1b340ea5dac5c9a479 (patch)
tree935ec60d991ef7ede9d521f268864777f129e651 /gcc/ipa-utils.c
parent4d245fdaf742b468bce03034c47b82f51ce6282c (diff)
downloadgcc-c875250d42d16abb1c638a1b340ea5dac5c9a479.zip
gcc-c875250d42d16abb1c638a1b340ea5dac5c9a479.tar.gz
gcc-c875250d42d16abb1c638a1b340ea5dac5c9a479.tar.bz2
[Ada] Prevent copying uninitialized array with address clause
gcc/ada/ * freeze.adb (Is_Uninitialized_Aggregate): Recognize an array aggregate with box initialization, scalar components, and no component default values. (Freeze_Entity, Check_Address_Clause): Call it, and simplify freeze code for entity by removing useless assignment.
Diffstat (limited to 'gcc/ipa-utils.c')
0 files changed, 0 insertions, 0 deletions