This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Preventing warnings
> Since GNU Ada already has a pragma Warnings On/Off, if more than
> one front-end define it may be it's worth having a flag
> going through the backend to suppress backend warnings too.
There is already TREE_NO_WARNING and the Ada compiler sets it on entities
subject to pragma Warnings (entity, Off). The problem of suppressing
warnings for a whole given portion of code is of course more complex.
--
Eric Botcazou