[Bug target/64003] valgrind complains about get_attr_length_nobnd in insn-attrtab.c from i386.md
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Dec 5 10:38:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64003
--- Comment #23 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Ilya Enkovich from comment #21)
> Then we have three problematic patterns and the easiest way to handle it is
> to get rid of ix86_bnd_prefixed_insn_p call in length computation for them.
> I think the easiest way to do it is to have separate bnd and nobnd patterns
> for these instructions. Attached patch helps me to resolve valgrind error.
> Is such approach fine?
Maybe "enabled" attribute can help here to avoid unnecessary duplication.
More information about the Gcc-bugs
mailing list