Susprising behavior of gcc on x86 (-m32)
Jonathan Wakely
jwakely.gcc@gmail.com
Tue Sep 8 10:36:00 GMT 2015
On 8 September 2015 at 11:20, Mathieu Malaterre wrote:
>
> [...]
> /home/mathieu/tmp/opj-bug/openjpeg/src/lib/openjp2/t1.c:1517:28:
> runtime error: left shift of negative value -128
> [...]
>
> You've saved me hours of time ! Thanks.
>
> for reference:
> https://github.com/uclouvain/openjpeg/blob/master/src/lib/openjp2/t1.c#L1517
UBsan for the win!
More information about the Gcc-help
mailing list