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 tree-optimization/78428] [5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode


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

--- Comment #11 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Jan  3 12:04:05 2017
New Revision: 244018

URL: https://gcc.gnu.org/viewcvs?rev=244018&root=gcc&view=rev
Log:
Fill bitregion_{start,end} in store_constructor (PR tree-optimization/78428)

2017-01-03  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2016-12-13  Martin Liska  <mliska@suse.cz>

        PR tree-optimization/78428
        * expr.c (store_constructor_field): Add new arguments to the
        function.
        (store_constructor): Set up bitregion_end and add
        gcc_unreachable to fields that have either non-constant size
        or (and) offset.
2017-01-03  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2016-12-13  Martin Liska  <mliska@suse.cz>

        PR tree-optimization/78428
        * gcc.dg/tree-ssa/pr78428.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/tree-ssa/pr78428.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/expr.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

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