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 #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri May 13 13:22:42 2016
New Revision: 236210

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

        Backport from mainline
        2016-04-27  Richard Biener  <rguenther@suse.de>

        PR ipa/70760
        * tree-ssa-structalias.c (find_func_aliases_for_call): Use
        aggregate_value_p to determine if a function result is
        returned by reference.

        * g++.dg/ipa/ipa-pta-2.C: New testcase.
        * gcc.dg/ipa/ipa-pta-1.c: Adjust.

        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-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.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/ipa/ipa-pta-2.C
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr70941.c
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/pr70931.f90
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/dwarf2out.c
    branches/gcc-6-branch/gcc/fold-const.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/gcc/tree-ssa-structalias.c

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