This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69091] [6 Regrssion] valid code with operator| causes ICE "tree check: accessed elt 2 of tree_vec with 1 elts in tsubst, at cp/pt.c:12851"
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Dec 2015 21:11:04 +0000
- Subject: [Bug c++/69091] [6 Regrssion] valid code with operator| causes ICE "tree check: accessed elt 2 of tree_vec with 1 elts in tsubst, at cp/pt.c:12851"
- Auto-submitted: auto-generated
- References: <bug-69091-4 at http dot gcc dot gnu dot org/bugzilla/>
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) {
^