https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87742

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-25
                 CC|                            |msebor at gcc dot gnu.org
            Summary|False warning "warning:     |[7/8/9 Regression] false
                   |array subscript 3 is above  |warning: array subscript 3
                   |array bounds of 'const      |is above array bounds of
                   |std::type_info* const [3]'  |'const std::type_info*
                   |"                           |const [3]'
     Ever confirmed|0                           |1

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  The warning first appeared in GCC 5.0, with r217260:

r217260 | rguenth | 2014-11-09 06:27:00 -0500 (Sun, 09 Nov 2014) | 12 lines

2014-11-09  Richard Biener  <rguent...@suse.de>

        * match.pd: Add patterns convering two conversions in a row
        from fold-const.c.
        * fold-const.c (fold_unary_loc): Remove them here.
        * tree-ssa-forwprop.c (combine_conversions): Likewise.
        * genmatch.c (dt_node::gen_kids): Check whether we may
        follow SSA use-def chains.

        * g++.dg/cpp0x/constexpr-reinterpret1.C: XFAIL.
        * gcc.dg/tree-ssa/pr21031.c: XFAIL.

Reply via email to