[Ada] Do not clear Is_True_Constant flag on imported constants
Pierre-Marie de Rodat
Fri Jun 18 08:38:26 GMT 2021
The flag is first set on them as for any other constants but then
cleared when the import pragma is processed.
Tested on x86_64-pc-linux-gnu, committed on trunk
* sem_prag.adb (Process_Import_Or_Interface): Do not
artificially record a possible modification for a constant.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1006 bytes
Desc: not available
More information about the Gcc-patches