This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/51391] pragma GCC diag ignored then warning of Winline activates -fno-inline
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 03 Dec 2011 03:14:27 +0000
- Subject: [Bug preprocessor/51391] pragma GCC diag ignored then warning of Winline activates -fno-inline
- Auto-submitted: auto-generated
- References: <bug-51391-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51391
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-03 03:14:27 UTC ---
The warnings are correct. You declared some functions as inline but they are
not being inlined because optimization is not turned on (that is -fno-inline).