On Wed, 16 Mar 2016, H.J. Lu wrote:

> On Wed, Mar 16, 2016 at 9:41 AM, H.J. Lu <hjl.to...@gmail.com> wrote:
> > On Wed, Mar 16, 2016 at 9:35 AM, Tom de Vries <tom_devr...@mentor.com> 
> > wrote:
> >> On 16/03/16 17:15, H.J. Lu wrote:
> >>>
> >>> On Wed, Mar 16, 2016 at 9:12 AM, H.J. Lu <hjl.to...@gmail.com> wrote:
> >>
> >>
> >>>> Any particular reason why this test was changed to DOS format?
> >>
> >>
> >> FWIW, the test was in DOS format from the start.
> >>
> >>
> >
> > DOS format was introduced by r220530:
> >
> > Index: gcc.dg/uninit-19.c
> > ===================================================================
> > --- gcc.dg/uninit-19.c  (revision 220529)
> > +++ gcc.dg/uninit-19.c  (revision 220530)
> > @@ -10,7 +10,7 @@ fn1 (int p1, float *f1, float *f2, float
> >       unsigned char *c2, float *p10)^M
> >  {^M
> >    if (p1 & 8)^M
> > -    b[3] = p10[a];  /* { dg-warning "may be used uninitialized" } */^M
> > +    b[3] = p10[a];  /* 13.  */^M
> >  }^M
> >  ^M
> >  void^M
> > @@ -19,5 +19,8 @@ fn2 ()
> >    float *n;^M
> >    if (l & 6)^M
> >      n = &c + m;^M
> > -  fn1 (l, &d, &e, &g, &i, &h, &k, n);^M
> > +  fn1 (l, &d, &e, &g, &i, &h, &k, n);  /* 22.  */^M
> >  }^M
> > +^M
> > +/* { dg-warning "may be used uninitialized" "" { target nonpic } 13 } */^M
> > +/* { dg-warning "may be used uninitialized" "" { target { ! nonpic }
> > } 22 } */^M
> >
> > "^M" was added to those changed lines.
> >
> 
> Never mind.  "^M" was there before.

Happens from time to time when I download testcases from bugzilla
attachments.  If they are DOS format they stay that way.  Then often
I just edit 't.c' by removing everything and pasting sth new in
which seems to retain DOS format as well.

Richard.

Reply via email to