[Bug tree-optimization/14096] [3.5 Regression] [unit-at-a-time] verify_cgraph_node failed with always_inline

aoliva at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jul 20 09:34:00 GMT 2004


------- Additional Comments From aoliva at gcc dot gnu dot org  2004-07-20 09:34 -------
Richard, what's invalid about taking the address of the extern inline function?
 Wouldn't it be perfectly legitimate to have a non-`extern inline' definition in
a separate translation unit, or even in the same translation unit, that would
then be used?

I'm actually not sure we should be merging inline-related attributes from extern
inline definitions into  out-of-line definitions.  It seems to me that it would
be more useful if we didn't.

Not that it matters much.  AFAICT, `extern inline' is a unofficially deprecated
extension, and there's no way to obtain similar effect to what GCC currently
supports, namely, defining the out-of-line version of a function in a
translation unit that contains the extern inline definition as well.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14096



More information about the Gcc-bugs mailing list