[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-02-09 Thread marxin at gcc dot gnu.org via Gcc-bugs
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

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-02-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
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

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-03-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
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

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-03-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
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.

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-03-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
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

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-03-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
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.

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-03-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
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 > @@

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-03-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
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

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-03-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554 Jakub Jelinek changed: What|Removed |Added Attachment #54686|0 |1 is obsolete|

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-03-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
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

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-03-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554 Jakub Jelinek changed: What|Removed |Added Attachment #54689|0 |1 is obsolete|

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-03-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
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:

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2022-07-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-01-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
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 #

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
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

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
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

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-01-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
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

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-01-16 Thread rguenther at suse dot de via Gcc-bugs
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

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
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

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2022-06-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
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