https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70470
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> --- Reduced: const int& foo (const int& x) { return x; } int main () { int x = 1; const int& y = foo (x+1); return y != 2; }