On Thu, 18 Oct 2012, Jonathan Wakely wrote:

> This adds a warning switch for the existing "returning address of
> local variable" warnings in the C and C++ FEs which are enabled by
> default but have no switch controlling them. Adding a switch allows it
> to be turned into an error with -Werror=return-local-addr.  I've added
> two tests checking the -Werror form works.

The C front-end changes are OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to