Go to file
Richard Guenther c554294001 re PR middle-end/19807 (fold does not fold &a[4]-1)
2005-05-11  Richard Guenther  <rguenth@gcc.gnu.org>

	PR middle-end/19807
	PR tree-optimization/19639
	* fold-const.c (try_move_mult_to_index): Handle INTEGER_CST
	and generic summands for char* as s * delta, too, folding &a[i]
	CODE x to &a[i CODE x/s].  Use tree_int_cst_equal
	for comparison of steps.  Convert types for index addition.
	(fold_binary): Adjust the callers to always dispatch to
	try_move_mult_to_index.
	* tree-ssa-propagate.c (set_rhs): Avoid setting rhs to
	expr with non-gimple ARRAY_REF offset.

	* g++.dg/tree-ssa/pr19807.C: New testcase.

From-SVN: r99568
2005-05-11 08:14:44 +00:00
boehm-gc * configure: Regenerate. 2005-05-10 01:43:00 +00:00
config configure: Regenerate. 2005-04-29 13:54:56 +00:00
contrib * gennews (files): Update for GCC 4.0. 2005-04-17 12:19:23 +01:00
fastjar jartool.c (main): Indentation fixlet. 2005-03-28 18:14:00 +00:00
fixincludes inclhack.def (stdio_stdarg_h, [...]): Bypass on *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9]. 2005-05-10 01:26:08 +01:00
gcc re PR middle-end/19807 (fold does not fold &a[4]-1) 2005-05-11 08:14:44 +00:00
gnattools re PR ada/19959 (Can't compile gnattools for the cross targets) 2005-03-30 10:56:55 +02:00
include Update the address and phone number of the FSF organization. 2005-05-10 15:22:21 +00:00
INSTALL README: Update wrt. 2001-06-13 14:51:33 +00:00
intl aclocal.m4: Regenerate. 2004-11-24 21:53:28 +00:00
libada Fix ada enabled "make html". 2005-04-27 18:39:03 -07:00
libcpp * nl.po: Update. 2005-05-05 19:16:01 +01:00
libffi * configure: Regenerate. 2005-05-10 01:43:00 +00:00
libgfortran re PR libfortran/21471 ('POSITION = "APPEND"' doesn't seem to work) 2005-05-11 05:56:20 +00:00
libiberty Makefile.in: Regenerate dependencies. 2005-05-11 01:39:32 +00:00
libjava javaprims.h: Updated. 2005-05-10 18:28:31 +00:00
libmudflap * configure: Regenerate. 2005-05-10 01:43:00 +00:00
libobjc * configure: Regenerate. 2005-05-10 01:43:00 +00:00
libstdc++-v3 * include/debug/debug.h: Fix typo in macro name. 2005-05-10 18:30:36 +01:00
maintainer-scripts gcc-version.m4: Delete. 2005-03-16 06:04:10 +00:00
zlib * configure: Regenerate. 2005-05-10 01:43:00 +00:00
.cvsignore configure, .cvsignore: Revert previous change... 2002-06-19 18:10:09 +00:00
ABOUT-NLS intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
ChangeLog libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Use quotes on lt_cv_sys_max_cmd_len for now. 2005-05-10 01:31:58 +00:00
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
compile install-sh, compile: Import from automake. 2004-11-16 01:04:30 +00:00
config-ml.in re PR bootstrap/18033 (--disable-aix64 doesn't remove ppc64 from multilib list) 2005-01-12 19:47:56 -05:00
config.guess config.guess, config.sub: Import from savannnah. 2004-11-16 00:57:01 +00:00
config.rpath intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
config.sub * config.sub: Update from master copy. 2005-04-22 08:58:48 +00:00
configure Oops, regenerate with updated tree. 2005-05-05 01:31:58 +00:00
configure.in configure.in: Always pass --target to target configures as otherwise rebuilds that do... 2005-05-05 00:59:26 +00:00
COPYING
COPYING.LIB COPYING.LIB: Update to LGPL 2.1 from the FSF. 2001-01-29 13:32:47 +00:00
depcomp config.guess: New upstream version 2004-09-23 01:21:50 +00:00
install-sh install-sh, config.sub: Import from upstream. 2005-01-18 01:20:48 +00:00
libtool.m4 libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Use quotes on lt_cv_sys_max_cmd_len for now. 2005-05-10 01:31:58 +00:00
ltcf-c.sh ltconfig: Define file_list_spec. 2005-05-05 11:04:39 -04:00
ltcf-cxx.sh ltconfig: Define file_list_spec. 2005-05-05 11:04:39 -04:00
ltcf-gcj.sh ltconfig: Define file_list_spec. 2005-05-05 11:04:39 -04:00
ltconfig ltconfig: Define file_list_spec. 2005-05-05 11:04:39 -04:00
ltmain.sh ltconfig: Define file_list_spec. 2005-05-05 11:04:39 -04:00
MAINTAINERS * MAINTAINERS: Remove self, add Nick Clifton as iq2000 maintainer. 2005-05-09 13:34:05 +00:00
Makefile.def Makefile.def (bfd, [...]): Set lib_path. 2005-03-30 08:18:08 +00:00
Makefile.in Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from STAGE_HOST_EXPORTS. 2005-05-04 15:41:56 +00:00
Makefile.tpl Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from STAGE_HOST_EXPORTS. 2005-05-04 15:41:56 +00:00
missing missing: Import latest version from master repository. 2004-09-07 08:33:10 +00:00
mkdep
mkinstalldirs re PR bootstrap/11932 (Parallel bootstrap failure with sparc libiberty multilib) 2004-02-20 02:01:16 +00:00
move-if-change
README * README: Remove version number. 2001-06-13 19:48:09 +01:00
README.SCO * README.SCO: Update the URL. 2005-05-08 17:49:46 +00:00
symlink-tree * config-ml.in, symlink-tree: Add license. 2003-08-14 16:44:23 -04:00
ylwrap * Revert to previous version due to Binutils breakage. 2004-09-24 11:14:51 +00:00

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.