Go to file
Carlos O'Donell 8d1c7aef72 c-typeck.c (build_c_cast): Always warn when casting from a pointer to an integer of different size...
gcc/

2006-01-05  Carlos O'Donell  <carlos@codesourcery.com>

	* c-typeck.c (build_c_cast): Always warn when casting
	from a pointer to an integer of different size, even if
	the node was constant.

gcc/testsuite

2006-01-05  Carlos O'Donell  <carlos@codesourcery.com>

	* gcc.dg/cast-1.c: Add new warning.
	* gcc.dg/cast-2.c: Likewise.
	* gcc.dg/cast-3.c: Likewise.
	* gcc.dg/format/cast-1.c: Likewise.
	* gcc.dg/cast-4.c: New testcase.

From-SVN: r109386
2006-01-05 19:07:16 +00:00
boehm-gc
config re PR libgomp/25259 (bootstrap failures on non-C99 platforms (no stdint.h)) 2006-01-02 18:53:27 +00:00
contrib * btest-gcc.sh: Support -j option. 2005-12-20 20:20:24 +00:00
fastjar compress.c (write_data): Mark 'ze' as unused. 2005-11-29 21:46:02 +00:00
fixincludes Check the last byte for '\n' 2005-11-25 05:57:10 +00:00
gcc c-typeck.c (build_c_cast): Always warn when casting from a pointer to an integer of different size... 2006-01-05 19:07:16 +00:00
gnattools
include xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New. 2005-12-31 00:29:42 +00:00
INSTALL
intl
libada Makefile.in (FLAGS_TO_PASS): Add GCC_FOR_TARGET. 2005-12-05 14:40:27 +00:00
libcpp Makefile.in: Use -MMD instead of -MD. 2006-01-05 08:35:23 +00:00
libdecnumber decNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro definition of strcpy from generating compilation... 2006-01-04 21:22:34 +00:00
libffi ffitarget.h: Remove obsolete sgidefs.h include. 2005-12-07 14:56:38 +00:00
libgfortran re PR libgomp/25259 (bootstrap failures on non-C99 platforms (no stdint.h)) 2006-01-02 18:53:27 +00:00
libiberty floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast to convert from "from". 2005-12-17 17:21:34 +00:00
libjava * java/lang/natPosixProcess.cc (reap): Ignore unknown children. 2006-01-05 17:35:20 +00:00
libmudflap libmudflap.exp (libmudflap-init): Remove -static from MUDFLAP_FLAGS if static library not supported. 2005-11-22 20:35:51 +00:00
libobjc re PR objc/25360 (Complex types are not encoded) 2005-12-16 12:19:37 -08:00
libssp
libstdc++-v3 sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class. 2006-01-04 11:34:45 +00:00
maintainer-scripts update_web_docs_svn: Remove unnecessary files from source tree. 2005-12-16 23:59:10 +00:00
zlib
ABOUT-NLS
ChangeLog Makefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): Remove @ from continuation. 2006-01-05 17:42:53 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess Sync config.{sub,guess} from upstream sources 2005-11-22 20:41:02 +00:00
config.rpath
config.sub config.gcc (ms1): Replace with ... 2005-12-12 10:54:49 +00:00
configure re PR middle-end/24252 (Missing "warning: control reaches end of non-void function" in static function) 2006-01-04 12:21:27 +00:00
configure.in re PR middle-end/24252 (Missing "warning: control reaches end of non-void function" in static function) 2006-01-04 12:21:27 +00:00
COPYING
COPYING.LIB
depcomp
install-sh
libtool-ldflags libtool-ldflags: New script. 2006-01-03 00:30:27 +00:00
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS MAINTAINERS (Write after approval): Add myself. 2006-01-05 13:47:33 +01:00
Makefile.def re PR middle-end/24252 (Missing "warning: control reaches end of non-void function" in static function) 2006-01-04 12:21:27 +00:00
Makefile.in Makefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): Remove @ from continuation. 2006-01-05 17:42:53 +00:00
Makefile.tpl Makefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): Remove @ from continuation. 2006-01-05 17:42:53 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
README.SCO
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file 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.html for how to report bugs usefully.