[Bug bootstrap/92540] New: [10 regression] r278218 breaks bootstrap on riscv64
schwab@linux-m68k.org
gcc-bugzilla@gcc.gnu.org
Sat Nov 16 14:57:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92540
Bug ID: 92540
Summary: [10 regression] r278218 breaks bootstrap on riscv64
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Keywords: build, diagnostic
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: schwab@linux-m68k.org
CC: mliska at suse dot cz
Blocks: 24639
Target Milestone: ---
Target: riscv64-*-*
../../gcc/config/riscv/riscv.c: In function 'int riscv_address_insns(rtx,
machine_mode, bool)':
../../gcc/config/riscv/riscv.c:860:29: error: '*((void*)& addr +24)' may be
used uninitialized in this function [-Werror=maybe-uninitialized]
860 | struct riscv_address_info addr;
| ^~~~
GCC doesn't see that if addr.type == ADDRESS_LO_SUM then addr.symbol_type is
initialized by riscv_classify_address.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639
[Bug 24639] [meta-bug] bug to track all Wuninitialized issues
More information about the Gcc-bugs
mailing list