> Not necessarily. The following is a 4.7 variant of the patch > (on trunk get_object_alignment_1 got one extra output which > moved the align return value to by-reference).
OK, I obviously didn't try very hard here... > Can you give it testing on the branch and a strict-align target? > > Thanks, > Richard. > > 2013-01-15 Richard Biener <rguent...@suse.de> > > PR middle-end/55882 > * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly > account for bitpos when computing alignment. > > * gcc.dg/torture/pr55882.c: New testcase. Bootstrapped/regtested on 4.7 branch for SPARC/Solaris, all clear. -- Eric Botcazou