This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/83390] New: valgrind error in lra_eliminate_regs_1
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 12 Dec 2017 09:41:05 +0000
- Subject: [Bug c/83390] New: valgrind error in lra_eliminate_regs_1
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83390
Bug ID: 83390
Summary: valgrind error in lra_eliminate_regs_1
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
A build of today's gcc trunk with valgrind produces this:
==8995== Conditional jump or move depends on uninitialised value(s)
==8995== at 0xA39BBE: lra_eliminate_regs_1 (lra-eliminations.c:403)
==8995== by 0xA39BBE: eliminate_regs_in_insn(rtx_insn*, bool, bool, long)
(lra-eliminations.c:1114)
==8995== by 0xA3A147: process_insn_for_elimination (lra-eliminations.c:1396)
==8995== by 0xA3A147: lra_eliminate(bool, bool) (lra-eliminations.c:1459)
svn blame gives us
222223 vmakarov if (CONST_INT_P (XEXP (x, 1)) && INTVAL (XEXP (x, 1))
== -offset)
I suspect local variable offset isn't correct.
Configure lines are
../trunk/configure --prefix=/home/dcb/gcc/results.255572.valgrind \
--disable-bootstrap \
--disable-multilib \
--disable-werror \
--enable-checking=valgrind \
--enable-languages=c,c++,fortran
sed 's/-O2/-O3 -funroll-loops -Wtautological-compare/' < Makefile >
Makefile.tmp
mv Makefile.tmp Makefile
svn info tells us current revision number is 255572.