On 02/11/2024 00:55, Oren Zvi via Gcc wrote:
> Hi,
>
> Was wondering about a curious thing that the compiler does.
> For the code
>
> static void createX()
> {
> static char ;
> static uint8_t y;
>
> printf("%c %c\r\n", y, );
> }
>
> I am getting the following lines in the m
Hi,
Was wondering about a curious thing that the compiler does.
For the code
static void createX()
{
static char ;
static uint8_t y;
printf("%c %c\r\n", y, );
}
I am getting the following lines in the memory map:
.bss._ZZL7createXvE4
0x200024c00