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

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to rguent...@suse.de from comment #5)
> On Mon, 5 Mar 2018, marxin at gcc dot gnu.org wrote:
> 
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84696
> > 
> > --- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
> > (In reply to Richard Biener from comment #3)
> > > Martins testcase is fixed by the first fix for PR84670, the original
> > > testcase of this PR is not.  Would be nice to reduce it further so it can 
> > > be
> > > included in the testsuite.  (with the fix pasted into PR84670 applied)
> > 
> > Let me bisect that.
> 
> Reduce please, not bisect ;)

Yeah, I said bisect, but I meant reduce :)

$ cat reduce.i
char *a;
int b(void) {
  long d;
  if (a) {
    char c;
    while ((c = *a) && !((unsigned)c - '0' <= 9) && c != ',' && c != '-' &&
           c != '+')
      ++a;
    d = (long)a;
  }
  if (*a)
    return d;
}

Reply via email to