]> git.ipfire.org Git - thirdparty/gcc.git/commit
Backprot fix for uninitialised use in mips_split_move
authorDragan Mladjenovic <draganm@gcc.gnu.org>
Fri, 4 Oct 2019 10:57:48 +0000 (10:57 +0000)
committerDragan Mladjenovic <draganm@gcc.gnu.org>
Fri, 4 Oct 2019 10:57:48 +0000 (10:57 +0000)
commitb753d85d205b4e24f0ce11160ebee1e8da98782e
treebad486e3139f5b7371a4bb7fb649c0f838665c90
parent3d583f47b7eca6b64dd221a3a89f07593e299e27
Backprot fix for uninitialised use in mips_split_move

Fixes PR target/91474 and PR target/91702.

2019-10-04  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>

Backport from mainline
2019-07-07  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/mips/mips.c (mips_split_move): Zero-initialize addr
and check whether addr.reg is nonnull before using it.

From-SVN: r276569
gcc/ChangeLog
gcc/config/mips/mips.c