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 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:
                                                                                
  http://gcc.gnu.org/ml/gcc-cvs/2005-04/msg00325.html
                                                                                
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
pointer-to-member-function
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:http://gcc.gnu.org/bugs.html> 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
                    com
 GCC build triplet: powerpc-linux
  GCC host triplet: powerpc-linux
GCC target triplet: powerpc-linux


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


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