[Bug other/124682] gcc.dg/torture/builtin-math-6.c fails with mpc 1.4.0

xry111 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 30 01:31:42 GMT 2026


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

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #2 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
Reduced to:

extern void link_error();
int main(void) {
  if (__builtin_copysign(1, __imag__(__builtin_cpow(-2, -(_Complex float)3)))
!= -1)
    link_error();

  return 0;
}


More information about the Gcc-bugs mailing list