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:
Alexandre Oliva 2023-02-22 14:35:31 -03:00 committed by Alexandre Oliva
parent 2d6a0fd3bd
commit c20ab9bcf0

View file

@ -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;