public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind
@ 2013-10-13 12:14 markus at trippelsdorf dot de
2013-10-14 7:36 ` [Bug other/58712] " markus at trippelsdorf dot de
` (16 more replies)
0 siblings, 17 replies; 18+ messages in thread
From: markus at trippelsdorf dot de @ 2013-10-13 12:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
Bug ID: 58712
Summary: [4.9 Regression] issues found by
--enable-checking=valgrind
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: markus at trippelsdorf dot de
1)
==4348== Conditional jump or move depends on uninitialised value(s)
==4348== at 0x5CF50C: cgraph_create_edge_1(cgraph_node*, cgraph_node*,
gimple_statement_d*, long, int) (cgraph.c:695)
==4348== by 0x5D005E: cgraph_create_edge(cgraph_node*, cgraph_node*,
gimple_statement_d*, long, int) (cgraph.c:890)
==4348== by 0x5D80A1: cgraph_clone_edge(cgraph_edge*, cgraph_node*,
gimple_statement_d*, unsigned int, long, int, bool) (cgraphclones.c:135)
==4348== by 0x86C7E4: copy_body(copy_body_data*, long, int,
basic_block_def*, basic_block_def*, basic_block_def*) (tree-inline.c:1741)
==4348== by 0x86F94F: optimize_inline_calls(tree_node*) (tree-inline.c:4258)
==4348== by 0xC0029A: (anonymous namespace)::pass_early_inline::execute()
(ipa-inline.c:2257)
==4348== by 0x793AA9: execute_one_pass(opt_pass*) (passes.c:2202)
==4348== by 0x793C55: execute_pass_list(opt_pass*) (passes.c:2254)
==4348== by 0x7926C2: do_per_function_toporder(void (*)(void*), void*)
(passes.c:1620)
==4348== by 0x7941A6: execute_ipa_pass_list(opt_pass*) (passes.c:2572)
==4348== by 0x5D7721: compile() (cgraphunit.c:1981)
==4348== by 0x5D7E24: finalize_compilation_unit() (cgraphunit.c:2269)
==4348==
Probably caused by r201632.
2)
==9588== Use of uninitialised value of size 8
==9588== at 0x8704C5: pointer_set_lookup(pointer_set_t const*, void const*,
unsigned long*) (pointer-set.c:90)
==9588== by 0x870544: pointer_set_insert(pointer_set_t*, void const*)
(pointer-set.c:147)
==9588== by 0x6AB402: analyze_functions() (cgraphunit.c:847)
==9588== by 0x6AC415: finalize_compilation_unit() (cgraphunit.c:2260)
==9588== by 0x568435: cp_write_global_declarations() (decl2.c:4421)
==9588== by 0x90095C: compile_file() (toplev.c:560)
==9588== by 0x902499: toplev_main(int, char**) (toplev.c:1893)
==9588== by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
==9588==
==9588== Conditional jump or move depends on uninitialised value(s)
==9588== at 0x8704CC: pointer_set_lookup(pointer_set_t const*, void const*,
unsigned long*) (pointer-set.c:90)
==9588== by 0x870544: pointer_set_insert(pointer_set_t*, void const*)
(pointer-set.c:147)
==9588== by 0x6AB402: analyze_functions() (cgraphunit.c:847)
==9588== by 0x6AC415: finalize_compilation_unit() (cgraphunit.c:2260)
==9588== by 0x568435: cp_write_global_declarations() (decl2.c:4421)
==9588== by 0x90095C: compile_file() (toplev.c:560)
==9588== by 0x902499: toplev_main(int, char**) (toplev.c:1893)
==9588== by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
Probably caused by r200367.
3)
==1269== Invalid write of size 8
==1269== at 0x63BDBD: iterative_hash_canonical_type(tree_node*, unsigned
int) (gimple.c:3220)
==1269== by 0xC224F1: htab_find_slot (hashtab.c:704)
==1269== by 0x641818: gimple_register_canonical_type(tree_node*)
(gimple.c:3488)
==1269== by 0x504AEB: lto_read_decls(lto_file_decl_data*, void const*,
vec<ld_plugin_symbol_resolution, va_heap, vl_ptr>) (lto.c:2495)
==1269== by 0x505CBB: lto_main() (lto.c:2786)
==1269== by 0x7B3A95: compile_file() (toplev.c:546)
==1269== by 0x7B5619: toplev_main(int, char**) (toplev.c:1893)
==1269== by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
==1269== Address 0x40325a0 is not stack'd, malloc'd or (recently) free'd
This is an older issue, see PR55358 for more info.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
@ 2013-10-14 7:36 ` markus at trippelsdorf dot de
2013-10-14 8:37 ` rguenth at gcc dot gnu.org
` (15 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: markus at trippelsdorf dot de @ 2013-10-14 7:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
Adding CC.
1,3) Honza
2) Richard
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
2013-10-14 7:36 ` [Bug other/58712] " markus at trippelsdorf dot de
@ 2013-10-14 8:37 ` rguenth at gcc dot gnu.org
2013-10-14 9:01 ` rguenth at gcc dot gnu.org
` (14 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-14 8:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Markus Trippelsdorf from comment #0)
> 3)
> ==1269== Invalid write of size 8
> ==1269== at 0x63BDBD: iterative_hash_canonical_type(tree_node*, unsigned
> int) (gimple.c:3220)
> ==1269== by 0xC224F1: htab_find_slot (hashtab.c:704)
> ==1269== by 0x641818: gimple_register_canonical_type(tree_node*)
> (gimple.c:3488)
> ==1269== by 0x504AEB: lto_read_decls(lto_file_decl_data*, void const*,
> vec<ld_plugin_symbol_resolution, va_heap, vl_ptr>) (lto.c:2495)
> ==1269== by 0x505CBB: lto_main() (lto.c:2786)
> ==1269== by 0x7B3A95: compile_file() (toplev.c:546)
> ==1269== by 0x7B5619: toplev_main(int, char**) (toplev.c:1893)
> ==1269== by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
> ==1269== Address 0x40325a0 is not stack'd, malloc'd or (recently) free'd
>
> This is an older issue, see PR55358 for more info.
By inspection I have created a patch and am bootstrapping/testing it for this
issue.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
2013-10-14 7:36 ` [Bug other/58712] " markus at trippelsdorf dot de
2013-10-14 8:37 ` rguenth at gcc dot gnu.org
@ 2013-10-14 9:01 ` rguenth at gcc dot gnu.org
2013-10-14 9:24 ` rguenth at gcc dot gnu.org
` (13 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-14 9:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.9.0
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
` (2 preceding siblings ...)
2013-10-14 9:01 ` rguenth at gcc dot gnu.org
@ 2013-10-14 9:24 ` rguenth at gcc dot gnu.org
2013-10-15 7:15 ` markus at trippelsdorf dot de
` (12 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-14 9:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Oct 14 09:24:36 2013
New Revision: 203517
URL: http://gcc.gnu.org/viewcvs?rev=203517&root=gcc&view=rev
Log:
2013-10-14 Richard Biener <rguenther@suse.de>
PR middle-end/58712
PR middle-end/55358
* gimple.c (iterative_hash_canonical_type): Make sure to
record the hash into the correct hashtable slot.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple.c
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
` (3 preceding siblings ...)
2013-10-14 9:24 ` rguenth at gcc dot gnu.org
@ 2013-10-15 7:15 ` markus at trippelsdorf dot de
2013-10-24 17:28 ` law at gcc dot gnu.org
` (11 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: markus at trippelsdorf dot de @ 2013-10-15 7:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
--- Comment #4 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
Adding --track-origins=yes to the valgrind invocation in gcc/gcc.c shows:
1)
==27870== Conditional jump or move depends on uninitialised value(s)
==27870== at 0x557CDC: cgraph_create_edge_1(cgraph_node*, cgraph_node*,
gimple_statement_d*, long, int) (cgraph.c:695)
==27870== by 0x55882E: cgraph_create_edge(cgraph_node*, cgraph_node*,
gimple_statement_d*, long, int) (cgraph.c:890)
==27870== by 0x560891: cgraph_clone_edge(cgraph_edge*, cgraph_node*,
gimple_statement_d*, unsigned int, long, int, bool) (cgraphclones.c:135)
==27870== by 0x7F1F14: copy_body(copy_body_data*, long, int,
basic_block_def*, basic_block_def*, basic_block_def*) (tree-inline.c:1741)
==27870== by 0x7F507F: optimize_inline_calls(tree_node*)
(tree-inline.c:4258)
==27870== by 0xB8B523: inline_transform(cgraph_node*)
(ipa-inline-transform.c:436)
==27870== by 0x718C47: execute_all_ipa_transforms() (passes.c:2046)
==27870== by 0x55EA6C: expand_function(cgraph_node*) (cgraphunit.c:1743)
==27870== by 0x560296: compile() (cgraphunit.c:1855)
==27870== by 0x505C6C: lto_main() (lto.c:3235)
==27870== by 0x7B2545: compile_file() (toplev.c:546)
==27870== by 0x7B40C9: toplev_main(int, char**) (toplev.c:1893)
==27870== Uninitialised value was created by a client request
==27870== at 0x50BBEE: ggc_internal_alloc_stat(unsigned long)
(ggc-page.c:1339)
==27870== by 0x557D92: cgraph_create_edge_1(cgraph_node*, cgraph_node*,
gimple_statement_d*, long, int) (cgraph.c:842)
==27870== by 0x55882E: cgraph_create_edge(cgraph_node*, cgraph_node*,
gimple_statement_d*, long, int) (cgraph.c:890)
==27870== by 0x560891: cgraph_clone_edge(cgraph_edge*, cgraph_node*,
gimple_statement_d*, unsigned int, long, int, bool) (cgraphclones.c:135)
==27870== by 0x7F1F14: copy_body(copy_body_data*, long, int,
basic_block_def*, basic_block_def*, basic_block_def*) (tree-inline.c:1741)
==27870== by 0x7F507F: optimize_inline_calls(tree_node*)
(tree-inline.c:4258)
==27870== by 0xB8B523: inline_transform(cgraph_node*)
(ipa-inline-transform.c:436)
==27870== by 0x718C47: execute_all_ipa_transforms() (passes.c:2046)
==27870== by 0x55EA6C: expand_function(cgraph_node*) (cgraphunit.c:1743)
==27870== by 0x560296: compile() (cgraphunit.c:1855)
==27870== by 0x505C6C: lto_main() (lto.c:3235)
==27870== by 0x7B2545: compile_file() (toplev.c:546)
Seems to be fixable by initializing edge->indirect_unknown_callee earlier:
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 124ee0adf855..c5c4e13ba145 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -874,6 +874,7 @@ cgraph_create_edge_1 (struct cgraph_node *caller, struct
cgraph_node *callee,
edge->indirect_info = NULL;
edge->indirect_inlining_edge = 0;
edge->speculative = false;
+ edge->indirect_unknown_callee = 0;
if (call_stmt && caller->call_site_hash)
cgraph_add_edge_to_call_site_hash (edge);
@@ -889,7 +890,6 @@ cgraph_create_edge (struct cgraph_node *caller, struct
cgraph_node *callee,
struct cgraph_edge *edge = cgraph_create_edge_1 (caller, callee, call_stmt,
count, freq);
- edge->indirect_unknown_callee = 0;
initialize_inline_failed (edge);
edge->next_caller = callee->callers;
2)
==27501== Use of uninitialised value of size 8
==27501== at 0x7220B5: pointer_set_lookup(pointer_set_t const*, void const*,
unsigned long*) (pointer-set.c:90)
==27501== by 0x722134: pointer_set_insert(pointer_set_t*, void const*)
(pointer-set.c:147)
==27501== by 0x6DF580: compute_ltrans_boundary(lto_symtab_encoder_d*)
(lto-cgraph.c:854)
==27501== by 0x50A739: lto_promote_cross_file_statics()
(lto-partition.c:925)
==27501== by 0x50557C: lto_main() (lto.c:2400)
==27501== by 0x7B2545: compile_file() (toplev.c:546)
==27501== by 0x7B40C9: toplev_main(int, char**) (toplev.c:1893)
==27501== by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
==27501== Uninitialised value was created by a stack allocation
==27501== at 0x6DF180: compute_ltrans_boundary(lto_symtab_encoder_d*)
(lto-cgraph.c:764)
==27501==
==27501== Conditional jump or move depends on uninitialised value(s)
==27501== at 0x7220BC: pointer_set_lookup(pointer_set_t const*, void const*,
unsigned long*) (pointer-set.c:90)
==27501== by 0x722134: pointer_set_insert(pointer_set_t*, void const*)
(pointer-set.c:147)
==27501== by 0x6DF580: compute_ltrans_boundary(lto_symtab_encoder_d*)
(lto-cgraph.c:854)
==27501== by 0x50A739: lto_promote_cross_file_statics()
(lto-partition.c:925)
==27501== by 0x50557C: lto_main() (lto.c:2400)
==27501== by 0x7B2545: compile_file() (toplev.c:546)
==27501== by 0x7B40C9: toplev_main(int, char**) (toplev.c:1893)
==27501== by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
==27501== Uninitialised value was created by a stack allocation
==27501== at 0x6DF180: compute_ltrans_boundary(lto_symtab_encoder_d*)
(lto-cgraph.c:764)
>From gcc/cgraphunit.c:
838 {
839 unsigned int i;
840 void *cache_token;
841 bool final;
842 vec <cgraph_node *>targets
843 = possible_polymorphic_call_targets
844 (edge, &final, &cache_token);
845
846 if (!pointer_set_insert (reachable_call_targets,
847 cache_token))
This idiom also appears in gcc/ipa.c and gcc/lto-cgraph.c.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
` (4 preceding siblings ...)
2013-10-15 7:15 ` markus at trippelsdorf dot de
@ 2013-10-24 17:28 ` law at gcc dot gnu.org
2013-11-05 15:02 ` rguenth at gcc dot gnu.org
` (10 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: law at gcc dot gnu.org @ 2013-10-24 17:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
--- Comment #5 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Thu Oct 24 17:28:11 2013
New Revision: 204026
URL: http://gcc.gnu.org/viewcvs?rev=204026&root=gcc&view=rev
Log:
PR ipa/58712
* cgraph.c (cgraph_create_edge_1): Add indirect_unknown_callee
as argument.
(cgraph_create_edge): Use the new argument.
(cgraph_create_indirect_edge): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraph.c
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
` (5 preceding siblings ...)
2013-10-24 17:28 ` law at gcc dot gnu.org
@ 2013-11-05 15:02 ` rguenth at gcc dot gnu.org
2013-11-05 15:12 ` octoploid at yandex dot com
` (9 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-05 15:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2013-11-05
Ever confirmed|0 |1
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Any issue is remaining?
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
` (6 preceding siblings ...)
2013-11-05 15:02 ` rguenth at gcc dot gnu.org
@ 2013-11-05 15:12 ` octoploid at yandex dot com
2013-11-05 15:15 ` rguenth at gcc dot gnu.org
` (8 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: octoploid at yandex dot com @ 2013-11-05 15:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
--- Comment #7 from octoploid at yandex dot com ---
(In reply to Richard Biener from comment #6)
> Any issues remaining?
Yes. The second one.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
` (7 preceding siblings ...)
2013-11-05 15:12 ` octoploid at yandex dot com
@ 2013-11-05 15:15 ` rguenth at gcc dot gnu.org
2013-11-10 11:14 ` octoploid at yandex dot com
` (7 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-05 15:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
Status|WAITING |NEW
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
` (8 preceding siblings ...)
2013-11-05 15:15 ` rguenth at gcc dot gnu.org
@ 2013-11-10 11:14 ` octoploid at yandex dot com
2013-11-12 21:33 ` vmakarov at gcc dot gnu.org
` (6 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: octoploid at yandex dot com @ 2013-11-10 11:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
octoploid at yandex dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vmakarov at gcc dot gnu.org
--- Comment #8 from octoploid at yandex dot com ---
Too summarize. There are three different issues right now.
Issue 2) from above is still unfixed.
Plus two new issues.
1) (This is issue 2 from above)
==23547== Use of uninitialised value of size 8
==23547== at 0x886D95: pointer_set_lookup(pointer_set_t const*, void const*,
unsigned long*) (pointer-set.c:90)
==23547== by 0x886E14: pointer_set_insert(pointer_set_t*, void const*)
(pointer-set.c:147)
==23547== by 0x7EEDB4: symtab_remove_unreachable_nodes(bool, _IO_FILE*)
(ipa.c:175)
==23547== by 0x6BBECF: compile() (cgraphunit.c:1993)
==23547== by 0x6BC5B4: finalize_compilation_unit() (cgraphunit.c:2272)
==23547== by 0x57618D: cp_write_global_declarations() (decl2.c:4403)
==23547== by 0x91709C: compile_file() (toplev.c:559)
==23547== by 0x918B97: toplev_main(int, char**) (toplev.c:1891)
==23547== by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
==23547== Uninitialised value was created by a stack allocation
==23547== at 0x7EE8B0: symtab_remove_unreachable_nodes(bool, _IO_FILE*)
(ipa.c:289)
==23547==
==23547== Conditional jump or move depends on uninitialised value(s)
==23547== at 0x886D9C: pointer_set_lookup(pointer_set_t const*, void const*,
unsigned long*) (pointer-set.c:90)
==23547== by 0x886E14: pointer_set_insert(pointer_set_t*, void const*)
(pointer-set.c:147)
==23547== by 0x7EEDB4: symtab_remove_unreachable_nodes(bool, _IO_FILE*)
(ipa.c:175)
==23547== by 0x6BBECF: compile() (cgraphunit.c:1993)
==23547== by 0x6BC5B4: finalize_compilation_unit() (cgraphunit.c:2272)
==23547== by 0x57618D: cp_write_global_declarations() (decl2.c:4403)
==23547== by 0x91709C: compile_file() (toplev.c:559)
==23547== by 0x918B97: toplev_main(int, char**) (toplev.c:1891)
==23547== by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
==23547== Uninitialised value was created by a stack allocation
==23547== at 0x7EE8B0: symtab_remove_unreachable_nodes(bool, _IO_FILE*)
(ipa.c:289)
==23547==
==23547== Use of uninitialised value of size 8
==23547== at 0x886E27: pointer_set_insert(pointer_set_t*, void const*)
(pointer-set.c:150)
==23547== by 0x7EEDB4: symtab_remove_unreachable_nodes(bool, _IO_FILE*)
(ipa.c:175)
==23547== by 0x6BBECF: compile() (cgraphunit.c:1993)
==23547== by 0x6BC5B4: finalize_compilation_unit() (cgraphunit.c:2272)
==23547== by 0x57618D: cp_write_global_declarations() (decl2.c:4403)
==23547== by 0x91709C: compile_file() (toplev.c:559)
==23547== by 0x918B97: toplev_main(int, char**) (toplev.c:1891)
==23547== by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
==23547== Uninitialised value was created by a stack allocation
==23547== at 0x7EE8B0: symtab_remove_unreachable_nodes(bool, _IO_FILE*)
(ipa.c:289)
==23547==
==23547== Use of uninitialised value of size 8
==23547== at 0x886D95: pointer_set_lookup(pointer_set_t const*, void const*,
unsigned long*) (pointer-set.c:90)
==23547== by 0x886DCD: pointer_set_contains(pointer_set_t const*, void
const*) (pointer-set.c:116)
==23547== by 0x7D1356: (anonymous namespace)::pass_ipa_devirt::execute()
(ipa-devirt.c:1027)
==23547== by 0x87DD29: execute_one_pass(opt_pass*) (passes.c:2215)
==23547== by 0x87E56A: execute_ipa_pass_list(opt_pass*) (passes.c:2579)
==23547== by 0x6BC003: compile() (cgraphunit.c:2028)
==23547== by 0x6BC5B4: finalize_compilation_unit() (cgraphunit.c:2272)
==23547== by 0x57618D: cp_write_global_declarations() (decl2.c:4403)
==23547== by 0x91709C: compile_file() (toplev.c:559)
==23547== by 0x918B97: toplev_main(int, char**) (toplev.c:1891)
==23547== by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
==23547== Uninitialised value was created by a stack allocation
==23547== at 0x7D1050: (anonymous namespace)::pass_ipa_devirt::execute()
(ipa-devirt.c:1182)
==26207== Use of uninitialised value of size 8
==26207== at 0x886D95: pointer_set_lookup(pointer_set_t const*, void const*,
unsigned long*) (pointer-set.c:90)
==26207== by 0x886E14: pointer_set_insert(pointer_set_t*, void const*)
(pointer-set.c:147)
==26207== by 0x7EEDB4: symtab_remove_unreachable_nodes(bool, _IO_FILE*)
(ipa.c:175)
==26207== by 0x6BBD0C: compile() (cgraphunit.c:2152)
==26207== by 0x6BC5B4: finalize_compilation_unit() (cgraphunit.c:2272)
==26207== by 0x57618D: cp_write_global_declarations() (decl2.c:4403)
==26207== by 0x91709C: compile_file() (toplev.c:559)
==26207== by 0x918B97: toplev_main(int, char**) (toplev.c:1891)
==26207== by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
==26207== Uninitialised value was created by a stack allocation
==26207== at 0x6BDEA5: cgraph_materialize_all_clones() (cgraphclones.c:1017)
2) New issue, caused by r204212 (vmakarov):
==25791== Conditional jump or move depends on uninitialised value(s)
==25791== at 0x72ED2C: record_operand_costs(rtx_def*, reg_class*)
(ira-costs.c:1227)
==25791== by 0x72F014: process_bb_for_costs(basic_block_def*)
(ira-costs.c:1346)
==25791== by 0x72A64D: ira_traverse_loop_tree(bool, ira_loop_tree_node*,
void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*))
(ira-build.c:1825)
==25791== by 0x730CF9: find_costs_and_classes(_IO_FILE*) (ira-costs.c:1576)
==25791== by 0x731059: ira_costs() (ira-costs.c:2098)
==25791== by 0x72BCA6: ira_build() (ira-build.c:3430)
==25791== by 0x724910: (anonymous namespace)::pass_ira::execute()
(ira.c:5067)
==25791== by 0x7ABAF9: execute_one_pass(opt_pass*) (passes.c:2215)
==25791== by 0x7ABD85: execute_pass_list(opt_pass*) (passes.c:2267)
==25791== by 0x7ABD97: execute_pass_list(opt_pass*) (passes.c:2268)
==25791== by 0x5E7CB4: expand_function(cgraph_node*) (cgraphunit.c:1753)
==25791== by 0x5E9516: compile() (cgraphunit.c:1858)
==25791== Uninitialised value was created by a stack allocation
==25791== at 0x72EAE0: record_operand_costs(rtx_def*, reg_class*)
(ira-costs.c:1149)
3) New issue.
==25556== Conditional jump or move depends on uninitialised value(s)
==25556== at 0xA5603D: get_attr_length_nobnd(rtx_def*) (sse.md:4626)
==25556== by 0xA65BAA: insn_min_length(rtx_def*) (i386.md:478)
==25556== by 0x686170: shorten_branches(rtx_def*) (final.c:1191)
==25556== by 0x6863CF: (anonymous
namespace)::pass_shorten_branches::execute() (final.c:4520)
==25556== by 0x7ABAF9: execute_one_pass(opt_pass*) (passes.c:2215)
==25556== by 0x7ABD85: execute_pass_list(opt_pass*) (passes.c:2267)
==25556== by 0x7ABD97: execute_pass_list(opt_pass*) (passes.c:2268)
==25556== by 0x7ABD97: execute_pass_list(opt_pass*) (passes.c:2268)
==25556== by 0x5E7CB4: expand_function(cgraph_node*) (cgraphunit.c:1753)
==25556== by 0x5E9516: compile() (cgraphunit.c:1858)
==25556== by 0x5E9834: finalize_compilation_unit() (cgraphunit.c:2272)
==25556== by 0x50CF9B: c_write_global_declarations() (c-decl.c:10287)
==25556== Uninitialised value was created by a heap allocation
==25556== at 0x40274F0: malloc (vg_replace_malloc.c:291)
==25556== by 0xCDC0B7: xmalloc (xmalloc.c:147)
==25556== by 0x685AC2: shorten_branches(rtx_def*) (final.c:1005)
==25556== by 0x6863CF: (anonymous
namespace)::pass_shorten_branches::execute() (final.c:4520)
==25556== by 0x7ABAF9: execute_one_pass(opt_pass*) (passes.c:2215)
==25556== by 0x7ABD85: execute_pass_list(opt_pass*) (passes.c:2267)
==25556== by 0x7ABD97: execute_pass_list(opt_pass*) (passes.c:2268)
==25556== by 0x7ABD97: execute_pass_list(opt_pass*) (passes.c:2268)
==25556== by 0x5E7CB4: expand_function(cgraph_node*) (cgraphunit.c:1753)
==25556== by 0x5E9516: compile() (cgraphunit.c:1858)
==25556== by 0x5E9834: finalize_compilation_unit() (cgraphunit.c:2272)
==25556== by 0x50CF9B: c_write_global_declarations() (c-decl.c:10287)
==24916== Conditional jump or move depends on uninitialised value(s)
==24916== at 0xB28164: get_attr_length_nobnd(rtx_def*) (sse.md:4648)
==24916== by 0xB37C3A: insn_min_length(rtx_def*) (i386.md:478)
==24916== by 0x758E50: shorten_branches(rtx_def*) (final.c:1191)
==24916== by 0x7590AF: (anonymous
namespace)::pass_shorten_branches::execute() (final.c:4520)
==24916== by 0x87DD29: execute_one_pass(opt_pass*) (passes.c:2215)
==24916== by 0x87DFB5: execute_pass_list(opt_pass*) (passes.c:2267)
==24916== by 0x87DFC7: execute_pass_list(opt_pass*) (passes.c:2268)
==24916== by 0x87DFC7: execute_pass_list(opt_pass*) (passes.c:2268)
==24916== by 0x6BAA34: expand_function(cgraph_node*) (cgraphunit.c:1753)
==24916== by 0x6BC296: compile() (cgraphunit.c:1858)
==24916== by 0x6BC5B4: finalize_compilation_unit() (cgraphunit.c:2272)
==24916== by 0x57618D: cp_write_global_declarations() (decl2.c:4403)
==24916== Uninitialised value was created by a client request
==24916== at 0x663D21: ggc_internal_alloc_stat(unsigned long)
(ggc-page.c:1339)
==24916== by 0x8CED41: rtx_alloc_stat(rtx_code) (ggc.h:257)
==24916== by 0xB0363E: legitimize_pic_address(rtx_def*, rtx_def*)
(genrtl.h:335)
==24916== by 0xB07A70: ix86_expand_move(machine_mode, rtx_def**)
(i386.c:16436)
==24916== by 0xB87776: gen_movdi(rtx_def*, rtx_def*) (i386.md:1844)
==24916== by 0x7492FA: emit_move_insn_1(rtx_def*, rtx_def*) (recog.h:284)
==24916== by 0x7495E5: emit_move_insn(rtx_def*, rtx_def*) (expr.c:3547)
==24916== by 0x68EA76: expand_call(tree_node*, rtx_def*, int) (calls.c:1908)
==24916== by 0x746F3C: expand_expr_real_1(tree_node*, rtx_def*,
machine_mode, expand_modifier, rtx_def**) (expr.c:10172)
==24916== by 0x69A114: expand_gimple_stmt(gimple_statement_d*)
(cfgexpand.c:2203)
==24916== by 0x69AECC: expand_gimple_basic_block(basic_block_def*, bool)
(cfgexpand.c:5092)
==24916== by 0x69CDB6: (anonymous namespace)::pass_expand::execute()
(cfgexpand.c:5657)
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
` (9 preceding siblings ...)
2013-11-10 11:14 ` octoploid at yandex dot com
@ 2013-11-12 21:33 ` vmakarov at gcc dot gnu.org
2013-11-24 9:52 ` octoploid at yandex dot com
` (5 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2013-11-12 21:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
--- Comment #9 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Author: vmakarov
Date: Tue Nov 12 21:33:06 2013
New Revision: 204720
URL: http://gcc.gnu.org/viewcvs?rev=204720&root=gcc&view=rev
Log:
2013-11-12 Vladimir Makarov <vmakarov@redhat.com>
PR other/58712
* ira-costs.c (record_operand_costs): Check operands number for
the single set.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ira-costs.c
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
` (10 preceding siblings ...)
2013-11-12 21:33 ` vmakarov at gcc dot gnu.org
@ 2013-11-24 9:52 ` octoploid at yandex dot com
2014-01-15 8:08 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: octoploid at yandex dot com @ 2013-11-24 9:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
--- Comment #10 from Markus Trippelsdorf <octoploid at yandex dot com> ---
New issue, started with r204926, r204997:
==21374== Conditional jump or move depends on uninitialised value(s)
==21374== at 0x686F3A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*,
unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long)
(expr.c:2998)
==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*,
block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned
long) (expr.c:2812)
==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*,
tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760)
==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*,
machine_mode, int) (builtins.c:6161)
==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*,
machine_mode, expand_modifier, rtx_def**) (expr.c:10275)
==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*)
(cfgexpand.c:2245)
==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool)
(cfgexpand.c:5135)
==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute()
(cfgexpand.c:5701)
==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215)
==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268)
==21374== by 0x5FCB95: expand_function(cgraph_node*) (cgraphunit.c:1763)
==21374== by 0x5FE477: compile() (cgraphunit.c:1868)
==21374== Uninitialised value was created by a stack allocation
==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*,
machine_mode) (builtins.c:3633)
==21374==
==21374== Conditional jump or move depends on uninitialised value(s)
==21374== at 0x6695B8: gen_rtx_CONST_INT(machine_mode, long)
(emit-rtl.c:402)
==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*,
unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long)
(optabs.h:485)
==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*,
block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned
long) (expr.c:2812)
==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*,
tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760)
==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*,
machine_mode, int) (builtins.c:6161)
==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*,
machine_mode, expand_modifier, rtx_def**) (expr.c:10275)
==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*)
(cfgexpand.c:2245)
==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool)
(cfgexpand.c:5135)
==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute()
(cfgexpand.c:5701)
==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215)
==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268)
==21374== by 0x5FCB95: expand_function(cgraph_node*) (cgraphunit.c:1763)
==21374== Uninitialised value was created by a stack allocation
==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*,
machine_mode) (builtins.c:3633)
==21374==
==21374== Use of uninitialised value of size 8
==21374== at 0xD37236: htab_find_slot_with_hash (hashtab.c:655)
==21374== by 0x6695E5: gen_rtx_CONST_INT(machine_mode, long)
(emit-rtl.c:412)
==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*,
unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long)
(optabs.h:485)
==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*,
block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned
long) (expr.c:2812)
==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*,
tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760)
==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*,
machine_mode, int) (builtins.c:6161)
==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*,
machine_mode, expand_modifier, rtx_def**) (expr.c:10275)
==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*)
(cfgexpand.c:2245)
==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool)
(cfgexpand.c:5135)
==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute()
(cfgexpand.c:5701)
==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215)
==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268)
==21374== Uninitialised value was created by a stack allocation
==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*,
machine_mode) (builtins.c:3633)
==21374==
==21374== Conditional jump or move depends on uninitialised value(s)
==21374== at 0xD370B8: htab_find_slot_with_hash (hashtab.c:660)
==21374== by 0x6695E5: gen_rtx_CONST_INT(machine_mode, long)
(emit-rtl.c:412)
==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*,
unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long)
(optabs.h:485)
==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*,
block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned
long) (expr.c:2812)
==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*,
tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760)
==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*,
machine_mode, int) (builtins.c:6161)
==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*,
machine_mode, expand_modifier, rtx_def**) (expr.c:10275)
==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*)
(cfgexpand.c:2245)
==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool)
(cfgexpand.c:5135)
==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute()
(cfgexpand.c:5701)
==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215)
==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268)
==21374== Uninitialised value was created by a stack allocation
==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*,
machine_mode) (builtins.c:3633)
==21374==
==21374== Conditional jump or move depends on uninitialised value(s)
==21374== at 0xD37120: htab_find_slot_with_hash (hashtab.c:668)
==21374== by 0x6695E5: gen_rtx_CONST_INT(machine_mode, long)
(emit-rtl.c:412)
==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*,
unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long)
(optabs.h:485)
==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*,
block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned
long) (expr.c:2812)
==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*,
tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760)
==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*,
machine_mode, int) (builtins.c:6161)
==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*,
machine_mode, expand_modifier, rtx_def**) (expr.c:10275)
==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*)
(cfgexpand.c:2245)
==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool)
(cfgexpand.c:5135)
==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute()
(cfgexpand.c:5701)
==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215)
==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268)
==21374== Uninitialised value was created by a stack allocation
==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*,
machine_mode) (builtins.c:3633)
==21374==
==21374== Use of uninitialised value of size 8
==21374== at 0xD37134: htab_find_slot_with_hash (hashtab.c:671)
==21374== by 0x6695E5: gen_rtx_CONST_INT(machine_mode, long)
(emit-rtl.c:412)
==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*,
unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long)
(optabs.h:485)
==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*,
block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned
long) (expr.c:2812)
==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*,
tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760)
==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*,
machine_mode, int) (builtins.c:6161)
==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*,
machine_mode, expand_modifier, rtx_def**) (expr.c:10275)
==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*)
(cfgexpand.c:2245)
==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool)
(cfgexpand.c:5135)
==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute()
(cfgexpand.c:5701)
==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215)
==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268)
==21374== Uninitialised value was created by a stack allocation
==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*,
machine_mode) (builtins.c:3633)
==21374==
==21374== Conditional jump or move depends on uninitialised value(s)
==21374== at 0xD3714D: htab_find_slot_with_hash (hashtab.c:679)
==21374== by 0x6695E5: gen_rtx_CONST_INT(machine_mode, long)
(emit-rtl.c:412)
==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*,
unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long)
(optabs.h:485)
==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*,
block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned
long) (expr.c:2812)
==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*,
tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760)
==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*,
machine_mode, int) (builtins.c:6161)
==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*,
machine_mode, expand_modifier, rtx_def**) (expr.c:10275)
==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*)
(cfgexpand.c:2245)
==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool)
(cfgexpand.c:5135)
==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute()
(cfgexpand.c:5701)
==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215)
==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268)
==21374== Uninitialised value was created by a stack allocation
==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*,
machine_mode) (builtins.c:3633)
==21374==
==21374== Use of uninitialised value of size 8
==21374== at 0x6695E9: gen_rtx_CONST_INT(machine_mode, long)
(emit-rtl.c:413)
==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*,
unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long)
(optabs.h:485)
==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*,
block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned
long) (expr.c:2812)
==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*,
tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760)
==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*,
machine_mode, int) (builtins.c:6161)
==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*,
machine_mode, expand_modifier, rtx_def**) (expr.c:10275)
==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*)
(cfgexpand.c:2245)
==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool)
(cfgexpand.c:5135)
==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute()
(cfgexpand.c:5701)
==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215)
==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268)
==21374== by 0x5FCB95: expand_function(cgraph_node*) (cgraphunit.c:1763)
==21374== Uninitialised value was created by a stack allocation
==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*,
machine_mode) (builtins.c:3633)
==21374==
==21374== Use of uninitialised value of size 8
==21374== at 0x669608: gen_rtx_CONST_INT(machine_mode, long)
(emit-rtl.c:414)
==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*,
unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long)
(optabs.h:485)
==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*,
block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned
long) (expr.c:2812)
==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*,
tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760)
==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*,
machine_mode, int) (builtins.c:6161)
==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*,
machine_mode, expand_modifier, rtx_def**) (expr.c:10275)
==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*)
(cfgexpand.c:2245)
==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool)
(cfgexpand.c:5135)
==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute()
(cfgexpand.c:5701)
==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215)
==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268)
==21374== by 0x5FCB95: expand_function(cgraph_node*) (cgraphunit.c:1763)
==21374== Uninitialised value was created by a stack allocation
==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*,
machine_mode) (builtins.c:3633)
==21374==
==21374== Conditional jump or move depends on uninitialised value(s)
==21374== at 0x7EDF21: const_int_operand(rtx_def*, machine_mode)
(recog.c:1164)
==21374== by 0x7B976F: maybe_legitimize_operands(insn_code, unsigned int,
unsigned int, expand_operand*) (optabs.c:8157)
==21374== by 0x7B983D: maybe_gen_insn(insn_code, unsigned int,
expand_operand*) (optabs.c:8207)
==21374== by 0x7B9E38: maybe_expand_insn(insn_code, unsigned int,
expand_operand*) (optabs.c:8250)
==21374== by 0x686E0A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*,
unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long)
(expr.c:3003)
==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*,
block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned
long) (expr.c:2812)
==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*,
tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760)
==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*,
machine_mode, int) (builtins.c:6161)
==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*,
machine_mode, expand_modifier, rtx_def**) (expr.c:10275)
==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*)
(cfgexpand.c:2245)
==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool)
(cfgexpand.c:5135)
==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute()
(cfgexpand.c:5701)
==21374== Uninitialised value was created by a stack allocation
==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*,
machine_mode) (builtins.c:3633)
==21374==
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
` (11 preceding siblings ...)
2013-11-24 9:52 ` octoploid at yandex dot com
@ 2014-01-15 8:08 ` jakub at gcc dot gnu.org
2014-01-16 8:36 ` trippels at gcc dot gnu.org
` (3 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-01-15 8:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jan 15 08:08:17 2014
New Revision: 206621
URL: http://gcc.gnu.org/viewcvs?rev=206621&root=gcc&view=rev
Log:
PR other/58712
* builtins.c (determine_block_size): Initialize *probable_max_size
even if len_rtx is CONST_INT.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
` (12 preceding siblings ...)
2014-01-15 8:08 ` jakub at gcc dot gnu.org
@ 2014-01-16 8:36 ` trippels at gcc dot gnu.org
2014-01-29 10:35 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-01-16 8:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |trippels at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #12 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
All issues are fixed. Closing.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
` (13 preceding siblings ...)
2014-01-16 8:36 ` trippels at gcc dot gnu.org
@ 2014-01-29 10:35 ` jakub at gcc dot gnu.org
2014-02-04 12:20 ` jakub at gcc dot gnu.org
2014-02-04 12:32 ` jakub at gcc dot gnu.org
16 siblings, 0 replies; 18+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-01-29 10:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jan 29 10:35:15 2014
New Revision: 207230
URL: http://gcc.gnu.org/viewcvs?rev=207230&root=gcc&view=rev
Log:
PR other/58712
* read-rtl.c (read_rtx_code): Clear all of RTX_CODE_SIZE (code).
For REGs set ORIGINAL_REGNO.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/read-rtl.c
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
` (14 preceding siblings ...)
2014-01-29 10:35 ` jakub at gcc dot gnu.org
@ 2014-02-04 12:20 ` jakub at gcc dot gnu.org
2014-02-04 12:32 ` jakub at gcc dot gnu.org
16 siblings, 0 replies; 18+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-02-04 12:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 4 12:19:32 2014
New Revision: 207461
URL: http://gcc.gnu.org/viewcvs?rev=207461&root=gcc&view=rev
Log:
PR other/58712
* omp-low.c (simd_clone_struct_copy): If from->inbranch
is set, copy one less argument.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/omp-low.c
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
` (15 preceding siblings ...)
2014-02-04 12:20 ` jakub at gcc dot gnu.org
@ 2014-02-04 12:32 ` jakub at gcc dot gnu.org
16 siblings, 0 replies; 18+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-02-04 12:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712
--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 4 12:31:30 2014
New Revision: 207462
URL: http://gcc.gnu.org/viewcvs?rev=207462&root=gcc&view=rev
Log:
PR other/58712
* omp-low.c (simd_clone_struct_copy): If from->inbranch
is set, copy one less argument.
(expand_simd_clones): Don't subtract clone_info->inbranch
from simd_clone_struct_alloc argument.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/omp-low.c
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2014-02-04 12:32 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-13 12:14 [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind markus at trippelsdorf dot de
2013-10-14 7:36 ` [Bug other/58712] " markus at trippelsdorf dot de
2013-10-14 8:37 ` rguenth at gcc dot gnu.org
2013-10-14 9:01 ` rguenth at gcc dot gnu.org
2013-10-14 9:24 ` rguenth at gcc dot gnu.org
2013-10-15 7:15 ` markus at trippelsdorf dot de
2013-10-24 17:28 ` law at gcc dot gnu.org
2013-11-05 15:02 ` rguenth at gcc dot gnu.org
2013-11-05 15:12 ` octoploid at yandex dot com
2013-11-05 15:15 ` rguenth at gcc dot gnu.org
2013-11-10 11:14 ` octoploid at yandex dot com
2013-11-12 21:33 ` vmakarov at gcc dot gnu.org
2013-11-24 9:52 ` octoploid at yandex dot com
2014-01-15 8:08 ` jakub at gcc dot gnu.org
2014-01-16 8:36 ` trippels at gcc dot gnu.org
2014-01-29 10:35 ` jakub at gcc dot gnu.org
2014-02-04 12:20 ` jakub at gcc dot gnu.org
2014-02-04 12:32 ` jakub at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).