https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68142
--- Comment #3 from Richard Biener ---
Author: rguenth
Date: Mon May 23 12:51:29 2016
New Revision: 236588
URL: https://gcc.gnu.org/viewcvs?rev=236588=gcc=rev
Log:
2016-05-23 Richard Biener
Backport from mainline
2016-02-11 Alexandre Oliva
PR target/69634
* regstat.c (regstat_bb_compute_calls_crossed): Disregard
debug insns.
* gcc.dg/pr69634.c: New.
2016-03-23 Patrick Palka
PR c++/70347
* typeck.c (process_init_constructor_union): If the initializer
is empty, use the union's NSDMI if it has one.
* g++.dg/cpp1y/nsdmi-union1.C: New test.
2015-10-30 Richard Biener
PR middle-end/68142
* fold-const.c (extract_muldiv_1): Avoid introducing undefined
overflow.
* c-c++-common/ubsan/pr68142.c: New testcase.
2016-03-24 Richard Henderson
PR middle-end/69845
* fold-const.c (extract_muldiv_1): Correct test for multiplication
overflow.
* gcc.dg/tree-ssa/pr69845-1.c: New test.
* gcc.dg/tree-ssa/pr69845-2.c: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/c-c++-common/ubsan/pr68142.c
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/nsdmi-union1.C
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr69634.c
branches/gcc-5-branch/gcc/testsuite/gcc.dg/tree-ssa/pr69845-1.c
branches/gcc-5-branch/gcc/testsuite/gcc.dg/tree-ssa/pr69845-2.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/typeck2.c
branches/gcc-5-branch/gcc/fold-const.c
branches/gcc-5-branch/gcc/regstat.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog