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 middle-end/42674] [4.4/4.5 Regression] Bogus "no return statement in function returning non-void" warning



------- Comment #1 from rguenth at gcc dot gnu dot org  2010-01-10 22:08 -------
We should probably warn instead "function returning non-void declared with
attribute noreturn".


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.4.2 4.5.0
      Known to work|                            |4.3.4
            Summary|[4.5 Regression] Bogus "no  |[4.4/4.5 Regression] Bogus
                   |return statement in function|"no return statement in
                   |returning non-void" warning |function returning non-void"
                   |                            |warning
   Target Milestone|---                         |4.4.3


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


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