From 59608fe587074a6f704d39fd08b6a05f6fb11bf2 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 16 Mar 2016 16:14:34 +0000 Subject: [PATCH] Run dos2unix on gcc.dg/uninit-19.c * gcc.dg/uninit-19.c: Run dos2unix. From-SVN: r234260 --- gcc/testsuite/ChangeLog | 4 +++ gcc/testsuite/gcc.dg/uninit-19.c | 52 ++++++++++++++++---------------- 2 files changed, 30 insertions(+), 26 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5b469568e0e..8bbcf35ba27 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-03-16 H.J. Lu + + * gcc.dg/uninit-19.c: Run dos2unix. + 2016-03-16 Marek Polacek PR c/70093 diff --git a/gcc/testsuite/gcc.dg/uninit-19.c b/gcc/testsuite/gcc.dg/uninit-19.c index fc7aceaa70b..d7b9ed04b7d 100644 --- a/gcc/testsuite/gcc.dg/uninit-19.c +++ b/gcc/testsuite/gcc.dg/uninit-19.c @@ -1,26 +1,26 @@ -/* { dg-do compile } */ -/* { dg-options "-O -Wuninitialized" } */ - -int a, l, m; -float *b; -float c, d, e, g, h; -unsigned char i, k; -void -fn1 (int p1, float *f1, float *f2, float *f3, unsigned char *c1, float *f4, - unsigned char *c2, float *p10) -{ - if (p1 & 8) - b[3] = p10[a]; /* 13. */ -} - -void -fn2 () -{ - float *n; - if (l & 6) - n = &c + m; - fn1 (l, &d, &e, &g, &i, &h, &k, n); /* 22. */ -} - -/* { dg-warning "may be used uninitialized" "" { target nonpic } 13 } */ -/* { dg-warning "may be used uninitialized" "" { target { ! nonpic } } 22 } */ +/* { dg-do compile } */ +/* { dg-options "-O -Wuninitialized" } */ + +int a, l, m; +float *b; +float c, d, e, g, h; +unsigned char i, k; +void +fn1 (int p1, float *f1, float *f2, float *f3, unsigned char *c1, float *f4, + unsigned char *c2, float *p10) +{ + if (p1 & 8) + b[3] = p10[a]; /* 13. */ +} + +void +fn2 () +{ + float *n; + if (l & 6) + n = &c + m; + fn1 (l, &d, &e, &g, &i, &h, &k, n); /* 22. */ +} + +/* { dg-warning "may be used uninitialized" "" { target nonpic } 13 } */ +/* { dg-warning "may be used uninitialized" "" { target { ! nonpic } } 22 } */ -- 2.30.2