On Tue, Mar 17, 2015 at 01:28:41PM -0600, Jeff Law wrote: > On 03/14/2015 07:02 AM, Alan Modra wrote: > > PR target/65408 > > PR target/58744 > > PR middle-end/36043 > > * calls.c (load_register_parameters): Don't load past end of > > mem unless suitably aligned. > I think this is probably a stage1 item. Richi, Jakub, Joseph, do any of you > think we should try to push this into gcc-5?
Some (severity) background to PR65408. The bug came from SAP HANA (en.wikipedia.org/wiki/SAP_HANA), a crash that happens on powerpc64 and powerpc64le. aarch64 would also be susceptible to the crash since it also loads 16 bytes for the 12-byte struct. x86_64 only loads 12 bytes (i386.c:construct_container generates a parallel with a DImode and SImode load). However the underlying bug is there and hits x86_64 too for the pr58744 and pr36043 testcases.. -- Alan Modra Australia Development Lab, IBM