gcc: fix an uninitialized variable warning from G++ 4.5
This commit is contained in:
parent
3ed048e4f5
commit
22263f5091
1 changed files with 3 additions and 0 deletions
|
@ -541,6 +541,9 @@ let {{
|
|||
for (unsigned i = 0; i < %(sRegs)d; i++) {
|
||||
destRegs.elements[i] = sourceRegs[i].elements[lane];
|
||||
}
|
||||
for (unsigned i = %(sRegs)d; i < %(dRegs)d * perDReg; ++i) {
|
||||
destRegs.elements[i] = 0;
|
||||
}
|
||||
|
||||
%(unloadRegs)s
|
||||
''' % { "sRegs" : sRegs, "dRegs" : dRegs,
|
||||
|
|
Loading…
Reference in a new issue