Go to file
Martin Uecker 768952be25 invoke.texi: Document -Wdiscarded-array-qualifiers.
2014-12-20  Martin Uecker <uecker@eecs.berkeley.edu>

	* doc/invoke.texi: Document -Wdiscarded-array-qualifiers.
	* doc/extend.texi: Document new behavior for pointers to arrays
	with qualifiers.

c/
	* c-typeck.c: New behavious for pointers to arrays with qualifiers
        (common-pointer-type): For pointers to arrays take qualifiers from
	element type.
        (build_conditional_expr): Add warnings for lost qualifiers.
	(comp-target-types): Allow pointers to arrays with different qualifiers.
        (convert-for-assignment): Adapt warnings for discarded qualifiers. Add
	WARNING_FOR_QUALIFIERS macro and rename WARN_FOR_QUALIFIERS
        to PEDWARN_FOR_QUALIFIERS.

c-family/
	* c.opt (Wdiscarded-array-qualifiers): New option.

testsuite/
	* gcc.dg/Wwrite-strings-1.c: Change dg-warning.
	* gcc.dg/array-quals-1.c: Use -Wno-discarded-array-qualifiers.
	* gcc.dg/array-quals-2.c: Change dg-options, dg-warning.
	* gcc.dg/pointer-array-atomic.c: New test.
	* gcc.dg/pointer-array-quals-1.c: New test.
	* gcc.dg/pointer-array-quals-2.c: New test (-pedantic-errors).
	* gcc.dg/qual-component-1.c: Change dg-options, dg-warnings.

From-SVN: r218985
2014-12-20 00:29:16 +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 dg-extract-results.sh: Use --text with grep to avoid issues with binary files. 2014-12-17 22:35:04 +00:00
fixincludes server.c (server_setup): Check return value of getcwd and in case of error set buff[0] to 0. 2014-12-15 09:10:41 +01:00
gcc invoke.texi: Document -Wdiscarded-array-qualifiers. 2014-12-20 00:29:16 +00:00
gnattools Makefile.in (TOOLS_FLAGS_TO_PASS_CROSS): Robustify. 2014-02-23 16:30:11 +00:00
include xvasprintf.c: New file. 2014-12-11 09:15:37 +01:00
INSTALL README: Do not mention CVS. 2014-10-12 15:05:28 +00:00
intl
libada Makefile.in: Add CFLAGS_FOR_TARGET to GNATLIBCFLAGS_FOR_C. 2014-08-12 19:47:09 +00:00
libatomic Add load of target-utils.exp to libatomic, libitm, libvtv, libgo testsuite drivers 2014-12-12 12:00:01 +00:00
libbacktrace Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libcc1 Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libcilkrts Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libcpp re PR preprocessor/63831 (r217292 causes segfaults with -MM) 2014-12-19 13:20:58 +01:00
libdecnumber Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
libffi Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libgcc MIPS32R6 and MIPS64R6 support 2014-12-19 20:17:36 +00:00
libgfortran Add support for a minimal version of libgfortran for accelerator targets. 2014-11-28 17:39:15 +00:00
libgo mksysinfo: Pass -O to compiler to avoid warnings on CentOS. 2014-12-17 14:26:55 +00:00
libgomp [libgomp][testsuite] Explicitly include target-utils.exp (fix libgomp testsuite ERROR) 2014-12-12 10:31:44 +00:00
libiberty xvasprintf.c: New file. 2014-12-11 09:15:37 +01:00
libitm Add load of target-utils.exp to libatomic, libitm, libvtv, libgo testsuite drivers 2014-12-12 12:00:01 +00:00
libjava Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libobjc Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
liboffloadmic [PATCH 3/4] OpenMP 4.0 offloading to Intel MIC: libgomp plugin. 2014-11-13 14:05:49 +00:00
libquadmath Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libsanitizer sanitizer_symbolizer_libbacktrace.cc, [...]: Cherry pick upstream r224308. 2014-12-16 12:35:34 +01:00
libssp Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libstdc++-v3 Fix duplicate symbol errors in Darwin bootstrap. 2014-12-20 00:19:40 +00:00
libvtv Add load of target-utils.exp to libatomic, libitm, libvtv, libgo testsuite drivers 2014-12-12 12:00:01 +00:00
lto-plugin lto-wrapper.c (compile_offload_image): Start processing in_argv from 0 instead of 1. 2014-12-09 22:44:16 +00:00
maintainer-scripts Add svn:executable property for generate_libstdcxx_web_docs. 2014-10-30 11:11:38 +01:00
zlib Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
.dir-locals.el * .dir-locals.el: Add. 2013-10-16 18:25:31 +00:00
.gitignore Local Vim config with GNU formatting. 2014-12-09 13:45:47 +00:00
ABOUT-NLS
ChangeLog * MAINTAINERS (Write After Approval): Add myself. 2014-12-17 16:25:12 +00: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-ml.in: Robustify ac_configure_args parsing. 2014-06-13 16:32:29 +02:00
config.guess Update config.{sub,guess} from upstream repo 2014-11-15 23:44:29 +00:00
config.rpath
config.sub Update config.{sub,guess} from upstream repo 2014-11-15 23:44:29 +00:00
configure Build machinery cleanup. 2014-12-15 11:54:43 +01:00
configure.ac Build machinery cleanup. 2014-12-15 11:54:43 +01: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 re PR sanitizer/56781 (boostrap-asan failure: fixincl fails to link (missing -lasan)) 2014-04-17 14:23:28 +02:00
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 Ensure libgcc_s unwinder is always used on 64-bit Solaris 10+/x86 (PR target/59788) 2014-02-04 09:31:38 +00:00
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS Add myself to MAINTAINERS under Writer After Approval 2014-12-18 06:19:33 +00:00
Makefile.def Makefile.def: Make more dependent on mpfr, mpc and isl. 2014-11-26 20:48:24 +01:00
Makefile.in re PR bootstrap/64023 (r216964 breaks bootstrap on darwin when using gcc as the bootstrap compiler.) 2014-12-13 12:24:37 +01:00
Makefile.tpl re PR bootstrap/64023 (r216964 breaks bootstrap on darwin when using gcc as the bootstrap compiler.) 2014-12-13 12:24:37 +01: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 * README: Document use of ranges of years in copyright notices. 2012-07-16 15:01:34 +01:00
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.