[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
Wed Dec 14 11:18:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78428
--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Dec 13 15:26:14 2016
New Revision: 243610
URL: https://gcc.gnu.org/viewcvs?rev=243610&root=gcc&view=rev
Log:
Fill bitregion_{start,end} in store_constructor (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.
* gcc.dg/tree-ssa/pr78428.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr78428.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/expr.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list