https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
--- Comment #11 from Martin Liška ---
>
> Well, most definitely the new decls target options need to be
> instantiated?
Then it must be a tree pass that will properly call set_current_function :/ The
multiple_target pass is an IPA pass. Can w
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
--- Comment #12 from Richard Biener ---
(In reply to Martin Liška from comment #11)
> >
> > Well, most definitely the new decls target options need to be
> > instantiated?
>
> Then it must be a tree pass that will properly call set_current_fu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
Martin Liška changed:
What|Removed |Added
Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
--- Comment #13 from Jakub Jelinek ---
A lot of ipa passes use push_cfun:
grep push_cfun ipa*.cc
ipa-fnsummary.cc: push_cfun (DECL_STRUCT_FUNCTION (node->decl));
ipa-fnsummary.cc: push_cfun (DECL_STRUCT_FUNCTION (node->decl));
ipa-modref.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
--- Comment #14 from Jakub Jelinek ---
So, I have tried
--- gcc/cgraphclones.cc.jj 2023-02-24 11:05:19.704595633 +0100
+++ gcc/cgraphclones.cc 2023-03-16 19:12:30.452503051 +0100
@@ -1094,6 +1094,15 @@ cgraph_node::create_version_clone_with
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
--- Comment #15 from Jakub Jelinek ---
Created attachment 54686
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54686&action=edit
gcc13-pr105554.patch
This untested patch seems to work.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
--- Comment #16 from Richard Biener ---
(In reply to Jakub Jelinek from comment #14)
> So, I have tried
> --- gcc/cgraphclones.cc.jj2023-02-24 11:05:19.704595633 +0100
> +++ gcc/cgraphclones.cc 2023-03-16 19:12:30.452503051 +0100
> @@
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
--- Comment #17 from Jakub Jelinek ---
(In reply to Richard Biener from comment #16)
> Ick - that's one of the worst place to do this ... what happens if we
> postpone setting DECL_RESULT/DECL_ARGUMENTS to after initialize_cfun
> (and remove the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
Jakub Jelinek changed:
What|Removed |Added
Attachment #54686|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
--- Comment #19 from Richard Biener ---
Created attachment 54690
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54690&action=edit
not working patch
So this one fails badly in ipa_param_body_adjustments::common_initialization
where it need
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
Jakub Jelinek changed:
What|Removed |Added
Attachment #54689|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
--- Comment #21 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:24c06560a7fa39049911eeb8777325d112e0deb9
commit r13-6739-g24c06560a7fa39049911eeb8777325d112e0deb9
Author: Jakub Jelinek
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
Richard Biener changed:
What|Removed |Added
Priority|P3 |P2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
Martin Liška changed:
What|Removed |Added
CC||rguenth at gcc dot gnu.org
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
--- Comment #7 from Richard Biener ---
(In reply to Martin Liška from comment #6)
> We fail in the param assignment:
>
> (gdb) pp x
> (reg:V4DI 82)
> (gdb) pp y
> (mem/c:BLK (reg/f:DI 76 virtual-incoming-args) [1 x+0 S32 A256])
>
> So we will
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
--- Comment #8 from Richard Biener ---
(In reply to Richard Biener from comment #7)
> (In reply to Martin Liška from comment #6)
> > We fail in the param assignment:
> >
> > (gdb) pp x
> > (reg:V4DI 82)
> > (gdb) pp y
> > (mem/c:BLK (reg/f:DI 7
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
--- Comment #9 from Martin Liška ---
> fixes the ICE, not sure if we should adjust the PARM_DECLs mode somewhere
> in target cloning instead though?
We can do that in create_target_clone which calls
node->create_version_clone_with_body where a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
--- Comment #10 from rguenther at suse dot de ---
On Mon, 16 Jan 2023, marxin at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
>
> --- Comment #9 from Martin Liška ---
> > fixes the ICE, not sure if we should ad
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
Richard Biener changed:
What|Removed |Added
Target Milestone|9.5 |10.4
--- Comment #4 from Richard Biene
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
Jakub Jelinek changed:
What|Removed |Added
Target Milestone|10.4|10.5
--- Comment #5 from Jakub Jelinek
20 matches
Mail list logo