[Bug tree-optimization/78428] [5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 3 10:55:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78428
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Jan 3 10:54:40 2017
New Revision: 244016
URL: https://gcc.gnu.org/viewcvs?rev=244016&root=gcc&view=rev
Log:
Fill bitregion_{start,end} in store_constructor (PR tree-optimization/78428).
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.
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-5-branch/gcc/testsuite/gcc.dg/tree-ssa/pr78428.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/expr.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list