Hi, 

due to the bitfield handling changes, C++ frontend now ICEs on this: 

=== Cut===
struct A { unsigned a:8; };

extern void b(unsigned char);

void breakme (A f)
{
  b((unsigned char) f.a);
}
=== Cut ===
bitfield-ice-1.cc: In function 'void breakme(A)':
bitfield-ice-1.cc:7: internal compiler error: in build_c_cast, at
cp/typeck.c:5434
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [4.2 Regression] ICE within build_c_cast
                    cp/typeck.c:5434
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mueller at gcc dot gnu dot org


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

Reply via email to