This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]