https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67730
--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Mon Oct 5 12:35:20 2015 New Revision: 228480 URL: https://gcc.gnu.org/viewcvs?rev=228480&root=gcc&view=rev Log: PR c/67730 * c-typeck.c (convert_for_assignment): Use the expansion point location throughout. * gcc.dg/pr67730-1.c: New test. * gcc.dg/pr67730-2.c: New test. * gcc.dg/pr67730.h: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr67730-1.c branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr67730-2.c branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr67730.h Modified: branches/gcc-5-branch/gcc/c/ChangeLog branches/gcc-5-branch/gcc/c/c-typeck.c branches/gcc-5-branch/gcc/testsuite/ChangeLog