This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/43254] New: [4.5 Regression] warning: DWARFDebugInfoEntry::AppendDependants() -- check on this item TAG_subrange_type: attr = AT_upper_bound form = FORM_ref4


Between revisions 157150 and 157190 (likely the latter) it appeared the
following failures on *-apple-darwin*:

FAIL: gcc.c-torture/execute/20020412-1.c compilation,  -O3 -g 
UNRESOLVED: gcc.c-torture/execute/20020412-1.c execution,  -O3 -g 
FAIL: gcc.c-torture/execute/20040811-1.c compilation,  -O3 -g 
UNRESOLVED: gcc.c-torture/execute/20040811-1.c execution,  -O3 -g 
FAIL: gcc.c-torture/execute/pr43220.c compilation,  -O3 -g 
UNRESOLVED: gcc.c-torture/execute/pr43220.c execution,  -O3 -g 
FAIL: gcc.c-torture/execute/vla-dealloc-1.c compilation,  -O3 -g 
UNRESOLVED: gcc.c-torture/execute/vla-dealloc-1.c execution,  -O3 -g 

When run manually the output is

[macbook] f90/bug% gcc45 -save-temps -O3 -g
/opt/gcc/work/gcc/testsuite/gcc.c-torture/execute/20040811-1.c
warning: DWARFDebugInfoEntry::AppendDependants() -- check on this item
TAG_subrange_type: attr =  AT_upper_bound  form = FORM_ref4

Since this warning is harmless I don't understand why the compilation fails and
the execution is UNRESOLVED (the executable works fine).

Note that I have reported a similar problem in comment#89 of pr41473 (
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41473#c89 ).

I'll attach the assembly for r157098 (no warning) and r157190 (warning).


-- 
           Summary: [4.5 Regression] warning:
                    DWARFDebugInfoEntry::AppendDependants() -- check on this
                    item TAG_subrange_type: attr =  AT_upper_bound  form =
                    FORM_ref4
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominiq at lps dot ens dot fr
 GCC build triplet: *-apple-darwin*
  GCC host triplet: *-apple-darwin*
GCC target triplet: *-apple-darwin*


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]