re PR tree-optimization/35518 (FAIL: gcc.c-torture/execute/20040709-1.c execution...
authorRichard Guenther <rguenther@suse.de>
Wed, 25 Jun 2008 08:41:14 +0000 (08:41 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 25 Jun 2008 08:41:14 +0000 (08:41 +0000)
commitee1f1270454962e90a8f76765ca77fd23134657a
treeaa6ec98a15b381a6e6704ef0dc90dbeea8696b35
parent423addc532f23bf1a9fe9900d0d13e0197d96496
re PR tree-optimization/35518 (FAIL: gcc.c-torture/execute/20040709-1.c execution at -O2 and above)

2008-06-25  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/35518
* fold-const.c (fold_ternary): Strip trivial BIT_FIELD_REFs.
* tree-sra.c (instantiate_element): Use fold_build3 to build
BIT_FIELD_REFs.
(try_instantiate_multiple_fields): Likewise.

From-SVN: r137100
gcc/ChangeLog
gcc/fold-const.c
gcc/tree-sra.c