Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-8445

Failure on linux interactive C++ with auto

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.10/00, 6.08/02
    • Component/s: Cling
    • Labels:
      None
    • Environment:

      SLF6, GCC6.2 (new ABI), master (4faac4b)

      Description

      Investigations with Paul and Philippe using his debug build of ROOT that he was using to diagnose ROOT-8443 indicate that the following line in the attached .C file: (70)

          auto eventIDInt = ev.getValidHandle<arttest::IntProduct>(inputTagEventID);

      fails with the following assertion:

      Starting program: /home/pcanal/mrb-art-2/root_build/bin/root.exe -b -q -l gallery_t.C
      [Thread debugging using libthread_db enabled]                                        
      Using host libthread_db library "/lib64/libthread_db.so.1".                          
      root [0]                                                                             
      Processing gallery_t.C...                                                            
      root.exe: /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Sema/Sema.cpp:908: void clang::Sema::ActOnEndOfTranslationUnit(): Assertion `ParsingInitForAutoVars.empty() && "Didn't unmark var as having its initializer parsed"' failed.                                                                                                                                                                         
       
      Program received signal SIGABRT, Aborted.
      0x000000394a032625 in raise () from /lib64/libc.so.6
      (gdb) bt                                            
      #0  0x000000394a032625 in raise () from /lib64/libc.so.6
      #1  0x000000394a033e05 in abort () from /lib64/libc.so.6
      #2  0x000000394a02b74e in __assert_fail_base () from /lib64/libc.so.6
      #3  0x000000394a02b810 in __assert_fail () from /lib64/libc.so.6     
      #4  0x00007ffff23dd5f2 in clang::Sema::ActOnEndOfTranslationUnit (this=0x6e40e0) at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Sema/Sema.cpp:907
      #5  0x00007ffff21ad3f6 in clang::Parser::ParseTopLevelDecl (this=0x7e0030, Result=...) at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/Parser.cpp:570
      #6  0x00007ffff1a13e34 in cling::IncrementalParser::ParseInternal (this=0x68f7e0, input=...) at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/Interpreter/IncrementalParser.cpp:745
      #7  0x00007ffff1a136bd in cling::IncrementalParser::Compile (this=0x68f7e0, input=..., Opts=...) at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/Interpreter/IncrementalParser.cpp:625
      #8  0x00007ffff191f7b7 in cling::Interpreter::DeclareInternal (this=0x68c6d0, input=..., CO=..., T=0x0) at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/Interpreter/Interpreter.cpp:904
      #9  0x00007ffff191e0ec in cling::Interpreter::parseForModule (this=0x68c6d0, input=...) at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/Interpreter/Interpreter.cpp:507                
      #10 0x00007ffff176c2f3 in ExecAutoParse (                                                                                                                                                       
          what=0x7fffe88e9ba0 "\n#line 1 \"libart_test_TestObjects_dict dictionary payload\"\n\n#ifndef G__VECTOR_HAS_CLASS_ITERATOR\n  #define G__VECTOR_HAS_CLASS_ITERATOR 1\n#endif\n\n#define _BACKWARD_BACKWARD_WARNING_H\n#include \"art/tes"..., header=false, interpreter=0x68c6d0) at /home/pcanal/mrb-art-2/root_src/core/meta/src/TCling.cxx:5352                                                                              
      #11 0x00007ffff176cc01 in TCling::AutoParseImplRecurse (this=0x68bd50, cls=0x5ff7ac0 "gallery::ValidHandle<arttest::IntProduct>", topLevel=true) at /home/pcanal/mrb-art-2/root_src/core/meta/src/TCling.cxx:5447 
      #12 0x00007ffff176d1b9 in TCling::AutoParse (this=0x68bd50, cls=0x5ff7ac0 "gallery::ValidHandle<arttest::IntProduct>") at /home/pcanal/mrb-art-2/root_src/core/meta/src/TCling.cxx:5525                           
      #13 0x00007ffff17574a9 in TCling__AutoParseCallback (className=0x5ff7ac0 "gallery::ValidHandle<arttest::IntProduct>") at /home/pcanal/mrb-art-2/root_src/core/meta/src/TCling.cxx:608                             
      #14 0x00007ffff18547e6 in TClingCallbacks::LookupObject (this=0xac55c0, Tag=0x6085800) at /home/pcanal/mrb-art-2/root_src/core/meta/src/TClingCallbacks.cxx:345                                                   
      #15 0x00007ffff19226bf in cling::MultiplexInterpreterCallbacks::LookupObject (this=0xbbff00, T=0x6085800) at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/Interpreter/MultiplexInterpreterCallbacks.h:70 
      #16 0x00007ffff192f8f3 in cling::InterpreterExternalSemaSource::CompleteType (this=0xbed380, Tag=0x6085800) at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/Interpreter/InterpreterCallbacks.cpp:150     
      #17 0x00007ffff2aef333 in clang::MultiplexExternalSemaSource::CompleteType (this=0x6fa2d0, Tag=0x6085800)                                                                                                         
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp:127                                                                                              
      ---Type <return> to continue, or q <return> to quit---                                                                                                                                                            
      #18 0x00007ffff2a9e4e4 in clang::Sema::RequireCompleteTypeImpl (this=0x6e40e0, Loc=..., T=..., Diagnoser=0x7ffffffef450)                                                                                          
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Sema/SemaType.cpp:6967                                                                                                                
      #19 0x00007ffff2a9dbfb in clang::Sema::RequireCompleteType (this=0x6e40e0, Loc=..., T=..., Diagnoser=...) at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Sema/SemaType.cpp:6791          
      #20 0x00007ffff263fc8a in clang::Sema::CheckCallReturnType (this=0x6e40e0, ReturnType=..., Loc=..., CE=0x6085e18, FD=0x6085c30)                                                                                   
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Sema/SemaExpr.cpp:14292                                                                                                               
      #21 0x00007ffff289b30a in clang::Sema::BuildCallToMemberFunction (this=0x6e40e0, S=0x1065a40, MemExprE=0x6085d70, LParenLoc=..., Args=..., RParenLoc=...)                                                         
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Sema/SemaOverload.cpp:12343                                                                                                           
      #22 0x00007ffff261703e in clang::Sema::ActOnCallExpr (this=0x6e40e0, S=0x1065a40, Fn=0x6085668, LParenLoc=..., ArgExprs=..., RParenLoc=..., ExecConfig=0x0, IsExecConfig=false)                                   
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Sema/SemaExpr.cpp:5177                                                                                                                
      #23 0x00007ffff214ecdc in clang::Parser::ParsePostfixExpressionSuffix (this=0x7e0030, LHS=...) at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseExpr.cpp:1604                   
      #24 0x00007ffff214d9e5 in clang::Parser::ParseCastExpression (this=0x7e0030, isUnaryExpression=false, isAddressOfOperand=false, NotCastExpr=@0x7fffffff2c6f: false, isTypeCast=clang::Parser::NotTypeCast)        
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseExpr.cpp:1369                                                                                                              
      #25 0x00007ffff2149fba in clang::Parser::ParseCastExpression (this=0x7e0030, isUnaryExpression=false, isAddressOfOperand=false, isTypeCast=clang::Parser::NotTypeCast)                                            
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseExpr.cpp:481                                                                                                               
      #26 0x00007ffff2148c58 in clang::Parser::ParseAssignmentExpression (this=0x7e0030, isTypeCast=clang::Parser::NotTypeCast)                                                                                         
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseExpr.cpp:171                                                                                                               
      #27 0x00007ffff2123246 in clang::Parser::ParseInitializer (this=0x7e0030) at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/include/clang/Parse/Parser.h:1654                                   
      #28 0x00007ffff210e8d4 in clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes (this=0x7e0030, D=..., TemplateInfo=..., FRI=0x0)                                                                           
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseDecl.cpp:2056                                                                                                              
      #29 0x00007ffff210dabc in clang::Parser::ParseDeclGroup (this=0x7e0030, DS=..., Context=7, DeclEnd=0x7fffffff3f80, FRI=0x0)                                                                                       
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseDecl.cpp:1844                                                                                                              
      ---Type <return> to continue, or q <return> to quit---                                                                                                                                                            
      #30 0x00007ffff210cdf2 in clang::Parser::ParseSimpleDeclaration (this=0x7e0030, Context=7, DeclEnd=..., Attrs=..., RequireSemi=true, FRI=0x0)                                                                     
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseDecl.cpp:1576                                                                                                              
      #31 0x00007ffff210caff in clang::Parser::ParseDeclaration (this=0x7e0030, Context=7, DeclEnd=..., attrs=...) at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseDecl.cpp:1516     
      #32 0x00007ffff2190322 in clang::Parser::ParseStatementOrDeclarationAfterAttributes (this=0x7e0030, Stmts=..., Allowed=clang::Parser::ACK_Any, TrailingElseLoc=0x0, Attrs=...)                                    
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseStmt.cpp:216                                                                                                               
      #33 0x00007ffff218fd5a in clang::Parser::ParseStatementOrDeclaration (this=0x7e0030, Stmts=..., Allowed=clang::Parser::ACK_Any, TrailingElseLoc=0x0)                                                              
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseStmt.cpp:114                                                                                                               
      #34 0x00007ffff2192d89 in clang::Parser::ParseCompoundStatementBody (this=0x7e0030, isStmtExpr=false) at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseStmt.cpp:987             
      #35 0x00007ffff21927f6 in clang::Parser::ParseCompoundStatement (this=0x7e0030, isStmtExpr=false, ScopeFlags=8) at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseStmt.cpp:866   
      #36 0x00007ffff2192776 in clang::Parser::ParseCompoundStatement (this=0x7e0030, isStmtExpr=false) at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseStmt.cpp:832                 
      #37 0x00007ffff2190413 in clang::Parser::ParseStatementOrDeclarationAfterAttributes (this=0x7e0030, Stmts=..., Allowed=clang::Parser::ACK_StatementsOpenMPNonStandalone, TrailingElseLoc=0x0, Attrs=...)          
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseStmt.cpp:234                                                                                                               
      #38 0x00007ffff218fd5a in clang::Parser::ParseStatementOrDeclaration (this=0x7e0030, Stmts=..., Allowed=clang::Parser::ACK_StatementsOpenMPNonStandalone, TrailingElseLoc=0x0)                                    
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseStmt.cpp:114                                                                                                               
      #39 0x00007ffff218fc64 in clang::Parser::ParseStatement (this=0x7e0030, TrailingElseLoc=0x0, AllowOpenMPStandalone=false)                                                                                         
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseStmt.cpp:46                                                                                                                
      #40 0x00007ffff21959e1 in clang::Parser::ParseForStatement (this=0x7e0030, TrailingElseLoc=0x0) at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseStmt.cpp:1785                  
      #41 0x00007ffff21904f8 in clang::Parser::ParseStatementOrDeclarationAfterAttributes (this=0x7e0030, Stmts=..., Allowed=clang::Parser::ACK_Any, TrailingElseLoc=0x0, Attrs=...)                                    
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseStmt.cpp:252                                                                                                               
      #42 0x00007ffff218fd5a in clang::Parser::ParseStatementOrDeclaration (this=0x7e0030, Stmts=..., Allowed=clang::Parser::ACK_Any, TrailingElseLoc=0x0)                                                              
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseStmt.cpp:114                                                                                                               
      ---Type <return> to continue, or q <return> to quit---                                                                                                                                                            
      #43 0x00007ffff2192d89 in clang::Parser::ParseCompoundStatementBody (this=0x7e0030, isStmtExpr=false) at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseStmt.cpp:987             
      #44 0x00007ffff219642c in clang::Parser::ParseFunctionStatementBody (this=0x7e0030, Decl=0x1d78228, BodyScope=...)                                                                                                
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseStmt.cpp:1951                                                                                                              
      #45 0x00007ffff21af7ec in clang::Parser::ParseFunctionDefinition (this=0x7e0030, D=..., TemplateInfo=..., LateParsedAttrs=0x7fffffff5700)                                                                         
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/Parser.cpp:1160                                                                                                                 
      #46 0x00007ffff210d747 in clang::Parser::ParseDeclGroup (this=0x7e0030, DS=..., Context=0, DeclEnd=0x0, FRI=0x0) at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/ParseDecl.cpp:1791 
      #47 0x00007ffff21ae8f4 in clang::Parser::ParseDeclOrFunctionDefInternal (this=0x7e0030, attrs=..., DS=..., AS=clang::AS_none)                                                                                     
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/Parser.cpp:927                                                                                                                  
      #48 0x00007ffff21ae9ac in clang::Parser::ParseDeclarationOrFunctionDefinition (this=0x7e0030, attrs=..., DS=0x0, AS=clang::AS_none)                                                                               
          at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/Parser.cpp:943                                                                                                                  
      #49 0x00007ffff21ae08f in clang::Parser::ParseExternalDeclaration (this=0x7e0030, attrs=..., DS=0x0) at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/Parser.cpp:795                 
      #50 0x00007ffff21ad461 in clang::Parser::ParseTopLevelDecl (this=0x7e0030, Result=...) at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Parse/Parser.cpp:582                               
      #51 0x00007ffff1a13e34 in cling::IncrementalParser::ParseInternal (this=0x68f7e0, input=...) at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/Interpreter/IncrementalParser.cpp:745                       
      #52 0x00007ffff1a136bd in cling::IncrementalParser::Compile (this=0x68f7e0, input=..., Opts=...) at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/Interpreter/IncrementalParser.cpp:625                   
      #53 0x00007ffff191f7b7 in cling::Interpreter::DeclareInternal (this=0x68c6d0, input=..., CO=..., T=0x7fffffff6f08) at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/Interpreter/Interpreter.cpp:904       
      #54 0x00007ffff1920018 in cling::Interpreter::loadFile (this=0x68c6d0, filename=..., allowSharedLib=true, T=0x7fffffff6f08)                                                                                       
          at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/Interpreter/Interpreter.cpp:1030                                                                                                                     
      #55 0x00007ffff1abb894 in cling::MetaSema::actOnLCommand (this=0xbc8f30, file=..., transaction=0x7fffffff6f08) at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/MetaProcessor/MetaSema.cpp:60             
      #56 0x00007ffff1abbabb in cling::MetaSema::actOnxCommand (this=0xbc8f30, file=..., args=..., result=0x7fffffff7650) at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/MetaProcessor/MetaSema.cpp:94        
      #57 0x00007ffff1acc09d in cling::MetaParser::isXCommand (this=0x849a20, actionResult=@0x7fffffff71ec: cling::MetaSema::AR_Success, resultValue=0x7fffffff7650)                                                    
          at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/MetaProcessor/MetaParser.cpp:272                                                                                                                     
      ---Type <return> to continue, or q <return> to quit---                                                                                                                                                            
      #58 0x00007ffff1acb354 in cling::MetaParser::isCommand (this=0x849a20, actionResult=@0x7fffffff71ec: cling::MetaSema::AR_Success, resultValue=0x7fffffff7650)                                                     
          at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/MetaProcessor/MetaParser.cpp:124                                                                                                                     
      #59 0x00007ffff1acb13b in cling::MetaParser::isMetaCommand (this=0x849a20, actionResult=@0x7fffffff71ec: cling::MetaSema::AR_Success, resultValue=0x7fffffff7650)                                                 
          at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/MetaProcessor/MetaParser.cpp:101                                                                                                                     
      #60 0x00007ffff1ab876a in cling::MetaProcessor::process (this=0xbc5b40, input_text=0x10d2030 ".X  /scratch/greenc/build/mrb-art-2/build_slf6.x86_64/critic/critic/test/gallery/gallery_t.C.d/./gallery_t.C",      
          compRes=@0x7fffffff764c: cling::Interpreter::kSuccess, result=0x7fffffff7650) at /home/pcanal/mrb-art-2/root_src/interpreter/cling/lib/MetaProcessor/MetaProcessor.cpp:152                                    
      #61 0x00007ffff175d8d1 in HandleInterpreterException (metaProcessor=0xbc5b40,                                                                                                                                     
          input_line=0x10d2030 ".X  /scratch/greenc/build/mrb-art-2/build_slf6.x86_64/critic/critic/test/gallery/gallery_t.C.d/./gallery_t.C", compRes=@0x7fffffff764c: cling::Interpreter::kSuccess,                   
          result=0x7fffffff7650) at /home/pcanal/mrb-art-2/root_src/core/meta/src/TCling.cxx:1874                                                                                                                       
      #62 0x00007ffff175e3dc in TCling::ProcessLine (this=0x68bd50, line=0x10d1ef0 ".X  /scratch/greenc/build/mrb-art-2/build_slf6.x86_64/critic/critic/test/gallery/gallery_t.C.d/./gallery_t.C",                      
          error=0x7fffffffa5ac) at /home/pcanal/mrb-art-2/root_src/core/meta/src/TCling.cxx:2023                                                                                                                        
      #63 0x00007ffff17619cf in TCling::ProcessLineSynch (this=0x68bd50, line=0x10d1ef0 ".X  /scratch/greenc/build/mrb-art-2/build_slf6.x86_64/critic/critic/test/gallery/gallery_t.C.d/./gallery_t.C",                 
          error=0x7fffffffa5ac) at /home/pcanal/mrb-art-2/root_src/core/meta/src/TCling.cxx:2864                                                                                                                        
      #64 0x00007ffff79220cc in TApplication::ExecuteFile (file=0x7fffffff8553 "gallery_t.C", error=0x7fffffffa5ac, keep=false) at /home/pcanal/mrb-art-2/root_src/core/base/src/TApplication.cxx:1137                  
      #65 0x00007ffff7921974 in TApplication::ProcessFile (this=0x676720, file=0x7fffffff8553 "gallery_t.C", error=0x7fffffffa5ac, keep=false) at /home/pcanal/mrb-art-2/root_src/core/base/src/TApplication.cxx:1013   
      #66 0x00007ffff7921809 in TApplication::ProcessLine (this=0x676720, line=0x7fffffff8550 ".x gallery_t.C", sync=false, err=0x7fffffffa5ac) at /home/pcanal/mrb-art-2/root_src/core/base/src/TApplication.cxx:986   
      #67 0x00007ffff7de55a5 in TRint::ProcessLineNr (this=0x676720, filestem=0x7ffff7df289a "ROOT_cli_", line=0x7fffffff8550 ".x gallery_t.C", error=0x7fffffffa5ac)
          at /home/pcanal/mrb-art-2/root_src/core/rint/src/TRint.cxx:764
      #68 0x00007ffff7de3d95 in TRint::Run (this=0x676720, retrn=false) at /home/pcanal/mrb-art-2/root_src/core/rint/src/TRint.cxx:424
      #69 0x000000000040133c in main (argc=1, argv=0x7fffffffa728) at /home/pcanal/mrb-art-2/root_src/main/src/rmain.cxx:30
      (gdb) fr 4
      #4  0x00007ffff23dd5f2 in clang::Sema::ActOnEndOfTranslationUnit (this=0x6e40e0) at /home/pcanal/mrb-art-2/root_src/interpreter/llvm/src/tools/clang/lib/Sema/Sema.cpp:907
      907       assert(ParsingInitForAutoVars.empty() &&
      (gdb) p ((clang::Decl *) ParsingInitForAutoVars.SmallStorage[0])->dump()
      VarDecl 0x6085548 </scratch/greenc/build/mrb-art-2/build_slf6.x86_64/critic/critic/test/gallery/gallery_t.C.d/gallery_t.C:70:5, col:10> col:10 eventIDInt 'auto'
      $4 = void
      (gdb) l
      902       }
      903
      904       // Check we've noticed that we're no longer parsing the initializer for every
      905       // variable. If we miss cases, then at best we have a performance issue and
      906       // at worst a rejects-valid bug.
      907       assert(ParsingInitForAutoVars.empty() &&
      908              "Didn't unmark var as having its initializer parsed");
      909
      910       if (!PP.isIncrementalProcessingEnabled())
      911         TUScope = nullptr;

      However, un-commenting line 69:

          ev.getValidHandle<arttest::IntProduct>(inputTagEventID);

      Allows the entire function to finish successfully and return to the ROOT prompt.

      Philippe says that the reason that this makes a difference is that it separates the autoparse from the handling of auto on the next line. This variable from the state of Sema is not being saved and restored properly either side of the autoparse.

        Attachments

          Activity

            People

            • Assignee:
              axel Axel Naumann
              Reporter:
              chgreen Christopher Green
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: