[Bug ipa/111914] ICE with function pointer array as argument with non-constant size

2023-10-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111914 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:738d44348e7392a9f8e370afa3a9d8c24ee080cd commit r14-4864-g738d44348e7392a9f8e370afa3a9d8c24ee080cd Author: Richard Biener Date:

[Bug ipa/111914] ICE with function pointer array as argument with non-constant size

2023-10-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111914 Richard Biener changed: What|Removed |Added Known to work||14.0 Resolution|---

[Bug ipa/111914] ICE with function pointer array as argument with non-constant size

2023-10-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111914 --- Comment #4 from Richard Biener --- Caused by r0-116946-g27eb31c9de20cd I guess. The easiest is to not perform the load of the unused parameter for VLA types, but we can also perform this extra load after remapping types.

[Bug ipa/111914] ICE with function pointer array as argument with non-constant size

2023-10-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111914 --- Comment #3 from Richard Biener --- The issue is we do setup_one_parameter (copy_body_data *id, tree p, tree value, tree fn, basic_block bb, tree *vars) ... /* Make an equivalent VAR_DECL. Note that we must NOT remap

[Bug ipa/111914] ICE with function pointer array as argument with non-constant size

2023-10-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111914 Richard Biener changed: What|Removed |Added Component|c |ipa Last reconfirmed|