[Bug d/88462] All D execution tests FAIL on Solaris/SPARC

ro at CeBiTec dot Uni-Bielefeld.DE gcc-bugzilla@gcc.gnu.org
Wed Dec 12 14:13:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88462

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> pragma(msg, pthread_mutex_t.alignof);
> pragma(msg, Mutex.alignof);
> pragma(msg, Mutex.m_hndl.offsetof);

I get

8u
4u
/homes/ro/mutex_align.d:6:13: error: class core.sync.mutex.Mutex member m_hndl
is not accessible
16u

The first is right, but Mutex alignment is off, probably leading to the
4-byte alignment of m_hndl I'm seeing.


More information about the Gcc-bugs mailing list