https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69091
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2015-12-30 Target Milestone|--- |6.0 Summary|valid code with operator| |[6 Regrssion] valid code |causes ICE "tree check: |with operator| causes ICE |accessed elt 2 of tree_vec |"tree check: accessed elt 2 |with 1 elts in tsubst, at |of tree_vec with 1 elts in |cp/pt.c:12851" |tsubst, at cp/pt.c:12851" Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- 4.8.x says: t990.cc:5:52: warning: 'operator|' function uses 'auto' type specifier without trailing return type [enabled by default] auto operator|(Option<ValueType, Value>, OptionsRhs) { ^