This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/3] ada: Generate warning on useless 'Unchecked_Access with -gnatw.u
On 5/11, Samuel Tardieu wrote:
| This serie of three patches adds a new GNAT warning "-gnatw.u". This
| warning, which is also turned on by "-gnata", warns the user when
| 'Unchecked_Access is used and the accessibility checks show that
| 'Access could have been used instead. This helped find three such
| cases in GNAT's own runtime.
I forgot: this patch has been tested and bootstrapped on x86.