[Bug debug/111716] call site parameter not matching with formal parameter

2023-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111716 --- Comment #4 from Andrew Pinski --- Short testcase: ``` struct f { int a[10]; int b[10]; int c; int d[10]; int e[10]; }; void g(int a[10], int b[10], int e, int i[10], int j[10]); void h(void *a1) {

[Bug debug/111716] call site parameter not matching with formal parameter

2023-10-06 Thread king.chung at manchester dot ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111716 --- Comment #3 from King Lok Chung --- (In reply to Andrew Pinski from comment #1) > (In reply to King Lok Chung from comment #0) > > I also find that the type of the parameter is not propagated correctly. For > > example, an array type is

[Bug debug/111716] call site parameter not matching with formal parameter

2023-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111716 Andrew Pinski changed: What|Removed |Added Target|riscv64-linux-gnu |riscv64-linux-gnu |

[Bug debug/111716] call site parameter not matching with formal parameter

2023-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111716 --- Comment #1 from Andrew Pinski --- (In reply to King Lok Chung from comment #0) > I also find that the type of the parameter is not propagated correctly. For > example, an array type is propagated as a pointer type. Should I open > another