This seems to solve the issue:

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

My guess is that it’s a gcc bug.

Andreas

On 30/04/2015 08:58, "Andreas Hansson" <[email protected]> wrote:

>Hi all,
>
>With changeset: dac26eb4cb64 "cpu: o3: replace issueLatency with bool
>pipelined”, gem5 fails to compile:
>
>build/ARM/cpu/o3/fu_pool.cc:91:38: error: array subscript is above array
>bounds [-Werror=array-bounds]
>         maxOpLatencies[i] = Cycles(0);
>                                      ^
>build/ARM/cpu/o3/fu_pool.cc:92:20: error: array subscript is above array
>bounds [-Werror=array-bounds]
>         pipelined[i] = true;
>                    ^
>
>I haven’t yet figured out why.
>
>Andreas
>
>
>-- IMPORTANT NOTICE: The contents of this email and any attachments are
>confidential and may also be privileged. If you are not the intended
>recipient, please notify the sender immediately and do not disclose the
>contents to any other person, use it for any purpose, or store or copy
>the information in any medium. Thank you.
>
>ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
>Registered in England & Wales, Company No: 2557590
>ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
>Registered in England & Wales, Company No: 2548782
>_______________________________________________
>gem5-dev mailing list
>[email protected]
>http://m5sim.org/mailman/listinfo/gem5-dev


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No:  2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No:  2548782
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to