diff options
Diffstat (limited to 'results/scraper/launchpad-without-comments/1631625')
| -rw-r--r-- | results/scraper/launchpad-without-comments/1631625 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1631625 b/results/scraper/launchpad-without-comments/1631625 new file mode 100644 index 00000000..308c2f01 --- /dev/null +++ b/results/scraper/launchpad-without-comments/1631625 @@ -0,0 +1,15 @@ +target-mips/dsp_helper.c: two possible bad shifts + +target-mips/dsp_helper.c:3480:1: error: V629 Consider inspecting the '0x01 << (size + 1)' expression. Bit shifting of the 32-bit value with a subsequent expansion to the 64-bit type. + +Source code is + + temp = temp & ((0x01 << (size + 1)) - 1); + +If size >= 32, then better code might be + + temp = temp & ((0x01UL << (size + 1)) - 1); + +target-mips/dsp_helper.c:3509:1: error: V629 Consider inspecting the '0x01 << (size + 1)' expression. Bit shifting of the 32-bit value with a subsequent expansion to the 64-bit type. + +Duplicate \ No newline at end of file |