This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

#pragma push , is not supported by ARM Compiler 6, what should I do ?

void function1(void){
... // Optimized at O1 (from armcc -O1)
}
#pragma push
#pragma O3
void function2(void){
... // Optimized at O3
}
#pragma pop
void function3(void){
... // Optimized at O1 (from armcc -O1)
}

How do we find an alternative way?

Parents
  • More info here. See the row for "#pragma Onum" : "armclang does not support changing optimization options within a file. Instead these must be set on a per-file basis using command-line options."

Reply
  • More info here. See the row for "#pragma Onum" : "armclang does not support changing optimization options within a file. Instead these must be set on a per-file basis using command-line options."

Children