https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78917
Jeffrey A. Law changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78917
Martin Sebor changed:
What|Removed |Added
Known to fail||10.1.0, 11.0, 7.3.0, 8.2.0,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78917
--- Comment #3 from Eric Gallager ---
(In reply to Martin Sebor from comment #2)
> Another test case:
>
> $ cat f.c && gcc -O2 -S -Wall -Wextra f.c
> int f (int i)
> {
> const char * p = __builtin_strchr (i ? "123" : "456", '2');
> return __
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78917
--- Comment #2 from Martin Sebor ---
Another test case:
$ cat f.c && gcc -O2 -S -Wall -Wextra f.c
int f (int i)
{
const char * p = __builtin_strchr (i ? "123" : "456", '2');
return __builtin_strlen (p);
}
The strlen argument is a phi with a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78917
Eric Gallager changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|