------- Comment #20 from ubizjak at gmail dot com 2007-07-04 20:10 ------- (In reply to comment #17)
> (the variable should be 0), but it looks like the assembly might be wrong: > b.s: > (1) cmpl $9, __cp_log_handling_MOD_stack_pointer(%rip) > call mcount > movq %rdi, %rbx > (2) jle .L21 This _is_ wrong assembly. The call to mcount is clobbering flags reg between CC setting insn (1) and CC receiving insn (2). From there, the problem becomes trivial to track down, but I _really_ need a good sleep now. -- ubizjak at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |ubizjak at gmail dot com |dot org | Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-07-04 20:10:22 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32450