[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/32091] New: binutils, gas/config/tc-i386-ginsn.c:495, error: ‘g
From: |
joserubiovidales at gmail dot com |
Subject: |
[Bug gas/32091] New: binutils, gas/config/tc-i386-ginsn.c:495, error: ‘ginsn_func’ may be used uninitialized |
Date: |
Sat, 17 Aug 2024 16:07:13 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32091
Bug ID: 32091
Summary: binutils, gas/config/tc-i386-ginsn.c:495, error:
‘ginsn_func’ may be used uninitialized
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: joserubiovidales at gmail dot com
Target Milestone: ---
binutils master branch fails to compile after commmit
d56083b5047b8e7cc9eda2f867bd2b75724920a1
The file ./gas/config/tc-i386-ginsn.c complains with error
"config/tc-i386-ginsn.c:495:15: error: ‘ginsn_func’ may be used uninitialized
in this function"
To reproduce the issue:
1. gcc: 10.4.0
2. target: x86_64-suse-linux
3. source: https://sourceware.org/git/binutils-gdb.git
4. branch: master
Build error:
In file included from config/tc-i386.c:11115:
config/tc-i386-ginsn.c: In function ‘x86_ginsn_indirect_branch’:
config/tc-i386-ginsn.c:495:15: error: ‘ginsn_func’ may be used uninitialized in
this function [-Werror=maybe-uninitialized]
495 | ginsn = ginsn_func (insn_end_sym, true,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
496 | GINSN_SRC_REG, dw2_regnum, NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/32091] New: binutils, gas/config/tc-i386-ginsn.c:495, error: ‘ginsn_func’ may be used uninitialized,
joserubiovidales at gmail dot com <=
- [Bug gas/32091] binutils, gas/config/tc-i386-ginsn.c:495, error: ‘ginsn_func’ may be used uninitialized, sam at gentoo dot org, 2024/08/17
- [Bug gas/32091] binutils, gas/config/tc-i386-ginsn.c:495, error: ‘ginsn_func’ may be used uninitialized, sam at gentoo dot org, 2024/08/18
- [Bug gas/32091] binutils, gas/config/tc-i386-ginsn.c:495, error: ‘ginsn_func’ may be used uninitialized, cvs-commit at gcc dot gnu.org, 2024/08/19
- [Bug gas/32091] binutils, gas/config/tc-i386-ginsn.c:495, error: ‘ginsn_func’ may be used uninitialized, joserubiovidales at gmail dot com, 2024/08/21
- [Bug gas/32091] binutils, gas/config/tc-i386-ginsn.c:495, error: ‘ginsn_func’ may be used uninitialized, joserubiovidales at gmail dot com, 2024/08/21