diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-07-19 11:24:28 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-07-19 11:24:28 +0200 |
commit | b8b2b0094a9047a1ad476d96f0d20d4b56fca625 (patch) | |
tree | 9ebdcc8fe15b0de1cd9d54526c0832bc2573669e /gcc/java/expr.c | |
parent | 338f655dae09fc11f3fa4bc693360d93d9e72bb6 (diff) | |
download | gcc-b8b2b0094a9047a1ad476d96f0d20d4b56fca625.zip gcc-b8b2b0094a9047a1ad476d96f0d20d4b56fca625.tar.gz gcc-b8b2b0094a9047a1ad476d96f0d20d4b56fca625.tar.bz2 |
re PR tree-optimization/49768 (C99 style union initializations does not work as expected with optimizations)
PR tree-optimization/49768
* gimple-fold.c (fold_nonarray_ctor_reference): Return NULL
if offset is smaller than bitoffset, but offset+size is bigger
than bitoffset.
* gcc.c-torture/execute/pr49768.c: New test.
From-SVN: r176437
Diffstat (limited to 'gcc/java/expr.c')
0 files changed, 0 insertions, 0 deletions