[Bug middle-end/64465] [5 Regression] internal compiler error: verify_flow_info failed

2015-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64465 --- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org --- I get the same ICE as H.J., and the bug is that redirect_all_calls redirects a call to __builtin_unreachable , before it was _10 = __open_alias (__path_6(D), __oflag_3(D),

[Bug middle-end/64465] [5 Regression] internal compiler error: verify_flow_info failed

2015-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64465 --- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org --- Created attachment 34377 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34377action=edit non-working patch (at least contains reduced testcase) For some reason this doesn't work

[Bug middle-end/64465] [5 Regression] internal compiler error: verify_flow_info failed

2015-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64465 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Attachment #34377|0 |1 is

[Bug middle-end/64465] [5 Regression] internal compiler error: verify_flow_info failed

2015-01-05 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64465 --- Comment #8 from Jan Hubicka hubicka at ucw dot cz --- execute_fixup_cfg is called from inline_transform, I wonder why it does not catch this case? Anyway updating things immediately after redirection seems like right thing to do.

[Bug middle-end/64465] [5 Regression] internal compiler error: verify_flow_info failed

2015-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64465 --- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org --- I believe with function versioning you create a new function and fixup_cfg pass is what will be run first on that, isn't that the case? In any case, there is no guarantee

[Bug middle-end/64465] [5 Regression] internal compiler error: verify_flow_info failed

2015-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64465 --- Comment #10 from Jakub Jelinek jakub at gcc dot gnu.org --- Author: jakub Date: Mon Jan 5 21:45:08 2015 New Revision: 219200 URL: https://gcc.gnu.org/viewcvs?rev=219200root=gccview=rev Log: PR tree-optimization/64465 * tree-inline.c

[Bug middle-end/64465] [5 Regression] internal compiler error: verify_flow_info failed

2015-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64465 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/64465] [5 Regression] internal compiler error: verify_flow_info failed

2015-01-05 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64465 --- Comment #6 from Jan Hubicka hubicka at ucw dot cz --- Updated patch that works on this testcase. From the cgraph.c comments, it looks like e.g. during function versioning we rely on fixup_cfg to fix it up, but during inlining I think we

[Bug middle-end/64465] [5 Regression] internal compiler error: verify_flow_info failed

2015-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64465 --- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org --- (In reply to Jan Hubicka from comment #6) Updated patch that works on this testcase. From the cgraph.c comments, it looks like e.g. during function versioning we rely on

[Bug middle-end/64465] [5 Regression] internal compiler error: verify_flow_info failed

2015-01-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64465 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P1

[Bug middle-end/64465] [5 Regression] internal compiler error: verify_flow_info failed

2015-01-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64465 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug middle-end/64465] [5 Regression] internal compiler error: verify_flow_info failed

2015-01-01 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64465 Jan Hubicka hubicka at gcc dot gnu.org changed: What|Removed |Added CC||hubicka at gcc