diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2014-07-02 01:28:08 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-07-02 20:06:53 -0500 |
commit | 83a4d0e79d02f4d7fed3e69c876b9a9e0ecf3c72 (patch) | |
tree | cdcb2a2a1b61bf1f499473b544b0fc65de013ae5 /src/usr/fsi | |
parent | 480979c6b7464f1a7a52ac715d6a5d63e17150a7 (diff) | |
download | talos-hostboot-83a4d0e79d02f4d7fed3e69c876b9a9e0ecf3c72.tar.gz talos-hostboot-83a4d0e79d02f4d7fed3e69c876b9a9e0ecf3c72.zip |
Workaround GCC ICE in 4.8
Change-Id: Iebdf940c1fb7063f7314ec92ce8f99827e6fa2c2
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11941
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/fsi')
-rw-r--r-- | src/usr/fsi/fsidd.C | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/usr/fsi/fsidd.C b/src/usr/fsi/fsidd.C index 3de346360..865e27f89 100644 --- a/src/usr/fsi/fsidd.C +++ b/src/usr/fsi/fsidd.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -501,13 +503,16 @@ errlHndl_t FsiDD::initializeHardware() } target_chipInfo_t ; // list of ports off of local MFSI - target_chipInfo_t local_mfsi[MAX_SLAVE_PORTS] = {}; + target_chipInfo_t local_mfsi[MAX_SLAVE_PORTS];// = {}; + memset(local_mfsi, '\0', sizeof(local_mfsi)); // TODO: GCC ICE. // list of possible ports off of local cMFSI - target_chipInfo_t local_cmfsi[MAX_SLAVE_PORTS] = {}; + target_chipInfo_t local_cmfsi[MAX_SLAVE_PORTS]; // = {} + memset(local_cmfsi, '\0', sizeof(local_cmfsi)); // TODO: GCC ICE. // array of possible ports to initialize : [mfsi port][cmfsi port] - target_chipInfo_t remote_cmfsi[MAX_SLAVE_PORTS][MAX_SLAVE_PORTS] = {}; + target_chipInfo_t remote_cmfsi[MAX_SLAVE_PORTS][MAX_SLAVE_PORTS]; // = {}; + memset(remote_cmfsi, '\0', sizeof(remote_cmfsi)); // TODO: GCC ICE. FsiChipInfo_t info; |