]> Savannah Git Hosting - gnulib.git/commit
intprops: try to avoid tickling similar bugs
authorPaul Eggert <eggert@Penguin.CS.UCLA.EDU>
Sat, 15 Apr 2017 01:55:42 +0000 (18:55 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 15 Apr 2017 01:57:04 +0000 (18:57 -0700)
commit749eb770bb1dff00b3c240fdc71e9e000ecaa0cc
tree850131e886cff6a852e1a6dc7115702586440507
parenta49b6ecc71b45c57d66ca6f0a0167375188cec7e
intprops: try to avoid tickling similar bugs

* lib/intprops.h (_GL_INT_OP_CALC): Document that UT no longer
needs to be the same width as T; it can be wider.
Change callers so that UT is at least as wide as unsigned int,
as I suspect that this is less likely to run into compiler bugs.
ChangeLog
lib/intprops.h