Patents
US 7,086,039 B2#10345086 Most CitedExpiredUnited States (USPTO)Utility

Compiler for optimizing source code with computed goto statements

10Forward Citations (#10345086 Global)
0.5/yrCitation Velocity (#15303084 Global)
2.21Citation PageRank (#12387591 Global)
5Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method of translating computer source code into optimized object code. The computer source code contains a first label statement defining a first label, a second label statement defining a second label, a third label statement defining a third label, and a computed goto statement for instructing a computer to branch to the first label or to the second label, but not to the third label. The method includes generating a list of labels contained within at least a portion of the computer source code. The list of labels includes the first label and the second label, but not the third label. The method also includes translating the computer source code into an intermediate language. The translation of the computer source code includes translating the computed goto statement into an indirect goto statement within the intermediate language. The method also includes generating object code that includes the first label and the second label but does not include the third label.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 10.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method, performed by a computer, of translating computer source code into optimized object code, the computer source code containing a first label statement defining a first label, a second label statement defining a second label, and a third label statement defining a third label, the first label, the second label and the third label not being case labels, the computer source code also containing a computed goto statement for instructing a computer to branch to the first label or to the second label, but not to the third label, the method comprising: a) generating a list of labels contained

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (4)

  • "A case study of a new code generation technique for compilers", J. Lawrence Carter, Dec. 1977, Communications of the ACM, vol. 20 Issue 12, pp. 914-920.
  • "Practical parsing patterns: ASTs for optimizing compilers", Sep. 2001, ACM SIGPLAN Notices, vol. 36 Issue 9, pp. 25-30.
  • "Static slicing in the presence of goto statements", Jong-Deok Choi, Jeanne Ferrante, Jul. 1994, ACM Transactions on Programming Languages and Systems (TOPLAS), vol. 16 Issue 4, pp. 1097-1113.
  • Sturat I. Feldman, "Implementation of a Portable Fortran 77 Compiler Using Modern Tools", Aug. 1979, Proceedings of the 1979 SIGPLAN symposium on Compiler construction SIGPLAN, pp. 98-106.