https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86190
Tony E Lewis <TonyELewis at hotmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |TonyELewis at hotmail dot com --- Comment #7 from Tony E Lewis <TonyELewis at hotmail dot com> --- I just hit this one yesterday (and am now disappointed to have missed being able to contribute a new valid bug report by just 5 days :) ). Thanks for the work that's already gone into addressing this. The repro can be reduced slightly further by removing the struct: typedef unsigned long sz_t; sz_t s(); void f(int i) { s() < static_cast<unsigned long>( i ); }