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++/28053] [4.2 regression] ICE deriving from class with invalid bitfield



------- Comment #4 from lmillward at gcc dot gnu dot org  2006-10-20 20:13 -------
Subject: Bug 28053

Author: lmillward
Date: Fri Oct 20 20:13:42 2006
New Revision: 117910

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117910
Log:
        PR c++/28053
        * decl2.c (grokbitfield): Detect invalid non-integral 
        types earlier when possible.

        * g++.dg/parse/bitfield1.C: Adjust error markers.
        * g++.dg/parse/bitfield2.C: New test. 


Added:
    trunk/gcc/testsuite/g++.dg/parse/bitfield2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/parse/bitfield1.C


-- 


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


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