[Bug c++/54046] [4.6/4.7/4.8 Regression] wrong control reaches end of non-void function for switch case with throw and default

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 20 15:15:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54046

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-07-20 15:14:41 UTC ---
There is a machinery in gimple-low.c for this (and a pending patch at
  http://gcc.gnu.org/ml/gcc-patches/2012-07/msg00817.html
for another issue).  Maybe it can be enhanced to handle this as well.



More information about the Gcc-bugs mailing list