This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Waddress: warn about suspicious uses of memory addresses.


On 19/02/07, Dirk Mueller <dmueller@suse.de> wrote:
On Friday, 16. February 2007 20:08, Manuel López-Ibáñez wrote:

> This patch proposes a new option -Waddress to warn about suspicious
> uses of memory addresses. A follow-up patch will add again
> -Walways-true but this time actually warning for what its description
> says it should warn.

I think this is a good approach. Note that it should be backported to 4.2 imho
as well (where -Wstring-literal-comparison was introduced originally).


Thanks for your support.


I think as well that this should be backported  to 4.2 but that may be
harder to get approved.

Cheers,

Manuel.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]