[Bug c/38231] Improperly parsing -g -o causes bad info to be passed to ld on FreeBSD and ld segfaults

2008-11-22 Thread yanegomi at gmail dot com
--- Comment #2 from yanegomi at gmail dot com 2008-11-23 01:36 --- Ok, here's a shorter means of reproducing the issue: echo 'int main () { return 0; }' > test.c gcc -o test test.c gcc -o -g test test.c This issue doesn't occur as horribly with the gcc a

[Bug c/38231] Improperly parsing -g -o causes bad info to be passed to ld on FreeBSD and ld segfaults

2008-11-22 Thread yanegomi at gmail dot com
--- Comment #1 from yanegomi at gmail dot com 2008-11-23 01:26 --- Also, ft was a precompiled C app without debug symbols. I noticed that made a difference in the reproducing the error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38231

[Bug c/38231] New: Improperly parsing -g -o causes bad info to be passed to ld on FreeBSD and ld segfaults

2008-11-22 Thread yanegomi at gmail dot com
d ld segfaults Product: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: yanegomi at gmail dot com GCC build triplet: amd64-undermyd