Description of problem: I thought that we had a case open on this already but I don't see it. Date problem reported: 1-15-08 problem: LLNL basically has a gcc issue that apparently has stalled out on the gcc bugzilla lists. Both bugs are related to local (static and non-static) variables in C++ constructor. At this point we aren't sure if the two are actually one in the same or separate issues. The issue (according to the output sent in by Ben) is still present even in the latest versions of the gcc compiler in RHEL5.1. This has also been cloned for RHEL4.6 in IT 158679 What's needed from SEG / Engineering: The customer has asked for our help in getting these issues resolved on the gcc lists so they can be ported to the RHEL releases in a future fix. Source file and readelf output from customer is attached. Thanks. Date: Tue, 15 Jan 2008 13:54:20 -0500 From: Seppo Sahrakorpi <seppo> Organization: Totalview Technologies User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: Ben Woodard <bwoodard> Cc: Matt Wolfe <mwolfe>, Nikolay Piskun <nikolay.piskun>, seppo Subject: Update/help needed: Local variables not visible in C++ constructor Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Ben, I would like to bring to your attention / update you on two bugs related to local (static and non-static) variables in C++ constructor. The short summary of the bugs is as follows: "In gcc 3.2.3 (and more recent versions) the DWARF information created by gcc does not create DW_AT_location attribute for (1) local static variables and (2) local (non-static) static variables inside a C++ constructor." We have reported these bugs to gcc-bugzilla, where they are not moving very quickly. We were thinking that perhaps you could help in getting these bugs fixed. The local static variable problem is gcc-bug #33044, and the local (non-static) variable problem is gcc-bug #27574. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33044 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27574 The bug number #27574 is being reviewed by a new person right now. The ("static") report #33044, seems to have stuck in the system, it would be great if you could help finding someone who could give this a look and move it forward. Thanks, Seppo -- Seppo Sahrakorpi Partner Technologies Engineer TotalView Technologies, 24 Prime Parkway, Natick, MA 01760 Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33044 2. 3. Actual results: can't display var Expected results: variable value should be displayed. Additional info: attached test files.
Just to clarify any confusion here. see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33044 See IT 146253 and https://bugzilla.redhat.com/show_bug.cgi?id=445912 This event sent from IssueTracker by alanm issue 158679
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.