https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71606
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Fri Jul 8 20:20:23 2016 New Revision: 238172 URL: https://gcc.gnu.org/viewcvs?rev=238172&root=gcc&view=rev Log: Do not consider COMPLEX_TYPE as fold_convertible_p Backported from mainline 2016-07-08 Martin Liska <mli...@suse.cz> PR middle-end/71606 * fold-const.c (fold_convertible_p): As COMPLEX_TYPE folding produces SAVE_EXPRs, thus return false for the type. Backported from mainline 2016-07-08 Martin Liska <mli...@suse.cz> * gcc.dg/torture/pr71606.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr71606.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/fold-const.c branches/gcc-6-branch/gcc/testsuite/ChangeLog