Go to file
Richard Guenther 3b48ccbc89 re PR tree-optimization/19431 (missed optimization with ifs and deferencing)
2007-04-18  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/19431
	PR tree-optimization/21463
	* tree-pass.h (pass_phiprop): Declare.
	* passes.c (init_optimization_passes): New phiprop pass.
	* tree-ssa-forwprop.c (struct phiprop_d): New structure.
	(phivn_valid_p): New helper function.
	(phiprop_insert_phi): Likewise.
	(propagate_with_phi): Likewise.
	(tree_ssa_phiprop): New propagator propagating loads
	through phi nodes if profitable.

	* gcc.c-torture/execute/20070212-1.c: New testcase.
	* gcc.c-torture/execute/20070212-2.c: Likewise.
	* gcc.c-torture/execute/20070212-3.c: Likewise.
	* gcc.dg/tree-ssa/pr19431.c: Likewise.
	* gcc.dg/tree-ssa/pr21463.c: Likewise.
	* g++.dg/tree-ssa/pr21463.C: Likewise.
	* g++.dg/tree-ssa/pr30738.C: Likewise.

From-SVN: r123946
2007-04-18 11:45:09 +00:00
boehm-gc closures.c: Include sys/statfs.h. 2007-04-03 11:12:40 +02:00
config configure: Regenerate. 2007-04-12 13:06:43 +00:00
contrib * texi2pod.pl: Correct handling of @itemize with no argument. 2007-04-05 05:46:41 +00:00
fixincludes inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES if __extern_inline or __GNUC_GNU_INLINE__ is... 2007-03-26 15:25:26 +02:00
gcc re PR tree-optimization/19431 (missed optimization with ifs and deferencing) 2007-04-18 11:45:09 +00:00
gnattools * Makefile.in: Add dummy install-pdf target. 2007-03-01 15:55:34 -08:00
include filenames.h (FILENAME_CMP): Adjust define to call filename_cmp regardless of the type of file system. 2007-03-29 20:55:57 +00:00
INSTALL
intl Makefile.in (distclean): Delete config files. 2006-09-27 18:51:52 +09:30
libada * Makefile.in: Add dummy install-pdf target. 2007-03-01 16:05:13 -08:00
libcpp make alloca call type correct 2007-03-30 22:40:19 +00:00
libdecnumber Makefile.in (aclocal.m4): Depend on stdint.m4 instead of acx.m4. 2007-04-16 13:57:10 -07:00
libffi Makefile.am (EXTRA_DIST): Bring up to date. 2007-04-13 07:21:04 +00:00
libgcc config.gcc: Recognize fido. 2007-04-14 02:15:45 +00:00
libgfortran * ChangeLog: Forgot to include Tobias in the authors. 2007-04-18 08:54:40 +00:00
libgomp configure.tgt (i[456]86-*-linux*): Only add ia32 specific flags if not building with -m64. 2007-04-16 20:09:40 +00:00
libiberty argv.c: Use ANSI C declarations. 2007-04-11 15:02:45 -04:00
libjava re PR awt/31311 (Quitting applet can hang X server) 2007-04-17 20:15:53 +00:00
libmudflap pass59-frag.c (main): Fix casting of arg. 2007-03-14 08:53:32 +01:00
libobjc sendmsg.c: Added __objc_msg_forward2... 2007-04-09 11:04:50 -07:00
libssp Makefile.am: Add dummy install-pdf target. 2007-03-01 15:50:30 -08:00
libstdc++-v3 configure.ac: Change how LIBSUPCXX_PICFLAGS is set. 2007-04-14 19:51:44 +00:00
maintainer-scripts Revert some changes inadvertently committed as part of the previous revision. 2007-04-01 00:08:27 +00:00
zlib Makefile.am: Add -I .. 2007-04-14 19:52:27 +00:00
ABOUT-NLS
ChangeLog * config-ml.in: Pass ${ml_config_env} to configure calls. 2007-04-14 19:48:36 +00:00
ChangeLog.tree-ssa
compile
config-ml.in * config-ml.in: Pass ${ml_config_env} to configure calls. 2007-04-14 19:48:36 +00:00
config.guess config.guess: Import latest version. 2006-12-11 15:11:34 +11:00
config.rpath
config.sub config.sub: Sync with src. 2007-02-09 16:31:28 +00:00
configure Revert accidental commit. 2007-03-26 18:50:13 -04:00
configure.ac configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting of glob. 2007-03-21 20:09:15 +00:00
COPYING
COPYING.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig * ltconfig (freebsd*): Default to elf. 2007-02-14 13:19:26 +00:00
ltmain.sh Port to hosts whose 'sort' and 'tail' implementations treat operands with leading '+' as file names... 2006-07-06 23:24:51 +00:00
MAINTAINERS (Write After Approval): Add myself. 2007-04-04 08:47:08 +02:00
Makefile.def Makefile.in: Add dummy "install-info" target. 2007-03-12 11:58:12 -07:00
Makefile.in Makefile.in: Add dummy "install-info" target. 2007-03-12 11:58:12 -07:00
Makefile.tpl configure.ac: Add "--with-pdfdir" configure option, which defines pdfdir variable. 2007-03-01 16:28:09 -08: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.