https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109145

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |testsuite-fail
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2023-03-15

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Humm, argument passing oddity?  Or probably "old" glibc complex.h header not
using __builtin_complex for CMPLXF (...)?  It seems to pass for me with a
cross and using native x86-64 complex.h headers ...

My complex.h has

#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
/* Macros to expand into expression of specified complex type.  */
# define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
# define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))
# define CMPLXL(x, y) __builtin_complex ((long double) (x), (long double) (y))
#endif 

can you have a look or at least attach preprocessed source?  Can you
check if changing the testcase to use __builtin_complex (..) fixes it?

Reply via email to