This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/64754] [5 Regression] bootstrap failed with --with-build-config=bootstrap-lto
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Jan 2015 21:25:43 +0000
- Subject: [Bug bootstrap/64754] [5 Regression] bootstrap failed with --with-build-config=bootstrap-lto
- Auto-submitted: auto-generated
- References: <bug-64754-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64754
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu.org
Target Milestone|--- |5.0
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Valgrind reports:
==18318== Conditional jump or move depends on uninitialised value(s)
==18318== at 0x8C67E4A: maybe_set_dependence_info(tree_node*, tree_node*,
unsigned short&, variable_info*, unsigned short&) (tree-ssa-structalias.c:7046)
==18318== by 0x8C68270: compute_dependence_clique()
(tree-ssa-structalias.c:7127)
==18318== by 0x8C683ED: compute_may_aliases() (tree-ssa-structalias.c:7184)
==18318== by 0x899E7EC: execute_function_todo(function*, void*)
(passes.c:1927)
==18318== by 0x899DB1D: do_per_function(void (*)(function*, void*), void*)
(passes.c:1647)
==18318== by 0x899EA99: execute_todo(unsigned int) (passes.c:2012)
==18318== by 0x899F3BC: execute_one_pass(opt_pass*) (passes.c:2339)
==18318== by 0x899F548: execute_pass_list_1(opt_pass*) (passes.c:2378)
==18318== by 0x899F578: execute_pass_list_1(opt_pass*) (passes.c:2379)
==18318== by 0x899F5AB: execute_pass_list(function*, opt_pass*)
(passes.c:2389)
==18318== by 0x899DE68: do_per_function_toporder(void (*)(function*, void*),
void*) (passes.c:1724)
==18318== by 0x89A0112: execute_ipa_pass_list(opt_pass*) (passes.c:2730)
==18318==
In codes added by r218005:
if (clique == 0)
clique = ++cfun->last_clique;
if (restrict_var->ruid == 0)
^^^^ It isn't initialized.
restrict_var->ruid = ++last_ruid;
MR_DEPENDENCE_CLIQUE (ref) = clique;
MR_DEPENDENCE_BASE (ref) = restrict_var->ruid;
return true;