swp-uebersetzerbau-ss13 / common

Shared files between teams.
1 stars 0 forks source link

CalendarProg not terminating #45

Closed jvf closed 11 years ago

jvf commented 11 years ago

The CalendarProg does not terminate during compilation, it hangs in the intermediate code generation.

It hangs in the following combinations: [2: LexerJb->ParserJb->SemanticAnalyserJb->IntermediateCodeGeneratorImpl->BackendJb] [3: LexerJb->ParserJb->SemanticAnalyserJb->IntermediateCodeGeneratorImpl->LLVMBackend] [10: LexerJb->ParserImpl->SemanticAnalyserJb->IntermediateCodeGeneratorImpl->BackendJb] [11: LexerJb->ParserImpl->SemanticAnalyserJb->IntermediateCodeGeneratorImpl->LLVMBackend] [18: LexerImpl->ParserJb->SemanticAnalyserJb->IntermediateCodeGeneratorImpl->BackendJb] [19: LexerImpl->ParserJb->SemanticAnalyserJb->IntermediateCodeGeneratorImpl->LLVMBackend] [26: LexerImpl->ParserImpl->SemanticAnalyserJb->IntermediateCodeGeneratorImpl->BackendJb] [27: LexerImpl->ParserImpl->SemanticAnalyserJb->IntermediateCodeGeneratorImpl->LLVMBackend]

Because the tests do not terminate, I modified the test setup. The modified test setup can be found in the calendar branch. The results of the modified tests can be found here.

SWP-Comp-Deathk commented 11 years ago

Is fixed and pushed into Master https://github.com/swp-uebersetzerbau-ss13/fuc/commit/2d7be05fb63970fad7a04fae57c92c7460d86463

flofreud commented 11 years ago

I confirm that. For all combinations with BackendJb its working. For all combinations with LLVMBackend it fails with the swp_compiler_ss13.common.backend.BackendException: Use of undeclared variable -> see #37