[Bug target/107841] Incorrect generation of the function's epilogue code when there is a _builtin_alloca call.

2022-11-24 Thread avo2000 at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107841 --- Comment #2 from Alexander --- Source code: void qq(int a) { char *s = alloca(128); sprintf(s,"qq %d",3); } Generated code: 040c <_qq>: 40c: 1166mov r5, -(sp) 40e: 1185mov s

[Bug c/107841] New: Incorrect generation of the function's epilogue code when there is a _builtin_alloca call.

2022-11-23 Thread avo2000 at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107841 Bug ID: 107841 Summary: Incorrect generation of the function's epilogue code when there is a _builtin_alloca call. Product: gcc Version: 12.2.0 Status: UNCONFIRMED