[Bug target/64003] valgrind complains about get_attr_length_nobnd in insn-attrtab.c from i386.md

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 2 02:20:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64003

--- Comment #7 from dmalcolm at gcc dot gnu.org ---
A more minimal reproducer:

$ cat get-attr-length-i386.c
int test_pr64003 (int p)
{
  if (p == 0)
    return 5;
  if (p == 1)
    return 7;

  return 0;
}

$ valgrind ./cc1 get-attr-length-i386.c -O2



More information about the Gcc-bugs mailing list