1. 22 Aug, 2009 9 commits
  2. 21 Aug, 2009 11 commits
    • Kai Backman's avatar
      mostly 64 bit support. · f50e7b15
      Kai Backman authored
      - fixed a number of places where we tried to allocate 64bit
        regs. added honeypot in regalloc to catch these in the future.
      - implemented quad copying in sgen
      - cgen64.c, add, mul
      - clearfat done
      - D_REGREG output from 5g (linker already knew about them)
      - gmove done
      - optoas almost done, last bit probably not needed
      - D_SHIFT support in list.c
      
      R=rsc
      APPROVED=rsc
      DELTA=963  (711 added, 112 deleted, 140 changed)
      OCL=33619
      CL=33688
      f50e7b15
    • Ian Lance Taylor's avatar
      Test composite literals with undeclared types. This crashed · 1f1551f1
      Ian Lance Taylor authored
      gccgo in a few different places, and crashes 6g as of this
      writing.  Note that the index in a composite literal must be
      looked up in a different namespace if the composite literal
      type turns out to be a struct.
      
      R=rsc
      DELTA=36  (36 added, 0 deleted, 0 changed)
      OCL=33681
      CL=33685
      1f1551f1
    • Austin Clements's avatar
      Make stop causes pointers so users outside the package can · 1068bcab
      Austin Clements authored
      type switch on them despite their private fields.  Add some
      tracing stuff.
      
      R=rsc
      APPROVED=rsc
      DELTA=18  (7 added, 0 deleted, 11 changed)
      OCL=33678
      CL=33683
      1068bcab
    • Ian Lance Taylor's avatar
      Enable these tests. Fix divconst.go and modconst.go to · 8bbe748b
      Ian Lance Taylor authored
      compile with the current compiler.  Adjust expected error
      message in method1.go to match 6g output.
      
      R=rsc
      DELTA=9  (2 added, 5 deleted, 2 changed)
      OCL=33674
      CL=33682
      8bbe748b
    • Rob Pike's avatar
      rewrite type rules for expressions and add shift examples · 83cbca56
      Rob Pike authored
      DELTA=48  (22 added, 0 deleted, 26 changed)
      OCL=33657
      CL=33668
      83cbca56
    • Robert Griesemer's avatar
      unexpected shift conversion behavior · cfa52e5e
      Robert Griesemer authored
      R=r
      DELTA=20  (20 added, 0 deleted, 0 changed)
      OCL=33646
      CL=33667
      cfa52e5e
    • Russ Cox's avatar
      linker work · 0e25c1dc
      Russ Cox authored
       * remove now-unused D_SBIG (was for typestrings)
       * rename elf64.[ch] to elf.[ch]
       * pull in elf headers from FreeBSD instead of writing our own
       * emit non-header ELF data in data section
       * stub out a few more ELF sections needed for dynamic loading
      
      R=r
      DELTA=1928  (1237 added, 635 deleted, 56 changed)
      OCL=33642
      CL=33658
      0e25c1dc
    • Robert Griesemer's avatar
      - unifying rules for var decls, short var decls, and assignments · ef45e64a
      Robert Griesemer authored
      DELTA=39  (4 added, 15 deleted, 20 changed)
      OCL=33639
      CL=33649
      ef45e64a
    • Kai Backman's avatar
      fix 386/arm builds · 005509e3
      Kai Backman authored
      R=rsc
      APPROVED=rsc
      DELTA=2  (2 added, 0 deleted, 0 changed)
      OCL=33640
      CL=33645
      005509e3
    • Russ Cox's avatar
      fix build · e107afdd
      Russ Cox authored
      TBR=r
      OCL=33623
      CL=33623
      e107afdd
    • Russ Cox's avatar
      symbol bugs. · 7b29dbb8
      Russ Cox authored
      do not emit unreachable data symbols.
      
      R=austin
      DELTA=103  (71 added, 4 deleted, 28 changed)
      OCL=33325
      CL=33622
      7b29dbb8
  3. 20 Aug, 2009 14 commits
    • Russ Cox's avatar
      FFI step 2: can ask for libc.so.6. · bd4161fc
      Russ Cox authored
      introduced explicit "data" symbol instead of etext
      to mark beginning of data, so that using larger
      alignment (i.e. 4MB like GNU loader) doesn't
      confuse garbage collector.
      
      split dodata into dodata and dobss in preparation
      for putting the dynamic data + headers in the data
      segment instead of stuffed at the beginning of the binary.
      
      R=r
      DELTA=52  (37 added, 3 deleted, 12 changed)
      OCL=33610
      CL=33618
      bd4161fc
    • Russ Cox's avatar
      add #include for time and ctime · 5bd266d1
      Russ Cox authored
      R=r
      DELTA=1  (1 added, 0 deleted, 0 changed)
      OCL=33615
      CL=33617
      5bd266d1
    • Nigel Tao's avatar
      Fix inflate.go's decompressing of a fixed Huffman block that has · b58ecb11
      Nigel Tao authored
      length-distance pairs.
      
      The new test data was generated by "gzip shesells.txt", which is
      presumably what you (rsc) did before, for the other test cases in
      gunzip_test.go.
      
      R=rsc
      APPROVED=rsc
      DELTA=21  (17 added, 2 deleted, 2 changed)
      OCL=33582
      CL=33616
      b58ecb11
    • Rob Pike's avatar
      names · f0ccd407
      Rob Pike authored
      R=rsc
      DELTA=96  (25 added, 5 deleted, 66 changed)
      OCL=33607
      CL=33612
      f0ccd407
    • Russ Cox's avatar
      len and cap on chans · 8a45917f
      Russ Cox authored
      R=ken
      OCL=33599
      CL=33599
      8a45917f
    • Russ Cox's avatar
      introduce meaningful section names, so that · 7c4f7cc7
      Russ Cox authored
      	go_spec.html#Return_statements
      
      can be used to link to spec sections.  passes hlint.
      renamed final section to simply "Implementation differences"
      to shorten the name, but otherwise no non-formatting changes
      
      R=gri
      DELTA=230  (10 added, 0 deleted, 220 changed)
      OCL=33598
      CL=33598
      7c4f7cc7
    • Russ Cox's avatar
      clean up multifile package section. · fe537954
      Russ Cox authored
      remove ASCII digit comment that isn't true.
      
      R=gri
      DELTA=41  (1 added, 25 deleted, 15 changed)
      OCL=33594
      CL=33596
      fe537954
    • Russ Cox's avatar
      simplifications. · 16b95ba6
      Russ Cox authored
      mark multifile section with TODO only
      because that is a bigger change.
      
      R=gri
      DELTA=45  (9 added, 22 deleted, 14 changed)
      OCL=33565
      CL=33593
      16b95ba6
    • Russ Cox's avatar
      naming cleanup. · 52cf67a6
      Russ Cox authored
      gzip.GzipInflater -> gzip.Inflater
      gzip.NewGzipInflater -> gzip.NewInflater
      zlib.NewZlibInflater -> zlib.NewInflater
      
      io.ByteReader deleted in favor of bytes.Buffer
      io.NewByteReader -> bytes.NewBuffer
      
      R=r
      DELTA=52  (3 added, 0 deleted, 49 changed)
      OCL=33589
      CL=33592
      52cf67a6
    • Russ Cox's avatar
      exclude _test from godoc as well as _obj. · 364301ef
      Russ Cox authored
      R=gri
      DELTA=1  (0 added, 0 deleted, 1 changed)
      OCL=33586
      CL=33590
      364301ef
    • Kai Backman's avatar
      more work on adding in pieces. fixed my bad assumptions about · 88118965
      Kai Backman authored
      signed and unsigned integer conversions.
      
      R=rsc
      APPROVED=rsc
      DELTA=398  (40 added, 230 deleted, 128 changed)
      OCL=33546
      CL=33569
      88118965
    • Kai Backman's avatar
      change from using /tmp to local directory · 40b07863
      Kai Backman authored
      R=rsc
      APPROVED=rsc
      DELTA=3  (0 added, 0 deleted, 3 changed)
      OCL=33534
      CL=33567
      40b07863
    • Rob Pike's avatar
      add bug to capture double declaration of name in file and package block · 770485e5
      Rob Pike authored
      R=rsc
      DELTA=12  (12 added, 0 deleted, 0 changed)
      OCL=33554
      CL=33563
      770485e5
    • Russ Cox's avatar
      produce diagnostic for · 5600435f
      Russ Cox authored
      import "fmt"
      var fmt = 1
      
      R=ken
      OCL=33556
      CL=33561
      5600435f
  4. 19 Aug, 2009 6 commits
    • Robert Griesemer's avatar
      new scope rules · 0a162a14
      Robert Griesemer authored
      DELTA=137  (50 added, 24 deleted, 63 changed)
      OCL=33476
      CL=33553
      0a162a14
    • Rob Pike's avatar
      section about comments · 11e4db7c
      Rob Pike authored
      R=rsc
      DELTA=125  (13 added, 62 deleted, 50 changed)
      OCL=33545
      CL=33550
      11e4db7c
    • Russ Cox's avatar
      try to do better line number reporting · 38df5ec5
      Russ Cox authored
      in the presence of yacc lookahead.
      better but still not perfect
      
      R=ken
      OCL=33541
      CL=33541
      38df5ec5
    • Ian Lance Taylor's avatar
      With the changes to support automatic forward declarations of · 8aa9161e
      Ian Lance Taylor authored
      type names, gccgo no longer reports redefinition errors for
      :=, because it no longer knows at parse time whether the type
      has changed.  Adjust this test to not match "redefinition",
      and to instead match gccgo's current output.
      
      declbad.go:19:3: error: variables redeclared but no variable is new
      declbad.go:34:3: error: variables redeclared but no variable is new
      declbad.go:39:3: error: variables redeclared but no variable is new
      declbad.go:44:3: error: variables redeclared but no variable is new
      declbad.go:49:3: error: variables redeclared but no variable is new
      declbad.go:24:3: error: incompatible types in assignment
      declbad.go:29:3: error: incompatible types in assignment
      declbad.go:39:3: error: incompatible types in assignment
      
      R=rsc
      DELTA=10  (0 added, 0 deleted, 10 changed)
      OCL=33537
      CL=33539
      8aa9161e
    • Kai Backman's avatar
      genembedtramp for arm · 8e96b45f
      Kai Backman authored
      R=rsc
      APPROVED=rsc
      DELTA=104  (0 added, 33 deleted, 71 changed)
      OCL=33531
      CL=33535
      8e96b45f
    • Rob Pike's avatar
      start of a rewrite with a different tone · 22140a17
      Rob Pike authored
      R=rsc
      DELTA=131  (61 added, 6 deleted, 64 changed)
      OCL=33488
      CL=33532
      22140a17