https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102449
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > I think this is valid code as the compiler can deduce that First is int. > All compilers I have tried accept the code. Agreed.