[Bug sanitizer/105750] Too small red zone size for struct variables.

2022-05-27 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105750 --- Comment #2 from Li Shaohua --- Yea, I'm aware of that. What makes me confused is for the following code, gcc generates a larger redone for the struct variable j, i.e., 48 bytes. https://godbolt.org/z/Wv1djjrqv $cat b.c struct a { long f;

[Bug sanitizer/105750] Too small red zone size for struct variables.

2022-05-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105750 --- Comment #1 from Jakub Jelinek --- That is completely intentional, you can find similar testcases for any size of the red zone and infinite red zones aren't possible. In fact, any growth of the red zone makes data segments larger, it is alwa