https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83623
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed Jun 20 11:09:28 2018 New Revision: 261799 URL: https://gcc.gnu.org/viewcvs?rev=261799&root=gcc&view=rev Log: 2018-06-20 Richard Biener <rguent...@suse.de> Backport from mainline 2018-01-01 Jakub Jelinek <ja...@redhat.com> PR middle-end/83623 * expmed.c (expand_shift_1): For 2-byte rotates by BITS_PER_UNIT, check for bswap in mode rather than HImode and use that in expand_unop too. * gcc.dg/pr83623.c: New test. 2017-09-26 Richard Biener <rguent...@suse.de> Backport from mainline 2017-09-20 Richard Biener <rguent...@suse.de> PR tree-optimization/82264 * tree-ssa-sccvn.c (vn_phi_eq): Use safe_dyn_cast to check for GIMPLE_CONDs. (vn_phi_lookup): Likewise. (vn_phi_insert): Likewise. * is-a.h (safe_dyn_cast): New. * gcc.dg/torture/pr82264.c: New testcase. 2017-09-25 Richard Biener <rguent...@suse.de> PR tree-optimization/82285 * tree-vect-patterns.c (vect_recog_bool_pattern): Also handle enumeral types. * gcc.dg/torture/pr82285.c: New testcase. 2017-11-24 Richard Biener <rguent...@suse.de> PR tree-optimization/82402 * tree-vect-loop-manip.c (create_lcssa_for_virtual_phi): Properly set SSA_NAME_OCCURS_IN_ABNORMAL_PHI. * gcc.dg/torture/pr82402.c: New testcase. 2017-10-24 Richard Biener <rguent...@suse.de> PR tree-optimization/82697 * tree-ssa-phiopt.c (cond_store_replacement): Use alias-set zero for conditional load and unconditional store. * gcc.dg/torture/pr82697.c: New testcase. 2017-11-02 Richard Biener <rguent...@suse.de> PR middle-end/82765 * varasm.c (decode_addr_const): Make offset HOST_WIDE_INT. Truncate ARRAY_REF index and element size. * gcc.dg/pr82765.c: New testcase. 2018-01-08 Richard Biener <rguent...@suse.de> PR middle-end/83713 * convert.c (do_narrow): Properly guard TYPE_OVERFLOW_WRAPS checks. * g++.dg/torture/pr83713.C: New testcase. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/torture/pr83713.C branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr82765.c branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr83623.c branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr82264.c branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr82285.c branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr82402.c branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr82697.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/convert.c branches/gcc-6-branch/gcc/expmed.c branches/gcc-6-branch/gcc/is-a.h branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/tree-ssa-alias.c branches/gcc-6-branch/gcc/tree-ssa-phiopt.c branches/gcc-6-branch/gcc/tree-ssa-sccvn.c branches/gcc-6-branch/gcc/tree-vect-loop-manip.c branches/gcc-6-branch/gcc/tree-vect-patterns.c branches/gcc-6-branch/gcc/varasm.c