This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR target/30383 (ICE in i386 stringops rewrite)
- From: Roger Sayle <roger at eyesopen dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 10 Jan 2007 21:38:16 -0700 (MST)
- Subject: Re: PR target/30383 (ICE in i386 stringops rewrite)
On Mon, 8 Jan 2007, Jan Hubicka wrote:
>
> PR target/30383
> * tree.c (make_node_stat): Initialize alignments of labels.
This is OK for mainline, provided that you also add a suitable version
of Andrew's testcase to the testsuite. I'm also a fan of RTH's philosphy
of fixing "interface" bugs in both places, so I'd be interested in seeing
what you i386 backend fix looks like.
I'm a little surprised that we don't have a target macro to describe
label alignment. Whilst it's true that on x86/x86_64, instructions
are only byte aligned, on many RISC-like targets they have 32-bit
alignment, on IA-64 I believe they are 64-bit aligned and on AVR they
are 16-bit aligned. Seems like this could be usefully used by the
optimizers and by memset/memcpy expansion on other targets?
Thanks for fixing this.
Roger
--