On Wed, Oct 09, 2013 at 10:59:35AM +0200, Jan Hubicka wrote: > I see, the previous implementation tricked the one-declaration rule by > introducing two names. What made the difference is that the second name > is expanded as builtin... > > So you don't have __bulitin_sync_synchronize() at hand that would be > translated > to __sync_synchronize libcall?
No, __sync_* and __atomic_* builtins don't use __builtin_ prefix. Would asm redirect instead of alias work? void sync_synchronize (void) __asm ("__sync_synchronize"); or is that going to break too (or might break soon)? Jakub