[Bug target/70941] [5/6 Regression] Test miscompiled with -O2.
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 13 13:23:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70941
--- Comment #14 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
More information about the Gcc-bugs
mailing list