summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authormikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-19 13:42:36 +0000
committermikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-19 13:42:36 +0000
commit3994684014cd678479f0220e2f5abbc018aeb064 (patch)
tree7fc210dbbfce746c7c7751a31a39af13ad6a75b5 /libffi
parenta734d75772136e61cb4424c02bed8e1e485a72fa (diff)
downloadgcc-3994684014cd678479f0220e2f5abbc018aeb064.tar.gz
Avoid signed left shift undefined behaviour in sext_hwi
gcc/ PR other/67042 * hwint.h (sext_hwi): Switch to unsigned for the left shift, and conditionalize the whole on __GNUC__. Add fallback code depending neither on undefined nor implementation-defined behaviour. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227008 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
0 files changed, 0 insertions, 0 deletions