diff options
author | Richard Guenther <rguenther@suse.de> | 2009-04-04 14:12:10 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-04-04 14:12:10 +0000 |
commit | c6803d43effa943273a5c6db91a4ec1d39076932 (patch) | |
tree | da20e1e0ccab946bb68ad3a0361c6996f7503b9a /gcc/tree-ssa.c | |
parent | 54f5943cdbf9c86991e68830a11ccda49850d6dc (diff) | |
download | gcc-c6803d43effa943273a5c6db91a4ec1d39076932.zip gcc-c6803d43effa943273a5c6db91a4ec1d39076932.tar.gz gcc-c6803d43effa943273a5c6db91a4ec1d39076932.tar.bz2 |
tree-ssa.c (verify_ssa): With -O0 we do not need VOPs.
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.
From-SVN: r145539
Diffstat (limited to 'gcc/tree-ssa.c')
-rw-r--r-- | gcc/tree-ssa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c index 3c4fc0c..ba0c6ab 100644 --- a/gcc/tree-ssa.c +++ b/gcc/tree-ssa.c @@ -624,7 +624,8 @@ verify_ssa (bool check_modified_stmt) if (base_address && SSA_VAR_P (base_address) - && !gimple_vdef (stmt)) + && !gimple_vdef (stmt) + && optimize > 0) { error ("statement makes a memory store, but has no VDEFS"); print_gimple_stmt (stderr, stmt, 0, TDF_VOPS); |