diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-04 14:12:10 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-04 14:12:10 +0000 |
commit | 17fbf1b862ec17f9e8df86643baffa2d864878ab (patch) | |
tree | da20e1e0ccab946bb68ad3a0361c6996f7503b9a /gcc/tree-ssa-operands.c | |
parent | d02454a0d2e61b542b55db4f65bb6763d714a922 (diff) | |
download | gcc-17fbf1b862ec17f9e8df86643baffa2d864878ab.tar.gz |
2009-04-04 Richard Guenther <rguenther@suse.de>
* tree-ssa.c (verify_ssa): With -O0 we do not need VOPs.
* tree-ssa-operands.c (append_vdef): Do not append VOPs at -O0.
(append_vuse): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145539 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-operands.c')
-rw-r--r-- | gcc/tree-ssa-operands.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index 56d8e84a73b..f4df7508093 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -608,6 +608,9 @@ append_use (tree *use_p) static inline void append_vdef (tree var) { + if (!optimize) + return; + gcc_assert ((build_vdef == NULL_TREE || build_vdef == var) && (build_vuse == NULL_TREE @@ -623,6 +626,9 @@ append_vdef (tree var) static inline void append_vuse (tree var) { + if (!optimize) + return; + gcc_assert (build_vuse == NULL_TREE || build_vuse == var); |