------- Comment #6 from rguenther at suse dot de 2010-09-10 15:51 ------- Subject: Re: [4.6 regression] SIGBUS in generate_option_input_file on Solaris 2/SPARC
On Fri, 10 Sep 2010, ro at CeBiTec dot Uni-Bielefeld dot DE wrote: > ------- Comment #5 from ro at CeBiTec dot Uni-Bielefeld dot DE 2010-09-10 > 15:48 ------- > Subject: Re: [4.6 regression] SIGBUS in generate_option_input_file on Solaris > 2/SPARC > > > ------- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-09 13:27 > > ------- > > > I don't have access to sparc-sun-solaris2*, so I can't bootstrap it (but > > at most build a cross cc1). > > Not even sparc-linux? I very much doubt the bug is Solaris-specific. No, not even sparc-linux. > > So please attach a testcase (easiest is probably in a non-bootstrapped > > tree run make check and pick a simple one that fails from the C testsuite). > > Ok, I'll try to find one. > > > Is sparc-sun-solaris2* a STRICT_ALIGNMENT target? What's the clr > > instruction? > > Is it a store or a load? > > Yes, cf. sparc.h. > > clr and clrx store 0 (4 or 8 bytes) at the target address, requiring > natural alignment (which fails with your patch for the clrx case). Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45611
