http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56453
--- Comment #2 from Simeon Pilgrim 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_su
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56453
--- Comment #1 from Simeon Pilgrim 2013-02-26
07:41:53 UTC ---
Simplified that case down to the command:
fr30-elf-gcc -c -o lib_a-argz_add.o argz_add.c
and the code:
void argz_add(char *str)
{
if (str == 0)
return;
retur
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56453
Bug #: 56453
Summary: Gcc segmentation fault building argz_add.c for
xcompiler newlib for fr30-elf
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: U