http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54828
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-05 15:09:34 UTC --- Author: jakub Date: Mon Nov 5 15:09:28 2012 New Revision: 193166 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193166 Log: Backported from mainline 2012-10-24 Jakub Jelinek <ja...@redhat.com> PR debug/54828 * gimple.h (is_gimple_sizepos): New inline function. * gimplify.c (gimplify_one_sizepos): Use it. Remove useless final assignment to expr variable. * tree.c (RETURN_TRUE_IF_VAR): Return true also if !TYPE_SIZES_GIMPLIFIED (type) and _t is going to be gimplified into a local temporary. * g++.dg/debug/pr54828.C: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/debug/pr54828.C Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/gimple.h branches/gcc-4_7-branch/gcc/gimplify.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog branches/gcc-4_7-branch/gcc/tree.c