[Bug bootstrap/48471] New: ia64-*-* does not bootstrap due to unused variables in dbxout.c

sje at cup dot hp.com gcc-bugzilla@gcc.gnu.org
Tue Apr 5 20:42:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48471

           Summary: ia64-*-* does not bootstrap due to unused variables in
                    dbxout.c
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sje@cup.hp.com


I get these errors when bootstrapping on ia64-hp-hpux11.23.

/proj/opensrc_nobackup/sje/reg/src/trunk/gcc/dbxout.c:107:12: error:
'debug_nesting' defined but not used [-Werror=unused-variable]
/proj/opensrc_nobackup/sje/reg/src/trunk/gcc/dbxout.c:109:14: error:
'symbol_queue' defined but not used [-Werror=unused-variable]
/proj/opensrc_nobackup/sje/reg/src/trunk/gcc/dbxout.c:110:12: error:
'symbol_queue_index' defined but not used [-Werror=unused-variable]
/proj/opensrc_nobackup/sje/reg/src/trunk/gcc/dbxout.c:111:12: error:
'symbol_queue_size' defined but not used [-Werror=unused-variable]
cc1: all warnings being treated as errors

I believe they were caused by this checkin:

------------------------------------------------------------------------
r171981 | froydnj | 2011-04-05 05:02:55 -0700 (Tue, 05 Apr 2011) | 8 lines

        * debug.h (debug_flush_symbol_queue, debug_queue_symbol): Delete.
        (debug_free_queue, debug_nesting, symbol_queue_index): Delete.
        * final.c (debug_flush_symbol_queue, debug_queue_symbol):
        Move these...
        (debug_free_queue, debug_nesting, symbol_queue_index):
        ...and these...
        * dbxout.c: ...to here.  Make static.



More information about the Gcc-bugs mailing list