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

2013-02-25 Thread simeon.pilgrim at gmail dot com
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

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

2013-02-25 Thread simeon.pilgrim at gmail dot com
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

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

2013-02-25 Thread simeon.pilgrim at gmail dot com
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