Fix uninitialized variable warnings.
authorMichael Eager <eager@eagercon.com>
Sat, 22 Oct 2022 23:23:16 +0000 (16:23 -0700)
committerMichael Eager <eager@eagercon.com>
Sat, 22 Oct 2022 23:34:05 +0000 (16:34 -0700)
commitfef16c45198b6405e07325fd2f843a4f04ae86aa
tree7b3491f6714bbd207ba9e52d6c456c281375762e
parent423df44a090846b9c59650efb11745f07914f1d5
Fix uninitialized variable warnings.

Check for use of previously uninitialized variables; call gcc_unreachable().
Replace abort() with gcc_unreachable().

2022-10-22  Michael Eager  <eager@eagercon.com>

gcc/
* config/microblaze/microblaze.cc
(microblaze_legitimize_address): Initialize 'reg' to NULL, check for NULL.
(microblaze_address_insns): Replace abort() with gcc_unreachable().
(print_operand_address): Same.
(microblaze_expand_move): Initialize 'p1' to NULL, check for NULL.
(get_branch_target): Replace abort() with gcc_unreachable().
gcc/config/microblaze/microblaze.cc