aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-uninit.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2014-04-16 10:50:58 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2014-04-16 10:50:58 +0000
commit61c7fb308a746e03d3ae8ba54234a8e18b2479da (patch)
tree0bef9cf3d4562a596b955f1762e194e90daca6b5 /gcc/tree-ssa-uninit.c
parent42fae17c3741000efa1124cd0af0665ff6141f05 (diff)
downloadgcc-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-uninit.c')
-rw-r--r--gcc/tree-ssa-uninit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree-ssa-uninit.c b/gcc/tree-ssa-uninit.c
index eee83f7..1de1394 100644
--- a/gcc/tree-ssa-uninit.c
+++ b/gcc/tree-ssa-uninit.c
@@ -210,7 +210,6 @@ warn_uninitialized_vars (bool warn_possibly_uninitialized)
/* For memory the only cheap thing we can do is see if we
have a use of the default def of the virtual operand.
- ??? Note that at -O0 we do not have virtual operands.
??? Not so cheap would be to use the alias oracle via
walk_aliased_vdefs, if we don't find any aliasing vdef
warn as is-used-uninitialized, if we don't find an aliasing