The reasoning behind this derefence (*(const volatile uint8_t *)&__bi_ptr_lineno_var_name) isn't clear to me in the first place. Is it an attempt to prevent compiler optimizing the variable out? Seems like different approach should be taken anyways, if that's the case.
arm-none-eabi-gcc (15:13.2.rel1-2) 13.2.1 20231009
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Currently "binary info" feature must be disabled to build with -Wall -Werror because of:
The reasoning behind this derefence (
*(const volatile uint8_t *)&__bi_ptr_lineno_var_name
) isn't clear to me in the first place. Is it an attempt to prevent compiler optimizing the variable out? Seems like different approach should be taken anyways, if that's the case.cmdline is (quote is to make it word wrap)
on ubuntu 24.04