This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18898] [SH target], internal compiler error (ICE): for given code if using #pragma interrupt
- From: "asgarij at kpitcummins dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Dec 2004 09:47:05 -0000
- Subject: [Bug target/18898] [SH target], internal compiler error (ICE): for given code if using #pragma interrupt
- References: <20041209061713.18898.prafullat@kpitcummins.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From asgarij at kpitcummins dot com 2004-12-22 09:47 -------
Following patch removes the ice. Please review.
--- gcc-3.4-20040813/gcc/config/sh/sh.orig.c 2004-12-08 10:55:41.000000000
+0530
+++ gcc-3.4-20040813/gcc/config/sh/sh.c 2004-12-08 10:54:06.000000000 +0530
@@ -5565,7 +5565,7 @@ sh_expand_prologue (void)
target_flags = save_flags;
output_stack_adjust (-rounded_frame_size (d) + d_rounding,
- stack_pointer_rtx, 0, NULL);
+ stack_pointer_rtx, 0, &live_regs_mask);
if (frame_pointer_needed)
frame_insn (GEN_MOV (frame_pointer_rtx, stack_pointer_rtx));
Regards,
Asgari Jinia
KPIT Cummins InfoSystems Ltd.
Pune, India
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8
Series. The following site also offers free technical support
to its users.
Visit http://www.kpitgnutools.com for details.
Latest versions of KPIT GNU tools are released on Oct 1, 2004.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18898