<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Undefined operation in tgsi_ureg.c left shift of 1 by 31 places cannot be represented in type 'int'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80266#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Undefined operation in tgsi_ureg.c left shift of 1 by 31 places cannot be represented in type 'int'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80266">bug 80266</a>
from <span class="vcard"><a class="email" href="mailto:zeccav@gmail.com" title="Vittorio <zeccav@gmail.com>"> <span class="fn">Vittorio</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=80266#c5">comment #5</a>)
<span class="quote">> I'm not sure why you're filing these against nouveau... I'm sure there are
> _tons_ of these throughout mesa...
>
> Does gcc warn about this? Are you _sure_ that (signed int)1 << 31 is illegal
> in C99?</span >
Only now I am reading this note.
I compiled mesa with gcc -fsanitize=undefined option, gcc runtime is issuing
several, not tons, of runtime error messages, it seems to me that
(signed int) 1 << 31 is undefined if computed as int.
The runtime error messages only appear with the -std=c99 option.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>