From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2221 invoked by alias); 5 Feb 2015 14:52:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 2160 invoked by uid 48); 5 Feb 2015 14:52:00 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/55541] [4.8/4.9/5 Regression] unable to see local variables due extra lexical block was generated Date: Thu, 05 Feb 2015 14:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 4.6.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg00466.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55541 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #10 from Jakub Jelinek --- This regressed with r144474 aka PR39267. Honza listed in his http://gcc.gnu.org/ml/gcc-patches/2009-02/msg01231.html mail that C/ObjC already defined no_body_blocks and that java, fortran and ada were wrong in not setting that flag. But that misses the important case of the C++/ObjC++ FEs, which still even today emit the body blocks. So, either we need to revert the removal of the no_body_blocks support (or revert it into body_blocks), or adjust the C++ FE to perhaps create the body_blocks if the FE needs them, but drop them during genericization.