On May 8, 2012, at 10:19 AM, Rainer Orth wrote: > Several /gcc.target/i386/hle-*.c tests are currently failing on Solaris > 9/x86 with Sun as: > > FAIL: gcc.target/i386/hle-add-acq-1.c scan-assembler lock[ > \\n\\t]+(xacquire|.byte[ \\t]+0xf2)[ \\t\\n]+add > > The .s file has > > lock; > .byte 0xf2 > > but the scan-assembler regex currently doesn't allow for the ; (which is > not present with gas 2.22). > > The patch below does just that. Tested with the appropriate runtest > invocation on i386-pc-solaris2.9 configured with as and gas > respectively. > > Ok for mainline?
Ok, assuming that the ; has to be there. If it doesn't have to be there, an alternative patch might be to remove it from the port now instead of the patch.