https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79673
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed Feb 22 15:00:39 2017 New Revision: 245649 URL: https://gcc.gnu.org/viewcvs?rev=245649&root=gcc&view=rev Log: 2017-02-22 Richard Biener <rguent...@suse.de> PR tree-optimization/79673 * tree-ssa-pre.c (compute_avail): Use wide_int_to_tree to convert the [TARGET_]MEM_REF offset INTEGER_CST, scrapping off irrelevant address-space qualifiers and avoiding a ADDR_SPACE_CONVERT_EXPR from fold_convert. * gcc.target/i386/pr79673.c: New testcase. Added: trunk/gcc/testsuite/gcc.target/i386/pr79673.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-pre.c