gcc/gcc/doc
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
..
include
avr-mmcu.texi avr-c.c (avr_cpu_cpp_builtins): Don't define __MEMX for avrtiny. 2014-10-21 21:12:01 +01:00
bugreport.texi
cfg.texi Update docs to reflect use of gimple subclasses 2014-12-04 20:00:25 +00:00
collect2.texi
compat.texi
configfiles.texi
configterms.texi
contrib.texi contrib.texi: Add contribution notes for Balaji Iyer (Cilk+) and Jonny Grant (collect2). 2014-10-31 13:34:18 -06:00
contribute.texi
cpp.texi Predefine __NO_MATH_ERRNO__ for -fno-math-errno. 2014-11-12 13:33:45 +00:00
cppenv.texi
cppinternals.texi
cppopts.texi Enable -fextended-identifiers by default. 2014-11-05 16:19:10 +00:00
extend.texi invoke.texi: Document -Wdiscarded-array-qualifiers. 2014-12-20 00:29:16 +00:00
fragments.texi
frontends.texi
gcc.texi
gccint.texi Makefile.in (OBJS): Add gimple-match.o and generic-match.o. 2014-10-22 08:42:37 +00:00
gcov-tool.texi Add overlap functionality to gcov-tool. 2014-10-08 21:51:41 +00:00
gcov.texi
generic.texi Fix typo. 2014-08-31 19:29:13 +00:00
gimple.texi Update docs to reflect use of gimple subclasses 2014-12-04 20:00:25 +00:00
gnu.texi
gty.texi remove gengtype support for param_is use_param, if_marked and splay tree allocators 2014-12-10 03:45:40 +00:00
headerdirs.texi
hostconfig.texi
implement-c.texi
implement-cxx.texi
install-old.texi
install.texi (libgcc_s) Optional filename-based shared library versioning on AIX. 2014-12-09 15:48:48 -05:00
install.texi2html
interface.texi
invoke.texi invoke.texi: Document -Wdiscarded-array-qualifiers. 2014-12-20 00:29:16 +00:00
languages.texi
libgcc.texi libgcc.texi: Update text to match implementation in libgcc/libgcc2.c 2014-12-10 05:43:53 +00:00
loop.texi
lto.texi
makefile.texi
match-and-simplify.texi match-and-simplify.texi: Update for recent changes. 2014-12-04 14:44:57 +00:00
md.texi MIPS32R6 and MIPS64R6 support 2014-12-19 20:17:36 +00:00
objc.texi
optinfo.texi
options.texi opt-functions.awk (lang_enabled_by): Support || for enabled-by. 2014-11-29 01:04:48 +01:00
passes.texi common.opt (flra-remat): New. 2014-11-13 03:02:49 +00:00
plugins.texi remove gengtype support for param_is use_param, if_marked and splay tree allocators 2014-12-10 03:45:40 +00:00
portability.texi
rtl.texi ipa-chkp.c: New. 2014-11-05 12:42:03 +00:00
service.texi
sourcebuild.texi re PR target/64056 (gcc.target/i386/chkp-strlen-4.c etc. FAIL) 2014-12-05 10:01:33 +00:00
standards.texi
tm.texi * Add TARGET_LEGITIMIZE_ADDRESS_DISPLACEMENT target macro. 2014-12-19 04:43:11 +00:00
tm.texi.in * Add TARGET_LEGITIMIZE_ADDRESS_DISPLACEMENT target macro. 2014-12-19 04:43:11 +00:00
tree-ssa.texi
trouble.texi