diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2007-07-11 09:43:25 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2007-07-11 09:43:25 +0000 |
commit | c2979eaf57aab3dc4c9ee3481b7de1933c9a8633 (patch) | |
tree | a59a2918eee22f42930a6b43e324b024d35f724e /gcc/doc | |
parent | 13c0a63051e154d83fad6063c40d17183246b098 (diff) | |
download | gcc-c2979eaf57aab3dc4c9ee3481b7de1933c9a8633.zip gcc-c2979eaf57aab3dc4c9ee3481b7de1933c9a8633.tar.gz gcc-c2979eaf57aab3dc4c9ee3481b7de1933c9a8633.tar.bz2 |
re PR tree-optimization/32589 (exp_dbug.adb:981: error: invalid array index)
PR tree-optimization/32589
* doc/tree-ssa.texi (Rough GIMPLE Grammar): Add missing rule.
* tree-gimple.c (is_gimple_min_invariant): Clarify head comment.
* tree-ssa-propagate.c (valid_gimple_expression_p): New
predicate, extracted from...
(set_rhs): ...here. Call it for the expression on entry.
* tree-ssa-propagate.h (valid_gimple_expression_p): Declare.
* tree-ssa-sccvn.c: Include tree-ssa-propagate.h.
(simplify_binary_expression): Use valid_gimple_expression_p
to validate the simplification.
* Makefile.in (tree-ssa-sccvn.o): Depends on tree-ssa-propagate.h.
From-SVN: r126545
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/tree-ssa.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/doc/tree-ssa.texi b/gcc/doc/tree-ssa.texi index 1322875..fcbee88 100644 --- a/gcc/doc/tree-ssa.texi +++ b/gcc/doc/tree-ssa.texi @@ -1,4 +1,4 @@ -@c Copyright (c) 2004, 2005 Free Software Foundation, Inc. +@c Copyright (c) 2004, 2005, 2007 Free Software Foundation, Inc. @c Free Software Foundation, Inc. @c This is part of the GCC manual. @c For copying conditions, see the file gcc.texi. @@ -680,7 +680,7 @@ void f() bitfieldref : BIT_FIELD_REF op0 -> inner-compref op1 -> CONST - op2 -> var + op2 -> val compref : inner-compref | TARGET_MEM_REF @@ -718,6 +718,8 @@ void f() op1 -> val val : ID + | invariant ADDR_EXPR + op0 -> addr-expr-arg | CONST rhs : lhs |