Re: i386 clang optimisation problem with stack alignment

2013-09-19 Thread Tijl Coosemans
On Wed, 18 Sep 2013 23:13:26 +0200 Dimitry Andric wrote: > On Sep 10, 2013, at 18:34, Tijl Coosemans wrote: >> On Tue, 10 Sep 2013 18:16:01 +0200 Tijl Coosemans wrote: >>> I've attached a small test program extracted from >>> multimedia/gstreamer-ffmpeg >>> (libavcodec/h264_cabac.c:ff_h264_init_c

Re: i386 clang optimisation problem with stack alignment

2013-09-18 Thread Dimitry Andric
On Sep 10, 2013, at 18:34, Tijl Coosemans wrote: > On Tue, 10 Sep 2013 18:16:01 +0200 Tijl Coosemans wrote: >> I've attached a small test program extracted from multimedia/gstreamer-ffmpeg >> (libavcodec/h264_cabac.c:ff_h264_init_cabac_states(H264Context *h)). >> >> When you compile and run it li

Re: i386 clang optimisation problem with stack alignment

2013-09-10 Thread Tijl Coosemans
On Tue, 10 Sep 2013 18:16:01 +0200 Tijl Coosemans wrote: > I've attached a small test program extracted from multimedia/gstreamer-ffmpeg > (libavcodec/h264_cabac.c:ff_h264_init_cabac_states(H264Context *h)). > > When you compile and run it like this on FreeBSD/i386, it results in a > SIGBUS: > >

i386 clang optimisation problem with stack alignment

2013-09-10 Thread Tijl Coosemans
Hi, I've attached a small test program extracted from multimedia/gstreamer-ffmpeg (libavcodec/h264_cabac.c:ff_h264_init_cabac_states(H264Context *h)). When you compile and run it like this on FreeBSD/i386, it results in a SIGBUS: % cc -o paddd paddd.c -O3 -msse2 -fPIE -fomit-frame-pointer % ./p