gcc/gcc/cp
Mark Mitchell eca7f13c69 c-common.c (warn_abi): New variable.
* c-common.c (warn_abi): New variable.
	* c-common.h (warn_abi): Likewise.
	* c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
	(c_common_decode_option): Handle it.
	* doc/invoke.texi:P Document -Wabi.

	* class.c (layout_virtual_bases): Warn about bugs in G++ that
	result in incorrect object layouts.
	(layout_class_type): Likewise.

	* testsuite/g++.dg/abi/bitfield5.C: New test.
	* testsuite/g++.dg/abi/vbase10.C: Likewise.

From-SVN: r56618
2002-08-27 22:14:51 +00:00
..
.cvsignore Makefile.in (info, [...]): Also build and remove and install and uninstall c-tree.info and cppinternals.info. 2001-01-13 00:24:39 +00:00
ChangeLog c-common.c (warn_abi): New variable. 2002-08-27 22:14:51 +00:00
ChangeLog.1 ChangeLog.1, [...]: Fix spelling errors. 2001-12-16 16:07:01 +00:00
ChangeLog.2 ChangeLog.1, [...]: Fix spelling errors. 2001-12-16 16:07:01 +00:00
ChangeLog.egcs
Make-lang.in configure.in (enable_coverage): New enable switch. 2002-08-08 09:10:39 +00:00
NEWS add mangling note 2002-03-18 19:21:38 -05:00
call.c call.c (standard_conversion): Use build_ptrmem_type. 2002-08-09 19:57:01 +00:00
cfns.gperf cfns.gperf (hash, [...]): Prototype. 2000-04-04 20:46:23 +00:00
cfns.h cfns.gperf (hash, [...]): Prototype. 2000-04-04 20:46:23 +00:00
class.c c-common.c (warn_abi): New variable. 2002-08-27 22:14:51 +00:00
config-lang.in Make gengtype.c language independent. 2002-07-14 01:59:15 +00:00
cp-lang.c Makefile.in (c-opts.o, [...]): Update. 2002-08-07 18:32:13 +00:00
cp-tree.def Rework build_component_ref. 2002-08-08 05:48:39 +00:00
cp-tree.h tree.c (lvalue_p_1): Add argument for whether casts of lvalues are allowable. 2002-08-25 04:57:16 +00:00
cvt.c Fix PR/2213 2002-08-05 03:56:16 +00:00
decl.c decl.c (pushdecl_class_level): Honor requests to bind names to OVERLOADs. 2002-08-13 16:36:26 +00:00
decl.h Merge from pch-branch up to tag pch-commit-20020603. 2002-06-04 07:11:05 +00:00
decl2.c parse.y (sizeof, [...]): New non-terminals to increment skip_evaluation. 2002-08-15 21:16:52 +00:00
dump.c c-dump.c: Resurrect. 2002-07-26 09:45:38 -04:00
error.c call.c (add_builtin_candidate): legal -> valid, illegal -> invalid. 2002-08-09 01:16:39 +00:00
except.c Rework build_component_ref. 2002-08-08 05:48:39 +00:00
expr.c c-common.c (c_expand_expr): Fix prototype. 2002-03-27 18:28:06 +00:00
friend.c xref.c: Remove. 2002-02-04 03:55:43 -05:00
g++.1 gcc_update: Add gcc/gcc.1 to generated files. 2001-01-13 21:17:13 +00:00
g++spec.c error.c (print_whitespace): Remove. 2002-07-25 21:13:36 +00:00
init.c call.c (add_builtin_candidate): legal -> valid, illegal -> invalid. 2002-08-09 01:16:39 +00:00
lang-options.h gcc.c, [...]: Use American spelling in messages. 2001-12-15 20:06:12 +00:00
lang-specs.h c-opts.c (set_std_cxx98, [...]): New. 2002-08-10 20:58:45 +00:00
lex.c c-common.c: Define all C/ObjC/C++ warning and flag variables. 2002-08-01 06:20:46 +00:00
lex.h Merge from pch-branch up to tag pch-commit-20020603. 2002-06-04 07:11:05 +00:00
mangle.c error.c (print_whitespace): Remove. 2002-07-25 21:13:36 +00:00
method.c Rework build_component_ref. 2002-08-08 05:48:39 +00:00
operators.def re PR c++/7112 (Regression: ICE on C++ code involving templates and sizeof) 2002-07-02 03:19:22 +00:00
optimize.c decl.c (duplicate_decls): Replace DECL_SOURCE_FILE + DECL_SOURCE_LINE with DECL_SOURCE_LOCATION. 2002-08-11 16:05:27 +00:00
parse.y parse.y (sizeof, [...]): New non-terminals to increment skip_evaluation. 2002-08-15 21:16:52 +00:00
pt.c c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR. 2002-08-22 19:22:53 -04:00
ptree.c Makefile.in: Update. 2001-11-09 23:30:44 +00:00
repo.c decl2.c (build_call_from_tree): Fix uninitialized variable. 2002-08-11 18:30:25 +00:00
rtti.c re PR c++/7320 (g++ 3.2 relocation problem) 2002-07-17 11:46:38 +00:00
search.c call.c (standard_conversion): Use build_ptrmem_type. 2002-08-09 19:57:01 +00:00
semantics.c c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR. 2002-08-22 19:22:53 -04:00
spew.c Rework build_component_ref. 2002-08-08 05:48:39 +00:00
tree.c tree.c (lvalue_p_1): Add argument for whether casts of lvalues are allowable. 2002-08-25 04:57:16 +00:00
typeck.c tree.c (lvalue_p_1): Add argument for whether casts of lvalues are allowable. 2002-08-25 04:57:16 +00:00
typeck2.c Rework build_component_ref. 2002-08-08 05:48:39 +00:00