This is the mail archive of the 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 c++/20817] New: ICE for tree check in build_offset_type

Current GCC mainline ICEs, instead of reporting errors, for test
g++.dg/old-deja/g++.benjamin/13908.C on powerpc-linux.  The test
isn't reported as failing because dg-error is used with a blank
string.  The ICE starts with the following patch, which might
merely expose a latent bug:
Test output:
13908.C: In function ?void bar(chile*, void (chile::*)())?:
13908.C:20: error: parenthesis around ?pobj->*pmethod? cannot be used to form a
13908.C:20: internal compiler error: tree check: expected class ?type?, have
?declaration? (function_decl) in build_offset_type, at tree.c:4628
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.

           Summary: ICE for tree check in build_offset_type
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,mark at codesourcery dot
 GCC build triplet: powerpc-linux
  GCC host triplet: powerpc-linux
GCC target triplet: powerpc-linux

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