This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/30024] [4.3 Regression] segfault with gcc.c-torture/compile/20000804-1.c on sh-elf and spu-elf
- 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: 30 Nov 2006 04:29:21 -0000
- Subject: [Bug rtl-optimization/30024] [4.3 Regression] segfault with gcc.c-torture/compile/20000804-1.c on sh-elf and spu-elf
- References: <bug-30024-5208@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-11-30 04:29 -------
(In reply to comment #3)
> Thanks for the confirmation.
Well I am a maintainer of the SPU port so I really care about the failures and
how ever weird the testcase :).
> and const_tiny_rtx[0][(int) CDImode] isn't initialized in
> init_emit_once. With adding
>
> for (mode = GET_CLASS_NARROWEST_MODE (MODE_COMPLEX_INT);
> mode != VOIDmode;
> mode = GET_MODE_WIDER_MODE (mode))
> const_tiny_rtx[0][(int) mode] = gen_rtx_raw_CONST_INT (mode, 0);
>
> to init_emit_once, the segfault went away, though I'm not sure
> whether it makes sense or not.
I have to look into this more to figure out why we are getting a non concat for
the complex mode.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30024