hwint.h
8.83 KB
-
Avoid signed left shift undefined behaviour in sext_hwi · d63c8648
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. From-SVN: r227008
Mikael Morin committed