[FFmpeg-devel] [RFC] Sechole in gcc 3.3+ and 4.*

Michael Niedermayer michaelni
Mon Apr 7 21:31:56 CEST 2008


On Mon, Apr 07, 2008 at 04:17:55PM +0300, Uoti Urpala wrote:
[...]
> The shift operators mention that separately because they're defined as
> "bit shift" rather than a mathematical operation defined on all
> integers. Note that here too the case that is "not representable" with
> signed numbers ("overflowing" <<) is consistently specified as undefined
> behavior.

It seems the comittee does not agree with your interpretation
see Defect Report #081:
http://www.open-std.org/JTC1/SC22/WG14/www/docs/dr_081.html
It is implementation defined not undefined.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080407/8fae9ae2/attachment.pgp>



More information about the ffmpeg-devel mailing list