diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-28 08:04:41 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-28 08:04:41 +0000 |
commit | 5fd4bf3ba37d697f707456f22289919a56198e87 (patch) | |
tree | c0af1d58e10b837e10c8f141a5cb792a92065515 /gcc/common.opt | |
parent | 3827dee50316c68e7d44f922785fe8e6a14490bd (diff) | |
download | gcc-5fd4bf3ba37d697f707456f22289919a56198e87.tar.gz |
Make -f[no-]show-column also control non-cpp diagnostics.
* c.opt (fshow-column): Move option from here ...
* common.opt (fshow-column): ... to here.
* diagnostic.c (diagnostic_build_prefix): Only print column number
if flag_show_column.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97127 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index d4cd60cd12d..e53949d6b23 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -19,7 +19,7 @@ ; Software Foundation, 59 Temple Place - Suite 330, Boston, MA ; 02111-1307, USA. -; See c.opt for a description of this file's format. +; See the GCC internals manual for a description of this file's format. ; Please try to keep this file in ASCII collating order. @@ -732,6 +732,10 @@ fshared-data Common Report Var(flag_shared_data) Mark data as shared rather than private +fshow-column +Common C ObjC C++ ObjC++ Report Var(flag_show_column) Init(1) +Show column numbers in diagnostics, when available. Default on. + fsignaling-nans Common Report Var(flag_signaling_nans) Disable optimizations observable by IEEE signaling NaNs |