This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/70931] [4.9/5 Regression] ICE with -g in native_encode_initializer, bei dwarf2out.c:17768


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70931

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri May 20 08:51:06 2016
New Revision: 236497

URL: https://gcc.gnu.org/viewcvs?rev=236497&root=gcc&view=rev
Log:
2016-05-20  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2016-02-01  Bin Cheng  <bin.cheng@arm.com>

        PR tree-optimization/67921
        * fold-const.c (split_tree): New parameters.  Convert pointer
        type variable part to proper type before negating. 
        (fold_binary_loc): Pass new arguments to split_tree.

        * c-c++-common/ubsan/pr67921.c: New test.

        2016-05-06  Richard Biener  <rguenther@suse.de>

        PR middle-end/70941
        * fold-const.c (split_tree): Always convert to the original type
        before negating.

        * gcc.dg/torture/pr70941.c: New testcase.

        2016-05-06  Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/70941
        * gcc.dg/torture/pr70941.c (abort): Remove prototype.
        (a, b, c, d): Change type from char to signed char.
        (main): Compare against (signed char) -1634678893 instead of
        hardcoded -109.  Use __builtin_abort instead of abort.

        2016-05-06  Richard Biener  <rguenther@suse.de>

        PR middle-end/70931
        * dwarf2out.c (native_encode_initializer): Skip zero-sized fields.

        * gfortran.dg/pr70931.f90: New testcase.

        2016-04-14  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/70623
        * tree-ssa-pre.c (changed_blocks): Make global ...
        (compute_antic): ... local here.  Move and fix worklist
        handling here.  Do not clear EDGE_DFS_BACK.
        (compute_antic_aux): Add dumping for MAX assumed succs.  Remove
        worklist handling, dump when ANTIC_IN changed.
        (compute_partial_antic_aux): Remove worklist handling.
        (init_pre): Do not compute post dominators.  Add a comment about
        the CFG order chosen.
        (fini_pre): Do not free post dominators.

        * gcc.dg/torture/pr70623.c: New testcase.
        * gcc.dg/torture/pr70623-2.c: Likewise.

        2016-04-25  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/70780
        * tree-ssa-pre.c (compute_antic_aux): Also return true if the block
        wasn't visited yet.
        (compute_antic): Mark blocks with abnormal preds as visited as
        they have a final empty antic-in solution already.

        * gcc.dg/torture/pr70780.c: New testcase.

Added:
    branches/gcc-5-branch/gcc/testsuite/c-c++-common/ubsan/pr67921.c
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr70623-2.c
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr70623.c
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr70780.c
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr70941.c
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr70931.f90
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/dwarf2out.c
    branches/gcc-5-branch/gcc/fold-const.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/tree-ssa-pre.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]