commit | 925d8e7c0f18e03dc4bc634b3c6c1ec09373d993 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Feb 08 06:14:53 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Feb 08 06:14:53 2012 +0000 |
tree | 2ac97fec24c62997c666aaa809b4125557aa1fd6 | |
parent | 31a3702618ab49578542cffee20ba0c8859b9d1e [diff] |
Implement the agreed resolution to DR1457: a signed left shift of a 1 bit into the sign bit doesn't have undefined behavior, but a signed left shift of a 1 bit out of the sign bit still does. As promised to Howard :) The suppression of the potential constant expression checking in system headers is also removed, since the problem it was working around is gone. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150059 91177308-0d34-0410-b5e6-96231b3b80d8