On Thu, Nov 29, 2018 at 09:13:13PM +0000, Joseph Myers wrote: > I'd expect testcases to be added for the new syntax variants (duplicate > qualifiers / goto and new orderings thereof).
Okay. > There's a description of the syntax in extend.texi: > > @example > asm @r{[}volatile@r{]} ( @var{AssemblerTemplate} > : @var{OutputOperands} > @r{[} : @var{InputOperands} > @r{[} : @var{Clobbers} @r{]} @r{]}) > > asm @r{[}volatile@r{]} goto ( @var{AssemblerTemplate} > : > : @var{InputOperands} > : @var{Clobbers} > : @var{GotoLabels}) > @end example > > I'd expect this to be updated by this patch, and again by the "asm inline" > one. That stuff needs to be rewritten :-( But I'll see what I can do. > What's the basis for allowing duplicates for C but not for C++? It is the status quo. It would make sense to allow duplicates for C++ as well, sure. If that is preferred I can make a patch for it? Segher