kc.austin2017 added a comment. Hi , I am looking for some helps on the issue i have in my project after this change for the compiler.
typedef void (*callback_t)(uint32_t icciar, void * context); callback_t callee1; void _ _attribute__((interrupt("IRQ"))) __cs3_isr_irq() { callee1(icciar , context); } the above code gives me the expected error " call to function without interrupt attribute could clobber interruptee's VFP registers" below is my attempt =================== typedef void _ _attribute__((interrupt("IRQ"))) (*callback_t)(uint32_t icciar, void * context); callback_t _ _attribute__((interrupt("IRQ"))) callee1; void _ _attribute__((interrupt("IRQ"))) __cs3_isr_irq() { callee1(icciar , context); } However, it is still giving me the error "" call to function without interrupt attribute could clobber interruptee's VFP registers" What is the best way to modify the code for this compiler change ? thanks all in advance !! https://reviews.llvm.org/D28820 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits