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

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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45611

Reply via email to