From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 80266] Undefined operation in tgsi_ureg.c left shift
of 1 by 31 places cannot be represented in type 'int'
Date: Fri, 20 Jun 2014 18:12:44 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1615184125=="
Return-path:
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Sender: "Nouveau"
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
--===============1615184125==
Content-Type: multipart/alternative; boundary="1403287964.d5D3DDdb0.1735"; charset="us-ascii"
--1403287964.d5D3DDdb0.1735
Date: Fri, 20 Jun 2014 18:12:44 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=80266
--- Comment #4 from Vittorio ---
Also in matrix.c:1156 the line
"#define ONE(x) (1 <<(x+16))"
should be
"#define ONE(x) (1U<<(x+16))"
because ONE(15) later, as at line 1226, produces 16 bits left shift of 65536,
which is bigger than int.
This is running teapot.
--
You are receiving this mail because:
You are the assignee for the bug.
--1403287964.d5D3DDdb0.1735
Date: Fri, 20 Jun 2014 18:12:44 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 4
on bug 80266
from Vittorio
Also in matrix.c:1156 the line
"#define ONE(x) (1 <<(x+16))"
should be
"#define ONE(x) (1U<<(x+16))"
because ONE(15) later, as at line 1226, produces 16 bits left shift of 65536,
which is bigger than int.
This is running teapot.
You are receiving this mail because:
- You are the assignee for the bug.
--1403287964.d5D3DDdb0.1735--
--===============1615184125==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
--===============1615184125==--