bit field bug

Mark-Andre Hopf hopf@informatik.uni-rostock.de
Fri Mar 26 05:12:00 GMT 1999


Hello folks,

 this program results in:

expr.c:2324: Internal compiler error in function emit_move_insn

when I write `|' instead of `||' and don't put an `a' into the
expression below (checked with egcs 1.1.1, 1.1.2, but it didn't happen
with 2.7.2.3):

class foo
{
  public:
    bool bar() { return b | c ; }

    bool a:1;
    bool b:1;
    bool c:1;
};

main()
{
}

  Happy hacking,
    Mark

    TOAD -- A Simple and Powerful C++ GUI Toolkit for X-Windows
            Freely available at http://toad.home.pages.de/
    /OO\
__(/_--_\)__________________ Mark-André Hopf <hopf@informatik.uni-rostock.de>



More information about the Gcc-bugs mailing list