[Bug middle-end/59138] [4.8/4.9 Regression] possible packed struct miscompile

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 27 09:19:00 GMT 2013


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

--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Wed Nov 27 09:19:47 2013
New Revision: 205437

URL: http://gcc.gnu.org/viewcvs?rev=205437&root=gcc&view=rev
Log:
    PR middle-end/59138
    * expr.c (emit_group_store): Don't write past the end of the structure.
    (store_bit_field): Fix formatting.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.c-torture/execute/20131127-1.c
      - copied unchanged from r205436,
trunk/gcc/testsuite/gcc.c-torture/execute/20131127-1.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/expr.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list