This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/15366] [unit-at-a-time] -fno-inline-functions is ignored for static functions
- From: "nomura at netapp dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jul 2005 21:32:18 -0000
- Subject: [Bug rtl-optimization/15366] [unit-at-a-time] -fno-inline-functions is ignored for static functions
- References: <20040510152002.15366.nigel@mips.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From nomura at netapp dot com 2005-07-26 21:32 -------
The implications of a change like this go beyond the implementation detail that
it "can't lose code size". In our product it resulted in 10,000 static
functions disappearing due to a compiler rev -- debugging became very difficult.
Then it was hard to hunt down exactly what to turn off since
-fno-inline-functions had no effect. I was thinking I had to open up the code
when thankfully I came across this bug.
Please add a way to disable this form of inlining in some way. I'm not
criticizing the optimization, but rather the difficulty in maintaining
compatibility.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15366