This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/80800] UBSAN: yet another false positive


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);
}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]