[Bug ipa/24729] function calls created by builtins do not make use of inline definitions

2019-06-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24729

Eric Gallager  changed:

   What|Removed |Added

   See Also||https://gcc.gnu.org/bugzill
   ||a/show_bug.cgi?id=17402

--- Comment #10 from Eric Gallager  ---
(In reply to Kaveh Ghazi from comment #2)
> I'm not convinced it's the same issue.  With regard to 17402, comment #6 by
> Joseph there refers specifically to static inlines in that builtins
> shouldn't generate calls to "file-scope statics".  However in my case glibc
> is instantiating *extern inlines* and it seems legitimate that gcc could
> (should) generate calls which take advantage of them.  (Plus they're much
> much faster!)

While they may be different, it still seems related enough to go under "See
Also"

[Bug ipa/24729] function calls created by builtins do not make use of inline definitions

2019-03-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24729

Eric Gallager  changed:

   What|Removed |Added

 CC||marxin at gcc dot gnu.org
  Component|middle-end  |ipa

--- Comment #9 from Eric Gallager  ---
(In reply to Eric Gallager from comment #8)
> (In reply to Jan Hubicka from comment #7)
> > I should probably also note that IPA branch will get it right in the
> > testcase (and the other PR) via early inlining, but it sadly won't get it
> > right in any consistent manner...
> > Honza
> 
> The IPA branch was merged, right?

I just remembered there's an "ipa" component, so putting this under that