aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2015-01-15 14:08:44 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2015-01-15 14:08:44 +0100
commite54bd4ab156d04ee02da62008d34c7eaba498d5e (patch)
treebde934e4aa356a8650f60f1d993ef54085998bc3 /gcc/cse.c
parent928923e765d97970732426c49a69ffd7802db034 (diff)
downloadgcc-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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index ec64ffa..8806197 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -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. */