Review Board 2.0.15


cpu: Work around gcc 4.9 issues with Num_OpClasses

Review Request #2751 - Created April 30, 2015 and submitted

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 10812:a41c4c71e881
---------------------------
cpu: Work around gcc 4.9 issues with Num_OpClasses

This patch fixes a recent issue with gcc 4.9 (and possibly more) being
convinced that indices outside the array bounds are used when
initialising the FUPool members.

Compiles with gcc 4.6.3, 4.8.2, 4.9.1, 5.1.0 without issues.

Review request changed
Updated (May 5, 2015, 1:03 a.m.)

Status: Closed (submitted)