I am using AVR32 Studio studio to compile my code for AVRUC3 controller. When I switched to Optimization level -O2(optimization more) ,this pointer warnings " dereferncing type-punned pointer will break strict aliasing rules " started to appear. I know why I am getting this warnings...
But My question is Should I run my code with -O2 and solve this all errors OR is it OK enough to continue having them and compile with -O0(No optimization).