This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/28120] The option -f[no-]inline-functions is invalid with -O2
- From: "tanaka at personal-media dot co dot jp" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jun 2006 12:46:17 -0000
- Subject: [Bug c/28120] The option -f[no-]inline-functions is invalid with -O2
- References: <bug-28120-1611@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from tanaka at personal-media dot co dot jp 2006-06-21 12:46 -------
Thanks for your reply.
Originally, my wanting to say is that
When compile a C source code only with an option -O2,
small function is not inlined.
But it is inlined by gcc-4.1.1.
Small function is not inlined by gcc-3.2.2.
Best regards.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28120