Drop need for constant I in ctf test
Though I is supposed to be a constant expression, this is not the case on vxworks, but this is not what this debug information format test is testing for, so use real constants to initialize complex variables. for gcc/testsuite/ChangeLog * gcc.dg/debug/ctf/ctf-complex-1.c: Do not test whether I is usable in initializers.
This commit is contained in:
parent
2d6a0fd3bd
commit
c20ab9bcf0
1 changed files with 3 additions and 3 deletions
|
@ -14,8 +14,8 @@
|
|||
|
||||
#include <complex.h>
|
||||
|
||||
double complex z1 = I * I;
|
||||
double complex z1 = -1;
|
||||
|
||||
const long double complex z2 = I * I;
|
||||
const long double complex z2 = -1;
|
||||
|
||||
float complex z4 = 1+2.11*I;
|
||||
float complex z4 = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue