[Bug tree-optimization/71916] [6/7 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-07-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug tree-optimization/71916] [6/7 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-07-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 --- Comment #13 from Jakub Jelinek --- This looks like a bug in handling of __builtin_unreachable (in RTL basic blocks without successors) during cross-jumping in jump2 pass. In *.csa there are 2 such basic blocks in the IL, but in *.jump2 only

[Bug tree-optimization/71916] [6/7 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-07-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 --- Comment #12 from Martin Liška --- Created attachment 38932 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38932=edit --dbg-cnt="registered_jump_thread:4" dump

[Bug tree-optimization/71916] [6/7 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-07-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 --- Comment #11 from Martin Liška --- Created attachment 38931 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38931=edit --dbg-cnt="registered_jump_thread:3" dump

[Bug tree-optimization/71916] [6/7 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-07-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 --- Comment #10 from Martin Liška --- Couple of observations: 1) the second test-case triggers undefined behavior in: g[i] = 9; /home/marxin/Programming/testcases/pr71916-2-original.c:20:8: runtime error: index 4 out of bounds for type

[Bug tree-optimization/71916] [6/7 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-07-19 Thread helloqirun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 --- Comment #9 from Qirun Zhang --- (In reply to Martin Liška from comment #7) > Hm, the second test-case works fine with r233209, but started to fail with > r236831: > > Author: law > Date: Fri May

[Bug tree-optimization/71916] [6/7 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-07-19 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 --- Comment #8 from Richard Henderson --- (gdb) call debug_cfi_row(cur_row) .cfi_def_cfa 7, 16 .cfi_offset 3, -16 .cfi_offset 16, -8 (gdb) call debug_cfi_row(ti->beg_row) .cfi_def_cfa 7, 8 .cfi_offset 16,

[Bug tree-optimization/71916] [6/7 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-07-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 --- Comment #7 from Martin Liška --- Hm, the second test-case works fine with r233209, but started to fail with r236831: Author: law Date: Fri May 27 16:32:38 2016 + *

[Bug tree-optimization/71916] [6/7 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-07-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 Richard Biener changed: What|Removed |Added CC||rth at gcc dot gnu.org --- Comment #6

[Bug tree-optimization/71916] [6/7 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-07-19 Thread helloqirun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 --- Comment #5 from Qirun Zhang --- (In reply to Qirun Zhang from comment #4) > (In reply to rguent...@suse.de from comment #3) > > On Tue, 19 Jul 2016, marxin at gcc dot gnu.org wrote: > > > > >

[Bug tree-optimization/71916] [6/7 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-07-19 Thread helloqirun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 --- Comment #4 from Qirun Zhang --- (In reply to rguent...@suse.de from comment #3) > On Tue, 19 Jul 2016, marxin at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 > > > > Martin Liška changed: > > > >

[Bug tree-optimization/71916] [6/7 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-07-19 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 --- Comment #3 from rguenther at suse dot de --- On Tue, 19 Jul 2016, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 > > Martin Liška changed: > >What|Removed |Added

[Bug tree-optimization/71916] [6/7 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-07-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 Martin Liška changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug tree-optimization/71916] [6/7 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-07-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.2

[Bug tree-optimization/71916] [6/7 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-07-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71916 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code