* 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
+2005-03-26 Per Bothner <per@bothner.com>
+
+ 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.
+
2005-03-27 Steven Bosscher <stevenb@suse.de>
* vax-protos.h (vax_output_int_move, vax_output_int_add,
; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
; 02111-1307, USA.
+; See the GCC internals manual for a description of this file's format.
; Please try to keep this file in ASCII collating order.
C ObjC C++ ObjC++
Force the underlying type for \"wchar_t\" to be \"unsigned short\"
-fshow-column
-C ObjC C++ ObjC++
-
fsigned-bitfields
C ObjC C++ ObjC++
When \"signed\" or \"unsigned\" is not given make the bitfield signed
; 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.
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
(s.file == NULL
? build_message_string ("%s: %s", progname, text)
#ifdef USE_MAPPED_LOCATION
- : s.column != 0
+ : flag_show_column && s.column != 0
? build_message_string ("%s:%d:%d: %s", s.file, s.line, s.column, text)
#endif
: build_message_string ("%s:%d: %s", s.file, s.line, text));