http://llvm.org/bugs/show_bug.cgi?id=3989

Douglas Gregor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #17 from Douglas Gregor <[email protected]> 2011-11-28 09:43:18 CST 
---
Re-opening. C99 6.7.4p6 actually requires us to look at *all* of the
declarations, including those that come after the definition, to determine
whether the function is an inline definition. Semantic analysis seems to be
doing the right thing here (per
FunctionDecl::isInlineDefinitionExternallyVisible), but CodeGen  has trouble
with definitions that change their linkage after it saw the definition.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to