summaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-15 13:08:44 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-15 13:08:44 +0000
commita561ec107670fea70971066de274511b2bc9a852 (patch)
treebde934e4aa356a8650f60f1d993ef54085998bc3 /gcc/cse.c
parentf1f5c175f48e0d5ecf6ffc9601d3906cd1583ae3 (diff)
downloadgcc-a561ec107670fea70971066de274511b2bc9a852.tar.gz
* gengtype.c (create_user_defined_type): Workaround
-Wmaybe-uninitialized false positives. * cse.c (fold_rtx): Likewise. * loop-invariant.c (gain_for_invariant): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219652 138bc75d-0d04-0410-961f-82ee72b054a4
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 ec64ffa004b..8806197730c 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. */