Quantcast
Channel: libdispatch: Ticket #35: invalid code generated by GCC 4.5.1 for _dispatch_queue_push_list()
Browsing latest articles
Browse All 12 View Live

comment added; attachment set

attachment set to dispatch_atomic_xchg.patch

View Article



comment added

The problem is an invalid asm that is only triggered in 64-bit mode. It is fine in Lion branch, though adding an asm("":::"memory") in front of sync_lock_test_and_set doesn't hurt and future-proofs...

View Article

comment added

Replying to bonzini@…: Please attach a preprocessed testcase (a *.i file obtained from gcc with the --save-temps option) and the output of adding -### to the gcc invocation. Output of GCC invoked with...

View Article

comment added

Please attach a preprocessed testcase (a *.i file obtained from gcc with the --save-temps option) and the output of adding -### to the gcc invocation.

View Article

comment added

Replying to mark@…: Replying to dsteffen@…: +#define dispatch_atomic_barrier() \ + asm volatile("" : : : "memory") This assembly instruction won't work on ARM or PPC, according to a similar function...

View Article


comment added; cc changed

cc mark@… added Cc Me!

View Article

comment added

Replying to dsteffen@…: +#define dispatch_atomic_barrier() \ + asm volatile("" : : : "memory") This assembly instruction won't work on ARM or PPC, according to a similar function in the Haskell source...

View Article

comment added; owner set; status changed

status changed from new to accepted owner set to dsteffen@… GCC has apparently changed the __sync intrinsics to no longer be compiler barriers (nonsensical IMO since they are defined to generate...

View Article


comment added; cc changed

cc german@… added Cc Me!

View Article


comment added

Disassebly of dispatch_async_f after fix: 0000000000006d50 <dispatch_async_f>: 6d50: 55 push %rbp 6d51: 48 89 e5 mov %rsp,%rbp 6d54: 48 89 5d d8 mov %rbx,0xffffffffffffffd8(%rbp) 6d58: 4c 89 65...

View Article

comment added; cc changed

cc jocke@… added Cc Me!

View Article

comment added; cc set

cc sbn@… added Cc Me!

View Article
Browsing latest articles
Browse All 12 View Live




Latest Images