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++/50787] New: [4.6 Regression] reference fails to bind directly to variable


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

             Bug #: 50787
           Summary: [4.6 Regression] reference fails to bind directly to
                    variable
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jason@gcc.gnu.org


http://gcc.gnu.org/ml/gcc/2011-10/msg00272.html

int main() {
        const int Ci = 0;
        const int &rCi = Ci;
        if (!(&Ci == &rCi)) return 1;
        return 0;
}


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