<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On 30 April 2014 09:18, Renato Golin <span dir="ltr"><<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On 29 April 2014 23:49, Robinson, Paul<br>
<div class=""><<a href="mailto:Paul_Robinson@playstation.sony.com">Paul_Robinson@playstation.sony.com</a>> wrote:<br>
> Which cycles us back to the original proposal:<br>
><br>
> #pragma clang optnone [on|off]<br>
><br>
> ...which is obviously tied to the attribute of the same name, which<br>
> seems like at least a small goodness.<br>
<br>
</div>Right, I think my list of arguments has ended. This seems as good as any.<br></blockquote><div><br></div><div>Ok... so do we now have a consensus on the original spec?</div><div>    #pragma clang optnone on</div><div>
    // code decorated with optnone</div><div>    #pragma clang optnone off</div><div><br></div><div>It looks like you're convinced. Anybody else opposing this?</div><div><br></div><div>Anyway, I will try to make the implementation have a (thin) layer of API (something handling the "apply optnone to this function if possible" functionality) so that we can then use it in the future for the GCC or MSVC syntax if we want to.</div>
<div>I will also have a look at similar pragmas like the one Reid mentioned ("<span style="font-size:13px;font-family:arial,sans-serif">#pragma data_seg") for inspiration, and hopefully we'll have some patches coming soon.</span><br>
</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Just please, keep any new pragmas inside the Clang namespace and it<br>

should be fine.<br></blockquote><div><br></div><div>Yes, at this point it's clear it will have to be in the clang namespace.</div><div><br></div><div>Cheers,</div><div>    Dario Domizioli</div><div>    SN Systems - Sony Computer Entertainment Group</div>
<div><br></div></div></div></div>