[Bug other/55793] New: Compile hog with -gdwarf-4 and -O2 (-fvar-tracking issue)

jan.smets@alcatel-lucent.com gcc-bugzilla@gcc.gnu.org
Sat Dec 22 19:58:00 GMT 2012


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: unassigned@gcc.gnu.org
        ReportedBy: jan.smets@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



More information about the Gcc-bugs mailing list