[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 Markus Trippelsdorf changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-22 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 --- Comment #13 from David Binderman --- (In reply to Markus Trippelsdorf from comment #10) > A gave your patch a quick spin on gcc112 (compile farm machine). > It fixes the issue. I also tried out the fix and a plain non-bootstrap build of trun

[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-22 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 --- Comment #12 from Mikhail Maltsev --- (In reply to Markus Trippelsdorf from comment #10) > A gave your patch a quick spin on gcc112 (compile farm machine). > It fixes the issue. Thanks, Markus. I committed the fix.

[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-22 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 --- Comment #11 from Mikhail Maltsev --- Author: miyuki Date: Wed Sep 23 02:31:14 2015 New Revision: 228033 URL: https://gcc.gnu.org/viewcvs?rev=228033&root=gcc&view=rev Log: Fix use of valgrind API gcc/ PR middle-end/67649 * me

[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-21 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 --- Comment #10 from Markus Trippelsdorf --- A gave your patch a quick spin on gcc112 (compile farm machine). It fixes the issue.

[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-21 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 Mikhail Maltsev changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-21 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 Mikhail Maltsev changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |miyuki at gcc dot gnu.org ---

[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-21 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 --- Comment #8 from Markus Trippelsdorf --- --enable-checking=valgrind is enough

[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-21 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 --- Comment #7 from Mikhail Maltsev --- Probably. Will look at this today (valgrind has some sort of memory pool API, I think it can be used here). I need to configure GCC with --enable-checking=yes,valgrind to reproduce this, right?

[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-21 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 --- Comment #6 from Markus Trippelsdorf --- I guess valgrind just needs to be silenced in this case. See valgrind related macros in gcc/system.h.

[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-21 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 Markus Trippelsdorf changed: What|Removed |Added Target|x86_64-pc-linux-gnu | CC|

[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-21 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 --- Comment #4 from Markus Trippelsdorf --- ==122519== Invalid write of size 4 ==122519==at 0x107D4EF0: vn_nary_op_insert_into(vn_nary_op_s*, hash_table*, bool) (tree-ssa-sccvn.c:2634) ==122519==by 0x107D528B: sccvn_dom_walker::record_con

[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-21 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-21 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 --- Comment #2 from David Binderman --- (In reply to Richard Biener from comment #1) > You are using -O3 -march=native it seems. I checked, and the problem also occurs in the simpler case when -O3 -march=native is replaced by -O2. > Note that

[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 --- Comment #1 from Richard Biener --- You are using -O3 -march=native it seems. Note that the error doesn't make much sense to me.