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 sanitizer/63802] UBSan doesn't catch misaligned access if address is 16-bytes (or more) aligned


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63802

--- Comment #4 from ygribov at gcc dot gnu.org ---
Author: ygribov
Date: Tue Nov 18 07:37:17 2014
New Revision: 217689

URL: https://gcc.gnu.org/viewcvs?rev=217689&root=gcc&view=rev
Log:
2014-11-18  Yury Gribov  <y.gribov@samsung.com>

    PR sanitizer/63802

gcc/
    * stor-layout.c (min_align_of_type): Respect user alignment
    more.

gcc/testsuite/
    * c-c++-common/ubsan/pr63802.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/ubsan/pr63802.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/stor-layout.c
    trunk/gcc/testsuite/ChangeLog


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