This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |3.4.3
            Summary|wrong control reaches end   |[4.6/4.7/4.8 Regression]
                   |of non-void function for    |wrong control reaches end
                   |switch case with throw and  |of non-void function for
                   |default                     |switch case with throw and
                   |                            |default
      Known to fail|                            |4.1.2, 4.4.3, 4.5.2, 4.6.3,
                   |                            |4.7.1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-20 12:14:52 UTC ---
This is a regression, there's no warning from 3.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]