http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48866
Summary: gcc hangs when -g is set Product: gcc Version: 4.4.4 Status: UNCONFIRMED Severity: major Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: sieb...@aicas.com Created attachment 24178 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24178 Minimum C example I could produce. The original code was generated C code. gcc hangs when compiling the attached C source code (on Linux/x86) as follows > gcc -O2 -c test.c -o test.o -g [hangs forever...] ^C > The problem disappears without -g or when using -O0. > gcc -O2 -c test.c -o test.o > gcc -O0 -c test.c -o test.o -g >