21.6 Correcting the List of Eliminate Pragmas
In some rare cases it may happen that
gnatelim will try to eliminate
subprograms which are actually called in the program. In this case, the
compiler will generate an error message of the form:
file.adb:106:07: cannot call eliminated subprogram "My_Prog"
You will need to manually remove the wrong
Eliminate pragmas from
the `gnat.adc' file. It is advised that you recompile your program
from scratch after that because you need a consistent `gnat.adc' file
during the entire compilation.