diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2014-04-16 10:50:58 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2014-04-16 10:50:58 +0000 |
commit | 61c7fb308a746e03d3ae8ba54234a8e18b2479da (patch) | |
tree | 0bef9cf3d4562a596b955f1762e194e90daca6b5 /gcc/tree-ssa-operands.c | |
parent | 42fae17c3741000efa1124cd0af0665ff6141f05 (diff) | |
download | gcc-61c7fb308a746e03d3ae8ba54234a8e18b2479da.zip gcc-61c7fb308a746e03d3ae8ba54234a8e18b2479da.tar.gz gcc-61c7fb308a746e03d3ae8ba54234a8e18b2479da.tar.bz2 |
tree-ssa-operands.c (create_vop_var): Set DECL_IGNORED_P.
* tree-ssa-operands.c (create_vop_var): Set DECL_IGNORED_P.
(append_use): Run at -O0.
(append_vdef): Likewise.
* tree-ssa-ter.c (ter_is_replaceable_p): Do not special-case -O0.
* tree-ssa-uninit.c (warn_uninitialized_vars): Remove obsolete comment.
From-SVN: r209443
Diffstat (limited to 'gcc/tree-ssa-operands.c')
-rw-r--r-- | gcc/tree-ssa-operands.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index c525fe5..03d3e4d 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -166,6 +166,7 @@ create_vop_var (struct function *fn) get_identifier (".MEM"), void_type_node); DECL_ARTIFICIAL (global_var) = 1; + DECL_IGNORED_P (global_var) = 1; TREE_READONLY (global_var) = 0; DECL_EXTERNAL (global_var) = 1; TREE_STATIC (global_var) = 1; @@ -477,9 +478,6 @@ 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 @@ -495,9 +493,6 @@ append_vdef (tree var) static inline void append_vuse (tree var) { - if (!optimize) - return; - gcc_assert (build_vuse == NULL_TREE || build_vuse == var); |