https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89585

--- Comment #24 from Harald van Dijk <harald at gigawatt dot nl> ---
Created attachment 45910
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45910&action=edit
gcc-8-pr89585-warn.patch

(In reply to Jakub Jelinek from comment #21)
> Created attachment 45904 [details]
> gcc8-pr89585.patch
> 
> The 8.x version would be like this.

Depending on whether this will remain an error in GCC 9, would it make sense to
have a warning for file scope asm volatile, like so? (Minimally tested so far.
If it makes sense, I can re-do it based on the updated GCC 9 patch.)

Reply via email to