This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30980] [4.3 Regression] Recent complex miscompilation
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Feb 2007 15:47:57 -0000
- Subject: [Bug target/30980] [4.3 Regression] Recent complex miscompilation
- References: <bug-30980-133@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from pinskia at gcc dot gnu dot org 2007-02-27 15:47 -------
> I'm adding Eric too, maybe he wants to investigate the sparc version of the
> issue.
The patch which I was worried about causing a regression with respect of
calling complex functions is:
2007-02-18 Sandra Loosemore <sandra@codesourcery.com>
* calls.c (initialize_argument_information): Pass original EXP
and STRUCT_VALUE_ADDR_VALUE instead of a list of arguments. Move
code to split complex arguments here, as part of initializing the
ARGS array.
(expand_call): Remove code that builds a list of arguments and
inserts implicit arguments into it. Instead, just count how many
implicit arguments there will be so we can determine the size of
the ARGS array, and let initialize_argument_information do the work.
(split_complex_values): Delete unused function.
Now I don't know if that patch caused the sparc regression or not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30980