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 tree-optimization/34563] noinline function call being removed



------- 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


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