------- Comment #9 from ubizjak at gmail dot com 2010-04-12 17:56 ------- (In reply to comment #6) > running the failing command with -save-temps shows that sahf isused here: > > .LM312: > fprem > fnstsw %ax > sahf > jp .L103 > fstp %st(1) > fstpl -56(%rbp) > movsd -56(%rbp), %xmm1 > ucomisd %xmm1, %xmm1 > jp .L109 > jne .L109 > > > adding -v confirms that /usr/sfw/bin/gas is being used as the assembler, not > some other as
Let me guess, /usr/sfw/bin/gas compiles this asm file OK, while /usr/ccs/bin/ld doesn't? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43733