This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/80800] UBSAN: yet another false positive
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 17 May 2017 10:26:17 +0000
- Subject: [Bug sanitizer/80800] UBSAN: yet another false positive
- Auto-submitted: auto-generated
- References: <bug-80800-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80800
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Simplified testcase:
unsigned short n = 20000;
unsigned short z = 0;
int
main ()
{
return 50 * (n * 10000 * z);
}