Fix gcc.dg/uninit-19.c for fpic
2015-02-09 Tom de Vries <tom@codesourcery.com> * gcc.dg/uninit-19.c: Fix warning line for fpic. From-SVN: r220530
This commit is contained in:
parent
d741d1434e
commit
62e0e086d3
@ -1,3 +1,7 @@
|
||||
2015-02-09 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* gcc.dg/uninit-19.c: Fix warning line for fpic.
|
||||
|
||||
2015-02-08 Andrew Pinski <apinski@cavium.com>
|
||||
|
||||
* gcc.dg/tree-ssa/ssa-dom-cse-2.c: xfail for AARCH64 also.
|
||||
|
@ -10,7 +10,7 @@ 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]; /* { dg-warning "may be used uninitialized" } */
|
||||
b[3] = p10[a]; /* 13. */
|
||||
}
|
||||
|
||||
void
|
||||
@ -19,5 +19,8 @@ fn2 ()
|
||||
float *n;
|
||||
if (l & 6)
|
||||
n = &c + m;
|
||||
fn1 (l, &d, &e, &g, &i, &h, &k, n);
|
||||
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 } */
|
||||
|
Loading…
x
Reference in New Issue
Block a user