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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-13
                 CC|                            |jakub at gcc dot gnu.org
            Summary|[9 Regression] ICE in       |[8/9 Regression] ICE in
                   |compare_values_warnv, at    |compare_values_warnv, at
                   |tree-vrp.c:997              |tree-vrp.c:997
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r255790.

Another testcase that also ICEs since that revision:
typedef __SIZE_TYPE__ size_t;
extern void *memcpy (void *, const void *, size_t);
extern char *strlen (const char *);
extern char c[2];

void
foo (char **q)
{
  memcpy (c, "a", 2);
  q[0] = strlen (c);
}

Reply via email to