https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84914
Bug ID: 84914 Summary: PowerPC complex multiply/divide calls the wrong function when -mabi=ieeelongdouble Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: meissner at gcc dot gnu.org Target Milestone: --- Joseph Meyers had pointed out in January that we are calling the wrong function for complex multiply/divide when using -mabi=ieeelongdouble -Wno-psabi: long double _Complex cm (long double _Complex a, long double _Complex b) { return a*b; } It should call __mulkc3 instead of __multc3. Similarly for divide.