This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR64764
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Tom de Vries <Tom_deVries at mentor dot com>
- Cc: Richard Biener <rguenther at suse dot de>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 16 Mar 2016 09:42:19 -0700
- Subject: Re: [PATCH] Fix PR64764
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LSU dot 2 dot 11 dot 1501261547050 dot 12482 at zhemvz dot fhfr dot qr> <54D357C4 dot 1060401 at mentor dot com> <alpine dot LSU dot 2 dot 11 dot 1502090959210 dot 7434 at zhemvz dot fhfr dot qr> <54D88C34 dot 7050606 at mentor dot com> <CAMe9rOr4dg8-JK7X7VU_B+CYN+D1EZTUnzTJjkBnM+U811KCqw at mail dot gmail dot com> <CAMe9rOpMoR5Gw8m2DW7ECmGwHk4SiQpY5GUxziD9DrX3RhVX=A at mail dot gmail dot com> <56E98B3F dot 80707 at mentor dot com> <CAMe9rOod+hKA2vQz7qTexQL_J=2SvK=vaPrZ5ksCCLUbza4=1Q at mail dot gmail dot com>
On Wed, Mar 16, 2016 at 9:41 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Wed, Mar 16, 2016 at 9:35 AM, Tom de Vries <Tom_deVries@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.tools@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.
--
H.J.