This is the mail archive of the gcc-bugs@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]

[Bug middle-end/55882] [4.7 Regression] unaligned load/store : incorrect struct offset


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

--- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-16 09:26:11 UTC ---
Author: rguenth
Date: Wed Jan 16 09:26:05 2013
New Revision: 195232

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195232
Log:
2013-01-16  Richard Biener  <rguenther@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.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr55882.c
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/emit-rtl.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog


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