http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55793
Bug #: 55793 Summary: Compile hog with -gdwarf-4 and -O2 (-fvar-tracking issue) Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: jan.sm...@alcatel-lucent.com Created attachment 29029 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29029 testcase Following testcase takes a very long time to compile when debugging info is enabled. The 'real life' scenario contained around 900 entries. The testcase is reduced to 500. With more than 500 entries -> variable tracking size limit exceeded. gcc -c test.c -o test.o -O2 -gdwarf-4 -fno-builtin