gcc/gcc/cp
Manuel López-Ibáñez fcf73884fb re PR c/35058 (-Werror= works only with some warnings)
2008-07-23  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	PR 35058
	* diagnostic.c (pedwarn): Add opt parameter.
	(pedwarn0): New.
	* c-tree.h (pedwarn_init): Add opt parameter.
	(pedwarn_c90): Likewise.
	(pedwarn_c99): Likewise.
	* c-errors.c (pedwarn_c99): Likewise.
	(pedwarn_c90): Likewise.
	* toplev.h (pedwarn): Update declaration.
	(pedwarn0): Declare.
	* c-lex.c: All calls to pedwarn changed.
	* builtins.c: All calls to pedwarn changed.
	* toplev.c: All calls to pedwarn changed.
	* c-decl.c: All calls to pedwarn changed.
	* c-typeck.c: All calls to pedwarn changed.
	* c-common.c: All calls to pedwarn changed.
	* c-parser.c: All calls to pedwarn changed.
cp/
	* typeck.c: All calls to pedwarn changed.
	* decl.c: All calls to pedwarn changed.
	* call.c: All calls to pedwarn changed.
	* error.c: All calls to pedwarn changed.
	* typeck2.c: All calls to pedwarn changed.
	* pt.c: All calls to pedwarn changed.
	* name-lookup.c: All calls to pedwarn changed.
	* parser.c: All calls to pedwarn changed.
fortran/
	* f95-lang.c (gfc_mark_addressable): All calls to pedwarn changed.
testsuite/
	* gcc.dg/Wdeclaration-after-statement-3.c: New.
	* gcc/testsuite/gcc.dg/Wpointer-arith.c: New.

From-SVN: r138089
2008-07-23 15:57:49 +00:00
..
ChangeLog re PR c/35058 (-Werror= works only with some warnings) 2008-07-23 15:57:49 +00:00
ChangeLog-1993
ChangeLog-1994
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005 ChangeLog: split old changelogs by year 2007-05-04 00:16:02 +00:00
ChangeLog-2006 ChangeLog: split old changelogs by year 2007-05-04 00:16:02 +00:00
ChangeLog.ptr [multiple changes] 2007-06-15 22:42:36 -07:00
ChangeLog.tree-ssa
Make-lang.in tree.c (ctor_to_list): Use FOR_EACH_CONSTRUCTOR_ELT. 2008-07-03 00:32:25 -04:00
NEWS
call.c re PR c/35058 (-Werror= works only with some warnings) 2008-07-23 15:57:49 +00:00
cfns.gperf
cfns.h Fix up whitespacing 2006-06-06 11:44:09 +00:00
class.c objc-act.c: Fix comment typos. 2008-07-21 19:29:07 +00:00
config-lang.in typeck.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-02 10:36:13 +00:00
cp-gimplify.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
cp-lang.c tree.h (enum tree_code): Include all-tree.def, not tree.def. 2008-06-21 21:17:40 +00:00
cp-objcp-common.c c-common.c (vector_types_convertible_p): Call langhook instead of comptypes. 2008-03-07 08:48:57 +00:00
cp-objcp-common.h c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
cp-tree.def decl.c (cp_tree_node_structure): Kill TINST_LEVEL case. 2007-08-25 07:36:35 +00:00
cp-tree.h objc-act.c: Fix comment typos. 2008-07-21 19:29:07 +00:00
cvt.c cvt.c (convert_to_void): Avoid C++ keywords. 2008-07-18 17:19:03 +00:00
cxx-pretty-print.c objc-act.c: Fix comment typos. 2008-07-21 19:29:07 +00:00
cxx-pretty-print.h re PR c++/33494 (Broken diagnostic: 'modop_expr' not supported by dump_expr) 2007-11-01 02:17:02 +00:00
decl.c re PR c/35058 (-Werror= works only with some warnings) 2008-07-23 15:57:49 +00:00
decl.h typeck.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-02 10:36:13 +00:00
decl2.c decl2.c (determine_visibility): Allow target to override visibility of class data. 2008-07-17 14:03:50 +00:00
dump.c cp-tree.h (IS_AGGR_TYPE): Rename to MAYBE_CLASS_TYPE_P. 2008-03-21 18:56:51 +00:00
error.c re PR c/35058 (-Werror= works only with some warnings) 2008-07-23 15:57:49 +00:00
except.c typeck.c (composite_pointer_type_r, [...]): Change pedwarn to permerror. 2008-06-21 11:36:27 +01:00
expr.c expr.c (cxx_expand_expr): Removed. 2007-10-26 08:19:14 +00:00
friend.c cvt.c (convert_to_void): Avoid C++ keywords. 2008-07-18 17:19:03 +00:00
g++spec.c re PR pch/13676 (GCC failes to recognize files ending in .hpp as headers to be precompiled) 2007-08-06 11:10:19 +00:00
init.c objc-act.c: Fix comment typos. 2008-07-21 19:29:07 +00:00
lang-specs.h re PR pch/13676 (GCC failes to recognize files ending in .hpp as headers to be precompiled) 2007-08-06 11:10:19 +00:00
lex.c re PR objc++/36723 (massive obj-c++ failures at rev.137407) 2008-07-15 01:11:18 -04:00
mangle.c cvt.c (convert_to_void): Avoid C++ keywords. 2008-07-18 17:19:03 +00:00
method.c cgraph.c (cgraph_add_new_function): When in expansion state, do lowering. 2008-06-18 13:39:43 +00:00
name-lookup.c re PR c/35058 (-Werror= works only with some warnings) 2008-07-23 15:57:49 +00:00
name-lookup.h re PR c++/34912 (ICE with friend in local class) 2008-01-22 14:50:37 -05:00
operators.def objc-act.c: Fix comment typos. 2008-07-21 19:29:07 +00:00
optimize.c re PR target/35921 (Con/de-structor definition fails to override dllimport declaration) 2008-04-14 23:53:54 +00:00
parser.c re PR c/35058 (-Werror= works only with some warnings) 2008-07-23 15:57:49 +00:00
pt.c re PR c/35058 (-Werror= works only with some warnings) 2008-07-23 15:57:49 +00:00
ptree.c typeck.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-02 10:36:13 +00:00
repo.c re PR c++/36364 (Problem with -frepo) 2008-06-28 00:26:48 +02:00
rtti.c c-common.c (c_stddef_cpp_builtins): Define __CHAR16_TYPE__ and __CHAR32_TYPE__. 2008-07-18 20:23:42 +00:00
search.c cp-tree.h (IS_AGGR_TYPE): Rename to MAYBE_CLASS_TYPE_P. 2008-03-21 18:56:51 +00:00
semantics.c re PR c++/36871 (__has_nothrow_copy(T) false for T with a template ctor) 2008-07-21 16:18:38 +00:00
tree.c objc-act.c: Fix comment typos. 2008-07-21 19:29:07 +00:00
typeck.c re PR c/35058 (-Werror= works only with some warnings) 2008-07-23 15:57:49 +00:00
typeck2.c re PR c/35058 (-Werror= works only with some warnings) 2008-07-23 15:57:49 +00:00