]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: [multiple changes]
authorRichard Biener <rguenth@gcc.gnu.org>
Mon, 18 Apr 2011 14:37:08 +0000 (14:37 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 18 Apr 2011 14:37:08 +0000 (14:37 +0000)
commitf9e953c92a955858039b86d10021949655d2e394
treeb3fc54dab98d694d683e5d27e71f33cf1180f05e
parentc2e15923ba6d72d00ae09af0ba4a47d23ab93291
backport: [multiple changes]

2011-04-18  Richard Guenther  <rguenther@suse.de>

    Backported from 4.6 branch
    2011-03-11  Jakub Jelinek  <jakub@redhat.com>

    PR c++/48035
    * init.c (build_zero_init_1): Extracted from build_zero_init.
    Add FIELD_SIZE argument, if non-NULL and field bit_position
    as not smaller than that, don't add that field's initializer.
    Pass DECL_SIZE as last argument to build_zero_init_1
    for DECL_FIELD_IS_BASE fields.
    (build_zero_init): Use build_zero_init_1.

    * g++.dg/inherit/virtual8.C: New test.

    2011-03-05  Zdenek Dvorak  <ook@ucw.cz>

    PR rtl-optimization/47899
    * cfgloopmanip.c (fix_bb_placements): Fix first argument
    to flow_loop_nested_p when moving the loop upward.

    * gcc.dg/pr47899.c: New test.

    2011-03-15  Richard Guenther  <rguenther@suse.de>

    PR middle-end/48031
    * fold-const.c (fold_indirect_ref_1): Do not create new variable-sized
    or variable-indexed array accesses when in gimple form.

From-SVN: r172652
gcc/testsuite/g++.dg/inherit/virtual8.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr47899.c [new file with mode: 0644]