[Bug debug/55541] [4.8/4.9/5 Regression] unable to see local variables due extra lexical block was generated
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 5 14:52:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55541
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
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.
More information about the Gcc-bugs
mailing list