From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22246 invoked by alias); 25 Aug 2006 18:57:37 -0000 Received: (qmail 22106 invoked by uid 48); 25 Aug 2006 18:57:16 -0000 Date: Fri, 25 Aug 2006 18:57:00 -0000 Message-ID: <20060825185716.22105.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug debug/27574] [4.1/4.2 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "drow at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-08/txt/msg02180.txt.bz2 List-Id: ------- Comment #15 from drow at gcc dot gnu dot org 2006-08-25 18:57 ------- I don't think I can sort this one out. I think the easiest solution will be to check when marking a function as reachable whether it has an abstract origin, and if so set a flag in the abstract origin preventing its body from being killed, but I can't keep track of all the other similar-but-not-quite-the-same flags in cgraph. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27574