Commit 8c684300 by H.J. Lu Committed by H.J. Lu

re PR c/38938 (-Wno-all doesn't work on -Wpointer-sign)

2009-01-24  H.J. Lu  <hongjiu.lu@intel.com>

	PR c/38938
	* c-opts.c (c_common_handle_option): Upate warn_pointer_sign
	properly.

From-SVN: r143648
parent 8cd9b951
2009-01-24 H.J. Lu <hongjiu.lu@intel.com>
PR c/38938
* c-opts.c (c_common_handle_option): Upate warn_pointer_sign
properly.
2009-01-24 Sebastian Pop <sebastian.pop@amd.com> 2009-01-24 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/38953 PR tree-optimization/38953
......
/* C/ObjC/C++ command line option handling. /* C/ObjC/C++ command line option handling.
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
Free Software Foundation, Inc. Free Software Foundation, Inc.
Contributed by Neil Booth. Contributed by Neil Booth.
...@@ -423,7 +423,7 @@ c_common_handle_option (size_t scode, const char *arg, int value) ...@@ -423,7 +423,7 @@ c_common_handle_option (size_t scode, const char *arg, int value)
cpp_opts->warn_num_sign_change = value; cpp_opts->warn_num_sign_change = value;
if (warn_pointer_sign == -1) if (warn_pointer_sign == -1)
warn_pointer_sign = 1; warn_pointer_sign = value;
break; break;
case OPT_Wbuiltin_macro_redefined: case OPT_Wbuiltin_macro_redefined:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment