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),
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
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
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.
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
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
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
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
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
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
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
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
12 matches
Mail list logo