[Bug c/56453] Gcc segmentation fault building argz_add.c for xcompiler newlib for fr30-elf

simeon.pilgrim at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 26 07:46:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56453

--- Comment #2 from Simeon Pilgrim <simeon.pilgrim at gmail dot com> 2013-02-26 07:46:10 UTC ---
If you change the char* to just a char, thus:

void argz_add(char str)
{
  if (str == 0)
    return;
}

I now get:
argz_add.c:1:6: internal compiler error: in operand_subword_force, at
emit-rtl.c:1434



More information about the Gcc-bugs mailing list