https://bugs.freedesktop.org/show_bug.cgi?id=80266

--- Comment #10 from Patrick Baggett <baggett.patr...@gmail.com> ---
(In reply to comment #5)
> Does gcc warn about this? Are you _sure_ that (signed int)1 << 31 is illegal
> in C99?

And as tedious as this is to mention, C99 section 6.5.7.4 does state this is
undefined behavior. I know the "C abstract machine" is far removed from real
problems with drivers and whatnot -- and I appreciate the awesome work you all
do on Mesa. I just wanted to clarify that there is spec support for this claim.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to