This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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"


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) {
                                                    ^

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]