5.2 and "static attibute(section..."
Asked by
Uwe Bonnes
Hello,
5.2 silently drops variable "a", while previous versions kept "a". Is this intended behaviour?
/*
* compile and test like
*
/opt/cross/
-mcpu=cortex-m0 -mthumb -g3 -Og -Wall -Werror -c gcc_test.c && \
arm-none-eabi-size gcc_test.o
*
*
*/
static __attribute_
__attribute_
void set_s(void) {
a[0] = 0;
}
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Andre Vieira
- Solved:
- Last query:
- Last reply:
To post a message you must log in.