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/12603] No return statement warning on function that never returns with -O3


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-06 05:48 -------
The problem is that -O3, DECL_INLINE for the function decl becomes true because -O3 
enables -finline-functions.  So it looks like a different check is needed for the C front-end.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|optimization                |c


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


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