r134849 - in /branches/gcc-4_2-branch/gcc: Chan...

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Thu May 1 11:15:00 GMT 2008


Author: rguenth
Date: Thu May  1 11:15:32 2008
New Revision: 134849

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134849
Log:
2008-05-01  Richard Guenther  <rguenther@suse.de>

	PR middle-end/36093
	Backport from mainline
	2007-04-12  Richard Guenther  <rguenther@suse.de>

        * gimplify.c (canonicalize_addr_expr): To be consistent with
        gimplify_compound_lval only set operands two and three of
        ARRAY_REFs if they are not gimple_min_invariant.  This makes
        it never at this place.
        * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Likewise.

	* gcc.c-torture/execute/pr36093.c: New testcase.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/pr36093.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/gimplify.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_2-branch/gcc/tree-ssa-ccp.c



More information about the Gcc-cvs mailing list