https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123769
Bug ID: 123769
Summary: Not properly protecting stack frame
Product: gcc
Version: 12.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: jimzat at gmail dot com
Target Milestone: ---
Created attachment 63456
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63456&action=edit
assembly file
When I compile a routine for X86/64with multiple parameters and do not
reference other than the first parameter, the compiler does not properly
protest the stack frame by offsetting rsp.
This was duplicated using gcc 7.3.0 on Windows and 12.3.0 on Ubuntu.