gcc/include
Joseph Myers dc70e81d6e obstack.h: Merge the following change from gnulib...
include:
	* obstack.h: Merge the following change from gnulib:
	2003-10-21  Paul Eggert  <eggert@twinsun.com>
	* obstack.h (obstack_1grow_fast): Properly parenthesize arg.
	(obstack_ptr_grow_fast, obstack_int_grow_fast):
	Don't use lvalue casts, as GCC plans to remove support for them
	in GCC 3.5.  Reported by Joseph S. Myers.  This bug
	was also present in the non-GCC version, indicating that this
	code had always been buggy and had never been widely used.
	(obstack_1grow, obstack_ptr_grow, obstack_int_grow, obstack_blank):
	Use the fast variant of each macro, rather than copying the
	definiens of the fast variant; that way, we'll be more likely to
	catch future bugs in the fast variants.

gcc:
	* c-typeck.c (pedantic_lvalue_warning): Unconditionally warn of
	deprecation of casts as lvalues.
	* fixinc/inclhack.def (obstack_lvalue_cast): New fix.
	* fixinc/fixincl.x: Regenerate.
	* fixinc/tests/base/obstack.h: New test.

gcc/testsuite:
	* gcc.dg/cast-lvalue-1.c: New test.

From-SVN: r72826
2003-10-22 23:28:39 +01:00
..
ansidecl.h alloc-pool.c: Don't check HAVE_LONG_DOUBLE. 2003-06-17 14:10:01 +00:00
ChangeLog obstack.h: Merge the following change from gnulib... 2003-10-22 23:28:39 +01:00
COPYING
demangle.h demangle.h: Support C++. 2003-07-06 14:45:37 -07:00
dyn-string.h
fibheap.h
filenames.h * filenames.h: New file imported from binutils. 2003-07-01 20:29:16 +00:00
floatformat.h floatformat.h (struct floatformat): Add field "is_valid". 2003-09-22 17:42:03 +00:00
fnmatch.h
getopt.h partition.h: Close the extern "C" scope when compiling with C++. 2002-10-27 01:00:34 +00:00
hashtab.h s/burtle/iterative 2003-05-07 16:30:32 -04:00
libiberty.h hex.c (_hex_value): Make this unsigned. 2003-05-15 19:02:13 +00:00
md5.h
objalloc.h
obstack.h obstack.h: Merge the following change from gnulib... 2003-10-22 23:28:39 +01:00
partition.h partition.h: Close the extern "C" scope when compiling with C++. 2002-10-27 01:00:34 +00:00
safe-ctype.h safe-ctype.h (HC_UNKNOWN, [...]): Rename to HOST_CHARSET_UNKNOWN... 2003-06-22 15:59:49 +00:00
sort.h
splay-tree.h Merge from pch-branch. 2003-01-10 02:22:34 +00:00
symcat.h
ternary.h
xregex2.h
xregex.h
xtensa-config.h * xtensa-config.h: Undef all macros before defining them. 2003-07-10 05:08:27 +00:00