diff options
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); |