https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94445
--- Comment #6 from avieira at gcc dot gnu.org ---
I have also identified that this only goes wrong in O2 or higher. And it
happens sometime between tailcall optimization pass 1 and 2. But there's loads
of passes in between.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94445
--- Comment #5 from avieira at gcc dot gnu.org ---
Yeah...
So far I have checked that 'gimplify_call_expr' creates the right gimple, and
up until 'gimplify_modify_expr' I can verify it does by using
gimple_call_fntype .
Though at expansion time,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94445
--- Comment #4 from avieira at gcc dot gnu.org ---
Yeah...
So far I have checked that 'gimplify_call_expr' creates the right gimple, and
up until 'gimplify_modify_expr' I can verify it does by using
gimple_call_fntype .
Though at expansion time,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94445
--- Comment #3 from Christophe Lyon ---
I also checked that arm_handle_cmse_nonsecure_call correctly duplicates the
type.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94445
--- Comment #2 from avieira at gcc dot gnu.org ---
start_decl seems to be doing the right thing, investigation continues...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94445
avieira at gcc dot gnu.org changed:
What|Removed |Added
CC||avieira at gcc dot gnu.org