We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I'm using ARM Clang compiler version 6.16, and I want to know what happens if I give both the compiler options (-O3 -Os) for building the source code ?
Which one will take into effect, will it be same as building with -Os or will it do some optimization because of specifying -O3 aslo ?
Please clarify.
$ armclang --target=arm-arm-none-eabi -mcpu=cortex-m7 -Wall -Wextra -Werror -Wno-error=unused-variable -Wno-error=unused-parameter -fdiagnostics-absolute-paths -Wno-unused-command-line-argument -Wno-error=unused-private-field -mno-unaligned-access -fno-builtin -c -O3 -Os -o main.o main.c