Go to file
Joseph Myers db30e21cbf Always pass 0 or option number to gfc_warning*.
Similar to the issue with fatal_error that I fixed in
<https://gcc.gnu.org/ml/gcc-patches/2015-01/msg02690.html>, the
overloads of gfc_warning and gfc_warning_now (with and without a first
argument for an option number) also break gcc.pot regeneration because
xgettext expects the translated string argument to be in a fixed
position for a given function name.  This patch applies the
corresponding fix of always passing a first argument (option number or
0), just like the core diagnostic functions warning and warning_at,
and removing the problem overloads without it.

Bootstrapped with no regressions on x86_64-unknown-linux-gnu.

	* error.c (gfc_warning (const char *, ...), gfc_warning_now (const
	char *, ...)): Remove functions.
	* gfortran.h (gfc_warning (const char *, ...), gfc_warning_now
	(const char *, ...)): Remove declarations.
	* arith.c, check.c, data.c, decl.c, frontend-passes.c,
	interface.c, intrinsic.c, io.c, matchexp.c, module.c, openmp.c,
	options.c, parse.c, primary.c, resolve.c, scanner.c, symbol.c,
	trans-common.c, trans-const.c, trans-stmt.c: All callers of
	gfc_warning and gfc_warning_now changed to pass 0 or option number
	as first argument.

From-SVN: r220313
2015-02-01 00:29:54 +00:00
boehm-gc Include target-utils.exp in boehm-gc testing 2014-12-18 09:42:22 +00:00
config isl.m4: Don't pass -DCLOOG_INT_GMP on islinc. 2014-12-04 08:45:33 +00:00
contrib update-copyright.py (Copyright.__init__): Add a regexp for "copyright = u'". 2015-01-15 22:09:13 +00:00
fixincludes * fixincl.c (fix_applies) <case TT_CKSUM:>: Change C++ style comments. 2015-01-31 14:14:56 +01:00
gcc Always pass 0 or option number to gfc_warning*. 2015-02-01 00:29:54 +00:00
gnattools
gotools re PR go/64738 (go, gofmt and cgo binaries linked statically) 2015-01-23 23:11:59 +00:00
include Merge current set of OpenACC changes from gomp-4_0-branch. 2015-01-15 21:11:12 +01:00
INSTALL README: Do not mention CVS. 2014-10-12 15:05:28 +00:00
intl
libada Update copyright years. 2015-01-05 13:33:28 +01:00
libatomic Avoid misaligned atomic operations 2015-01-21 09:17:03 -08:00
libbacktrace Move wrong ChangeLog entry from the toplevel ChangeLog to 2015-01-26 14:51:12 +00:00
libcc1 Always pass explicit location to fatal_error. 2015-01-30 16:15:00 +00:00
libcilkrts configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC. 2015-01-26 22:54:31 +00:00
libcpp [Patch/libcpp] Change __ARM_NEON__ to __ARM_NEON in lex.c 2015-01-30 14:07:00 +00:00
libdecnumber Update copyright years. 2015-01-05 13:33:28 +01:00
libffi re PR libffi/64855 (FAIL: libffi.call/* -W -Wall -Wno-psabi -O0 -DABI_NUM=* -DABI_ATTR=* execution test on x86_64-apple-darwin*) 2015-01-29 22:09:16 +00:00
libgcc linux-atomic.c (__kernel_cmpxchg2): Change declaration of oldval and newval to const void *. 2015-01-31 19:45:53 +00:00
libgfortran PR libfortran/64770 Segfault when trying to open existing file with status="new". 2015-01-24 23:52:34 +02:00
libgo re PR go/64573 (Cmd.Start swallows error from fork()/clone()) 2015-01-23 23:45:04 +00:00
libgomp re PR libgomp/64635 (darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1) 2015-01-28 21:25:19 +00:00
libiberty strerror.c: Do not declare sys_nerr or sys_errlist if already macros 2015-01-19 15:28:56 +00:00
libitm Make test2/test1 static in libitm.c/stackundo.c 2015-01-15 10:03:20 -08:00
libjava cygwin.h (LIBGCJ_SONAME): Set libgcj version to -16. 2015-01-29 00:34:03 +00:00
libobjc sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp. 2015-01-27 16:28:35 +00:00
liboffloadmic Merge current set of OpenACC changes from gomp-4_0-branch. 2015-01-15 21:11:12 +01:00
libquadmath configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC. 2015-01-26 14:57:41 +00:00
libsanitizer configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC. 2015-01-27 12:50:46 +00:00
libssp gets-chk.c: Declare prototype for gets in C11 mode. 2015-01-22 22:47:31 +00:00
libstdc++-v3 acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of $vtv_cygmin = yes. 2015-01-29 19:36:03 +01:00
libvtv Committing generated configure & Makefile.in pieces of VTV Cygwin patch (from Patrick Wollgast). 2015-01-29 08:47:25 -08:00
lto-plugin Call release_input_file only if not NULL 2015-01-28 15:59:55 -08:00
maintainer-scripts Add PR jit/64257 to previous ChangeLog entry 2015-01-27 00:28:45 +00:00
zlib Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
.dir-locals.el
.gitignore Local Vim config with GNU formatting. 2014-12-09 13:45:47 +00:00
ABOUT-NLS
ChangeLog extend.texi: Use "x86"... 2015-01-31 18:47:13 -05:00
ChangeLog.jit Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
ChangeLog.tree-ssa
compile Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
config-ml.in
config.guess config.sub: Update from upstream, to 2015-01-01 version. 2015-01-02 09:30:21 +00:00
config.rpath
config.sub config.sub: Update from upstream, to 2015-01-01 version. 2015-01-02 09:30:21 +00:00
configure PR jit/64780: configure: --enable-host-shared and the jit 2015-01-29 16:25:14 +00:00
configure.ac PR jit/64780: configure: --enable-host-shared and the jit 2015-01-29 16:25:14 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
install-sh Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
libtool-ldflags
libtool.m4 Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS Add myself to maintaners. 2015-01-27 15:31:14 +00:00
Makefile.def configure.ac (host_tools): Add gotools. 2015-01-09 21:23:09 +00:00
Makefile.in configure.ac (host_tools): Add gotools. 2015-01-09 21:23:09 +00:00
Makefile.tpl Bug #63539 2015-01-03 14:50:48 -08:00
missing Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
mkdep
mkinstalldirs Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
move-if-change Update move-if-change from gnulib 2014-11-16 16:12:44 +00:00
README
symlink-tree
ylwrap Update from upstream Automake files. 2014-11-16 14:07:13 +00:00

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.