This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/34563] noinline function call being removed
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Dec 2007 04:18:53 -0000
- Subject: [Bug tree-optimization/34563] noinline function call being removed
- References: <bug-34563-507@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-12-23 04:18 -------
So we have:
if (ii (_double_.fp))
ss = 0;
cvt (_double_.fp, &ss);
ss is always set via cvt (and cvt is inlined), so we dce the first setting of
ss and that in turns dce the function call to ii as it is pure.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|noinline function being |noinline function call being
|inlined |removed
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34563