This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/78428] [5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Jan 2017 12:04:39 +0000
- Subject: [Bug tree-optimization/78428] [5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
- Auto-submitted: auto-generated
- References: <bug-78428-4@http.gcc.gnu.org/bugzilla/>
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