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

            Bug ID: 57532
           Summary: [4.8.1 regression] operator& broken when used on
                    rvalues
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kretz at kde dot org

int main()
{
    return (int() & int());
}

compile with g++ -O0 -o test main.cpp

this compiles with all compilers I know, except GCC 4.8.1

Reply via email to