This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/17603] [4.0 Regression] cpowf and cpowl give wrong results
- From: "roger at eyesopen dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Dec 2004 21:24:31 -0000
- Subject: [Bug target/17603] [4.0 Regression] cpowf and cpowl give wrong results
- References: <20040922093853.17603.pcarlini@suse.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From roger at eyesopen dot com 2004-12-05 21:24 -------
There does appear to be some form of ABI change on x86_64. When compiling with
gcc-3.4.3 the results of cpowl are assumed to be returned on the x87 stack, but
when compiling with 4.0.0 (20041205 experimental) the generated code assumes that
the floating point results are returned in memory!! I suspect that an internal
change in the representation of complex types, has broken platforms with special
parameter passing/returning conventions for complex types.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17603