On 07/09/15 20:46, Wilco Dijkstra wrote: >> Kugan wrote: >> 2. vector-compare-1.c from c-c++-common/torture fails to assemble with >> -O3 -g Error: unaligned opcodes detected in executable segment. It works >> fine if I remove the -g. I am looking into it and needs to be fixed as well. > > This is a known assembler bug I found a while back, Renlin is looking into it. > Basically when debug tables are inserted at the end of a code section the > assembler doesn't align to the alignment required by the debug tables.
This is precisely what seems to be happening. Renlin, could you please let me know when you have a patch (even if it is a prototype or a hack). Thanks, Kugan