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++/21228] [4.0/4.1 Regression] -Wunreachable-code produces spurious warnings for constructor


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-26 01:47 -------
Let first say this is the C++ front-end producing the default constructor of testStringBase which is 
declared as:

testStringBase()throw() {}

and plus that at the wrong line (which is a different bug which I opened already).


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |diagnostic
      Known to fail|                            |4.0.0 4.1.0
      Known to work|                            |3.3.3
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-26 01:47:30
               date|                            |
            Summary|-Wunreachable-code produces |[4.0/4.1 Regression] -
                   |spurious warnings for       |Wunreachable-code produces
                   |constructor                 |spurious warnings for
                   |                            |constructor
   Target Milestone|---                         |4.0.1


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


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