Skip to content
  • John McCall's avatar
    Implement an indirect-goto optimization for goto *&&lbl and respect this · 9de9160d
    John McCall authored
    in the scope checker.  With that done, turn an indirect goto into a
    protected scope into a hard error;  otherwise IR generation has to start
    worrying about declarations not dominating their scopes, as exemplified
    in PR8473.
    
    If this really affects anyone, I can probably adjust this to only hard-error
    on possible indirect gotos into VLA scopes rather than arbitrary scopes.
    But we'll see how people cope with the aggressive change on the marginal
    feature.
    
    llvm-svn: 117539
    9de9160d
Loading