This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/14307] [tree-ssa] ICE in copy_to_mode_reg (explow.c:675)
- From: "ehrhardt at mathematik dot uni-ulm dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Feb 2004 17:29:15 -0000
- Subject: [Bug middle-end/14307] [tree-ssa] ICE in copy_to_mode_reg (explow.c:675)
- References: <20040226153737.14307.ehrhardt@mathematik.uni-ulm.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ehrhardt at mathematik dot uni-ulm dot de 2004-02-26 17:29 -------
Subject: Re: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675)
On Thu, Feb 26, 2004 at 04:48:36PM -0000, dnovillo at redhat dot com wrote:
> Then this may be a problem we inherited from mainline at the last
> merge. I'm working on another mainline merge. I'll see if this makes
> it go away.
The following hunk introduced into mainline by Mark is probably going to
fix this bug. Will bootstrap now. It fixes the bug for the non-bootstrapped
compiler.
===================================================================
RCS file: /cvs/gcc/gcc/gcc/calls.c,v
retrieving revision 1.319
retrieving revision 1.320
diff -u -r1.319 -r1.320
--- gcc/gcc/calls.c 2004/02/06 06:18:11 1.319
+++ gcc/gcc/calls.c 2004/02/17 18:32:32 1.320
@@ -2385,7 +2388,8 @@
|| (ACCUMULATE_OUTGOING_ARGS
&& stack_arg_under_construction
&& structure_value_addr == virtual_outgoing_args_rtx)
- ? copy_addr_to_reg (structure_value_addr)
+ ? copy_addr_to_reg (convert_memory_address
+ (Pmode, structure_value_addr))
: structure_value_addr);
actparms
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14307