diff options
author | Jakub Jelinek <jakub@redhat.com> | 2015-01-15 14:08:44 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2015-01-15 14:08:44 +0100 |
commit | e54bd4ab156d04ee02da62008d34c7eaba498d5e (patch) | |
tree | bde934e4aa356a8650f60f1d993ef54085998bc3 /gcc/cse.c | |
parent | 928923e765d97970732426c49a69ffd7802db034 (diff) | |
download | gcc-e54bd4ab156d04ee02da62008d34c7eaba498d5e.zip gcc-e54bd4ab156d04ee02da62008d34c7eaba498d5e.tar.gz gcc-e54bd4ab156d04ee02da62008d34c7eaba498d5e.tar.bz2 |
gengtype.c (create_user_defined_type): Workaround -Wmaybe-uninitialized false positives.
* gengtype.c (create_user_defined_type): Workaround
-Wmaybe-uninitialized false positives.
* cse.c (fold_rtx): Likewise.
* loop-invariant.c (gain_for_invariant): Likewise.
From-SVN: r219652
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3093,8 +3093,10 @@ fold_rtx (rtx x, rtx_insn *insn) int changed = 0; /* Operands of X. */ - rtx folded_arg0; - rtx folded_arg1; + /* Workaround -Wmaybe-uninitialized false positive during + profiledbootstrap by initializing them. */ + rtx folded_arg0 = NULL_RTX; + rtx folded_arg1 = NULL_RTX; /* Constant equivalents of first three operands of X; 0 when no such equivalent is known. */ |