[Ada] Simplify detection of delayed aggregates
Pierre-Marie de Rodat
derodat@adacore.com
Mon Oct 11 13:39:16 GMT 2021
Replace IF with a single RETURN statement. Cleanup related to expansion
of aggregates in GNATprove mode; semantics is unaffected.
Tested on x86_64-pc-linux-gnu, committed on trunk
gcc/ada/
* exp_aggr.adb (Is_Delayed_Aggregate): Simplify.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 538 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211011/f5f25743/attachment.bin>
More information about the Gcc-patches
mailing list