This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/67004] valgrind error in recog_memoized & shorten_branches
- From: "uros at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 25 Jul 2015 11:35:30 +0000
- Subject: [Bug c/67004] valgrind error in recog_memoized & shorten_branches
- Auto-submitted: auto-generated
- References: <bug-67004-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67004
--- Comment #2 from uros at gcc dot gnu.org ---
Author: uros
Date: Sat Jul 25 11:34:59 2015
New Revision: 226215
URL: https://gcc.gnu.org/viewcvs?rev=226215&root=gcc&view=rev
Log:
PR target/67004
* config/i386/i386.h (ADJUST_INSN_LENGTH): Use NONDEBUG_INSN_P (INSN)
predicate and INSN_CODE (INSN) >= 0 to check for valid instruction.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.h