Internal Error in the compiler

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.0
    • Affects Version/s: 1.0
    • Component/s: tools
    • 1.0beta
    • sparc
    • generic
    • Not verified

      Compiling the following function gives an internal error in the compiler

           static void test (long word) {
               for (; word != 0; word >>>= 1) {
                   System.out.print("hello");
               }
           }

      It complains about a stack depth error.

      When looking at the code, it seems that the problem is that the compiler generates
      lconst_1 instead of iconst_1.

      I'm assigning this to AVH, but I'll take a quick look at it to see if I can figure out what's
      going on before he gets back.

            Assignee:
            Frank Yellin (Inactive)
            Reporter:
            Frank Yellin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: