Project:Toolchain/Gcc 9 porting notes/asm volatile

= The problem = Starting from g++-9 (and for g++-8.3.0) GCC will reject the  toplevel constructs:

test.cc:1:5: error: expected ‘(’ before ‘volatile’ asm volatile("some thing ");     ^19:23, 15 April 2019 (UTC)     (

= The fix =

The fix is simple: just drop. There is no defined symbol ordering in object file anyway:

= Links and examples =

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