id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,difficulty 1436,Don't disable inline file generation with -O5 (disable-interrupts),megane,,"(I'm assuming here that disable-interrupts is enough to implement critical sections in concurrency related code.) The disable-interrupts declaration correctly disables the global inline file generation. My belief is that inlining is more of an optimization than disabling the interrupt checks. So removing the disable-interrupts from O5 would be one choice. But wouldn't it be OK to always disable the checks in inlined code? The functions made available for global inlining are controlled explicitly by the user by the use of the inline declaration. So if you need interrupt checks (a function doing some heavy computation perhaps) just don't make it available for global inlining. ",change request,new,minor,6.0.0,compiler,5.0.0,,inlining,,