chenyang <chenyang...@gmail.com> writes: >> Try running your commands with the --save-temps options and compare the >> resulting .s files. Also, try running the commands with the >> -fdump-tree-all -fdump-rtl-all options and see where the dump files >> first differ. >> > I tried --save-temps and the resulting .s files were identical. > I found that the problem was introduced by "as". > I ran "as" twice with the same arguments. The two resulting .o files > were different. > I upgraded the binutils to the latest version: 2.19. The problem > hasn't gone away.
That is very unusual and certainly indicates a bug in the assembler. Please file a bug against the GNU binutils at http://sourceware.org/bugzilla/ . Attach your assembler file to the bug. Thanks. Ian