-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/2751/
-----------------------------------------------------------

Review request for Default.


Repository: gem5


Description
-------

Changeset 10812:6841f93c3b2c
---------------------------
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.


Diffs
-----

  src/cpu/o3/fu_pool.hh e6b20e6b5cf9 
  src/cpu/o3/fu_pool.cc e6b20e6b5cf9 
  src/cpu/op_class.hh e6b20e6b5cf9 

Diff: http://reviews.gem5.org/r/2751/diff/


Testing
-------

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


Thanks,

Andreas Hansson

_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to