https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56210
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
Known to work| |4.8.5
Known to fail| |4.8.4
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
The diagnostic is long fixed but the folding failure / const promotion issue
remains:
f ()
{
static char key[4] = "abc";
char * p;
int _1;
char _2;
<bb 2> [local count: 153142428]:
<bb 3> [local count: 1020054733]:
# p_12 = PHI <";"(2), p_8(6)>
_1 = __builtin_strncmp (p_12, &key, 3);