0

Is it undefined behavior when passing redundant compiler flags to gcc?

gcc -march=skylake -mtune=skylake -O0 -ggdb -Wa,--compress-debug-sections -march=core-avx2 -mtune=core-avx2 -mrtm 

vs

gcc -march=skylake -mtune=skylake -O0 -ggdb -Wa,--compress-debug-sections 

On which architecture flags does gcc decide in that case?

0

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.