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: unassig...@gcc.gnu.org ReportedBy: ja...@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; }