Commit: 58c09774c82193b1dc958260f9d792068833a39a
Parent: addb76e7d3d5fecdaca3f6f3ae4d6f02dc6b6510
Author: Szymon Janc <szymon.janc@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-04-03 10:19:21
Tree: 0c6bf86f017a61681b7d04e7e70126d6448570f4

tools: Fix bccmd build with GCC 4.9 Make sure accessing array[63 * 2 + 4] is legal. tools/bccmd.c: In function ‘cmd_buildname’: tools/bccmd.c:406:18: error: iteration 63u invokes undefined behavior [-Werror=aggressive-loop-optimizations] name[i] = array[(i * 2) + 4];

Diffstat

M tools/bccmd.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

View Full Diff | Patch