Bug 72535

Summary: [Parser] Parser (and indexer) hangs on mutual inclusion
Product: [Tools] CDT Reporter: Keith W. Campbell <keithc>
Component: cdt-parserAssignee: John Camelon <john.camelon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: dave.daoust, gheorghe
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 72611    
Bug Blocks:    

Description Keith W. Campbell CLA 2004-08-24 15:11:23 EDT
Given the two header files below the parser gets stuck in
infinite translation units that include either one.
This is with CDT I200408201009.

A.h
  #include "B.h"
  class A {
    // ...
  };
B.h
  #include "A.h"
  class B {
    // ...
  };
Comment 1 John Camelon CLA 2004-08-24 15:12:52 EDT
I'm on it!
Comment 2 John Camelon CLA 2004-08-24 15:52:14 EDT
Fix has been committed to 2_0 branch.  
Comment 3 John Camelon CLA 2004-08-24 16:00:42 EDT
Fix applied to HEAD as well.  

Moving to FUTURE & lowering severity rather than resolving it ... our timeout 
mechanism needs to be able to handle things happening in the scanner as well 
as the parser.  
Comment 4 John Camelon CLA 2004-08-25 11:54:31 EDT
Marking this as fixed. 
Defect 72611 has been raised to track the larger architectural issue.
Comment 5 John Camelon CLA 2004-08-25 11:58:50 EDT
resolved