[Ada] Fix small discrepancy between -gnatG and -gnatD[G] outputs
Pierre-Marie de Rodat
derodat@adacore.com
Wed Dec 1 10:25:37 GMT 2021
The outputs generated for the same compilation by -gnatG and -gnatD[G]
are not strictly identical: the former lacks a few freeze nodes, which
can be quite confusing. So this change aligns the former with the
latter.
Tested on x86_64-pc-linux-gnu, committed on trunk
gcc/ada/
* sprint.ads (Source_Dump): Fix typo in comment.
* sprint.adb (Source_Dump): Set Dump_Freeze_Null for both -gnatG
and -gnatD.
* switch-c.adb (Scan_Front_End_Switches) <'D'>: Remove obsolete
kludge.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 1521 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211201/618e364a/attachment-0001.bin>
More information about the Gcc-patches
mailing list