1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:04:45 -07:00
go/test/fixedbugs
Dmitry Vyukov c4ee44b7b9 cmd/gc: transform closure calls to function calls
Currently we always create context objects for closures that capture variables.
However, it is completely unnecessary for direct calls of closures
(whether it is func()(), defer func()() or go func()()).
This change transforms any OCALLFUNC(OCLOSURE) to normal function call.
Closed variables become function arguments.
This transformation is especially beneficial for go func(),
because we do not need to allocate context object on heap.
But it makes direct closure calls a bit faster as well (see BenchmarkClosureCall).

On implementation level it required to introduce yet another compiler pass.
However, the pass iterates only over xtop, so it should not be an issue.
Transformation consists of two parts: closure transformation and call site
transformation. We can't run these parts on different sides of escape analysis,
because tree state is inconsistent. We can do both parts during typecheck,
we don't know how to capture variables and don't have call site.
We can't do both parts during walk of OCALLFUNC, because we can walk
OCLOSURE body earlier.
So now capturevars pass only decides how to capture variables
(this info is required for escape analysis). New transformclosure
pass, that runs just before order/walk, does all transformations
of a closure. And later walk of OCALLFUNC(OCLOSURE) transforms call site.

benchmark                            old ns/op     new ns/op     delta
BenchmarkClosureCall                 4.89          3.09          -36.81%
BenchmarkCreateGoroutinesCapture     1634          1294          -20.81%

benchmark                            old allocs     new allocs     delta
BenchmarkCreateGoroutinesCapture     6              2              -66.67%

benchmark                            old bytes     new bytes     delta
BenchmarkCreateGoroutinesCapture     176           48            -72.73%

Change-Id: Ic85e1706e18c3235cc45b3c0c031a9c1cdb7a40e
Reviewed-on: https://go-review.googlesource.com/4050
Reviewed-by: Russ Cox <rsc@golang.org>
2015-02-13 12:12:18 +00:00
..
bug083.dir
bug088.dir
bug106.dir
bug133.dir
bug160.dir
bug191.dir test: don't rely on order of unrelated imports in bug191 2013-12-10 12:05:37 -08:00
bug222.dir
bug248.dir
bug282.dir
bug302.dir test/fixedbugs/bug302: fix test on windows. 2014-12-09 05:23:35 +00:00
bug306.dir
bug313.dir
bug322.dir
bug324.dir
bug335.dir
bug345.dir
bug367.dir
bug369.dir test: migrate remaining tests to run.go 2014-12-22 22:41:34 +00:00
bug377.dir
bug382.dir
bug392.dir
bug396.dir
bug404.dir
bug407.dir
bug414.dir
bug415.dir
bug424.dir
bug437.dir
bug448.dir
bug460.dir cmd/gc: tag builtin error, byte, rune to avoid exporting them. 2013-08-27 21:18:32 +02:00
bug465.dir cmd/gc: fix pointer composite literals in exported if statements. 2013-06-23 18:39:07 +02:00
bug466.dir
bug467.dir
bug468.dir
bug472.dir
bug478.dir test: add a test that gccgo failed to compile 2013-09-18 16:30:38 -07:00
bug479.dir test: add a test that causes gccgo to get a failure at link time 2013-09-19 15:20:39 -07:00
bug480.dir test: add some test cases that were miscompiled by gccgo 2013-12-10 10:47:30 -08:00
bug488.dir test: add test for confusion with dot imports 2014-07-20 10:28:51 -07:00
bug492.dir test: add test case that gccgo failed to link 2014-12-22 23:07:10 +00:00
issue3552.dir
issue4252.dir
issue4326.dir
issue4370.dir
issue4510.dir test: match gccgo error messages 2013-12-12 17:18:37 -08:00
issue4590.dir
issue4879.dir
issue4932.dir
issue4964.dir
issue5105.dir
issue5125.dir
issue5259.dir
issue5260.dir
issue5291.dir cmd/gc: initialize t->width in dgcsym() if required 2013-04-25 18:47:12 +02:00
issue5470.dir cmd/gc: repair make(T) in export data for inlining. 2013-05-16 09:01:43 +02:00
issue5614.dir cmd/gc: fix missing slice/array types in export data. 2013-06-04 08:18:36 +02:00
issue5755.dir cmd/gc: fix missing export data for inlining in a few other cases. 2013-06-28 23:29:13 +02:00
issue5910.dir cmd/gc: tag builtin error, byte, rune to avoid exporting them. 2013-08-27 21:18:32 +02:00
issue5957.dir test: match gccgo import error messages 2013-12-12 19:02:11 -08:00
issue6295.dir cmd/gc: preserve qualified names of unexported methods in imports. 2014-01-21 22:55:50 -05:00
issue6513.dir cmd/gc: qualified embedded fields with owner package. 2013-10-02 12:27:33 -04:00
issue6789.dir test: add some test cases that were miscompiled by gccgo 2013-12-10 10:47:30 -08:00
issue7023.dir cmd/gc: mark OGOTO as a statement for formatters. 2014-01-10 01:33:24 +01:00
issue7648.dir cmd/gc: fix spurious "bad negated constant" for complex constants. 2014-04-01 02:55:38 -04:00
issue7995b.dir cmd/gc: correct handling of globals, func args, results 2014-05-15 15:34:53 -04:00
issue8060.dir cmd/gc: generate type alg after calling dowidth. 2014-09-15 18:24:16 +02:00
issue8280.dir cmd/gc: fix import of package with var func returning _ 2014-09-24 16:53:34 -04:00
issue9355.dir cmd/gc: resolve static addresses of the form &x.f at link time 2014-12-18 21:53:03 +00:00
issue9537.dir cmd/gc: treat non-local vars inlined into wrapper as escaping 2015-01-22 03:25:12 +00:00
issue9608.dir cmd/gc: eliminate dead code in switch statements 2015-02-06 19:05:47 +00:00
bug000.go
bug002.go
bug003.go
bug004.go
bug005.go
bug006.go
bug007.go
bug008.go
bug009.go
bug010.go
bug011.go
bug012.go
bug013.go
bug014.go
bug015.go
bug016.go
bug017.go
bug020.go
bug021.go
bug022.go
bug023.go
bug024.go
bug026.go
bug027.go
bug028.go
bug030.go
bug031.go
bug035.go
bug037.go
bug039.go
bug040.go
bug045.go
bug046.go
bug047.go
bug048.go
bug049.go
bug050.go
bug051.go
bug052.go
bug053.go
bug054.go
bug055.go
bug056.go
bug057.go
bug058.go
bug059.go
bug060.go
bug061.go
bug062.go
bug063.go
bug064.go
bug065.go
bug066.go
bug067.go
bug068.go
bug069.go
bug070.go
bug071.go
bug072.go
bug073.go
bug074.go
bug075.go
bug076.go
bug077.go
bug078.go
bug080.go
bug081.go
bug082.go
bug083.go
bug084.go
bug085.go
bug086.go test: update bug086.go for current gccgo behaviour 2013-08-09 08:43:19 -07:00
bug087.go
bug088.go
bug089.go
bug090.go
bug091.go
bug092.go
bug093.go
bug094.go
bug096.go
bug097.go
bug098.go
bug099.go
bug101.go
bug102.go
bug103.go
bug104.go
bug106.go
bug107.go
bug108.go
bug109.go
bug110.go
bug111.go
bug112.go
bug113.go
bug114.go
bug115.go
bug116.go
bug117.go
bug118.go
bug119.go
bug120.go
bug121.go
bug122.go
bug123.go
bug126.go
bug127.go
bug128.go
bug129.go
bug130.go
bug131.go
bug132.go
bug133.go
bug135.go
bug136.go
bug137.go
bug139.go
bug140.go
bug141.go
bug142.go
bug143.go
bug144.go
bug145.go
bug146.go
bug147.go
bug148.go
bug149.go
bug150.go
bug151.go
bug152.go
bug154.go
bug155.go
bug156.go
bug157.go
bug158.go
bug159.go
bug160.go
bug161.go
bug163.go
bug164.go
bug165.go
bug167.go
bug168.go
bug169.go
bug170.go
bug171.go
bug172.go
bug173.go cmd/gc: implement 'for range x {' 2014-07-16 19:27:10 -04:00
bug174.go
bug175.go
bug176.go cmd/gc: suppress array index error caused by a previously reported error 2014-03-29 15:45:40 +01:00
bug177.go
bug178.go
bug179.go
bug180.go
bug181.go
bug182.go
bug183.go
bug184.go
bug185.go
bug186.go
bug187.go
bug188.go
bug189.go
bug190.go
bug191.go test: don't rely on order of unrelated imports in bug191 2013-12-10 12:05:37 -08:00
bug192.go
bug193.go
bug194.go
bug195.go
bug196.go
bug197.go
bug198.go
bug199.go
bug200.go
bug201.go
bug202.go
bug203.go
bug204.go
bug205.go test: match gccgo error messages 2013-06-20 08:21:14 +02:00
bug206.go
bug206.out
bug207.go
bug208.go
bug209.go
bug211.go
bug212.go
bug213.go
bug214.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug215.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug216.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug217.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug218.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug219.go
bug221.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug222.go
bug223.go
bug224.go
bug225.go
bug227.go
bug228.go
bug229.go
bug230.go
bug231.go
bug232.go
bug233.go
bug234.go
bug235.go
bug236.go
bug237.go
bug238.go
bug239.go
bug240.go
bug241.go
bug242.go
bug243.go
bug244.go
bug245.go
bug246.go
bug247.go
bug248.go test: disable bug248 and bug345 tests on Plan 9 2014-12-23 10:28:39 +00:00
bug249.go
bug250.go
bug251.go
bug252.go
bug253.go
bug254.go
bug255.go cmd/gc: say 'non-constant array bound' instead of 'invalid array bound' 2014-09-16 10:21:54 -04:00
bug256.go
bug257.go
bug258.go
bug259.go
bug260.go
bug261.go
bug262.go
bug263.go
bug264.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug265.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug266.go
bug267.go
bug269.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug271.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug272.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug273.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug274.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug275.go
bug276.go
bug277.go
bug278.go
bug279.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug280.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug281.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug282.go
bug283.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug284.go
bug285.go
bug286.go
bug287.go
bug288.go
bug289.go
bug290.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug291.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug292.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug293.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug294.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug295.go test/fixedbugs/bug295.go: fix test in anticipation of future gc fix 2013-09-20 09:40:56 -07:00
bug296.go
bug297.go
bug298.go
bug299.go cmd/gc: drop parenthesization restriction for receiver types 2014-06-25 09:57:48 -04:00
bug300.go
bug301.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug302.go test/fixedbugs/bug302: fix test on windows. 2014-12-09 05:23:35 +00:00
bug303.go
bug304.go
bug305.go
bug306.go
bug307.go
bug308.go
bug309.go
bug311.go
bug312.go
bug313.go
bug314.go
bug315.go
bug316.go
bug317.go
bug318.go
bug319.go
bug320.go
bug321.go
bug322.go
bug323.go
bug324.go
bug325.go
bug326.go
bug327.go
bug328.go
bug328.out
bug329.go
bug330.go
bug331.go
bug332.go
bug333.go
bug334.go
bug335.go
bug336.go
bug337.go
bug338.go
bug339.go
bug340.go
bug341.go
bug342.go
bug343.go
bug344.go
bug345.go test: disable bug248 and bug345 tests on Plan 9 2014-12-23 10:28:39 +00:00
bug346.go cmd/gc: transform closure calls to function calls 2015-02-13 12:12:18 +00:00
bug347.go
bug348.go
bug349.go
bug350.go
bug351.go
bug352.go
bug353.go
bug354.go
bug355.go
bug356.go
bug357.go
bug358.go
bug361.go
bug362.go
bug363.go
bug364.go
bug365.go
bug366.go
bug367.go
bug368.go
bug369.go test: fix windows build 2014-12-23 01:12:30 +00:00
bug370.go
bug371.go cmd/gc: disallow call of *T method using **T variable 2014-10-20 22:04:12 -04:00
bug372.go
bug373.go
bug374.go
bug375.go
bug376.go
bug377.go
bug378.go
bug379.go
bug380.go
bug381.go
bug382.go
bug383.go
bug384.go
bug385_32.go test: enable bug385_32 test on amd64p32. 2014-03-20 07:28:24 +01:00
bug385_64.go test: disable large type/stack frame tests for gccgo 2013-12-12 17:13:46 -08:00
bug386.go
bug387.go
bug388.go
bug389.go
bug390.go
bug391.go
bug392.go
bug393.go
bug394.go
bug396.go
bug397.go
bug398.go
bug399.go
bug401.go
bug402.go
bug403.go
bug404.go
bug405.go
bug406.go cmd/gc: implement 'for range x {' 2014-07-16 19:27:10 -04:00
bug407.go
bug409.go
bug409.out
bug410.go
bug411.go
bug412.go
bug413.go
bug414.go
bug415.go
bug416.go
bug417.go
bug418.go
bug419.go
bug420.go
bug421.go
bug422.go
bug423.go
bug424.go
bug425.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug426.go
bug427.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug428.go
bug429_run.go test: migrate remaining tests to run.go 2014-12-22 22:41:34 +00:00
bug429.go test: migrate remaining tests to run.go 2014-12-22 22:41:34 +00:00
bug430.go
bug431.go
bug432.go
bug433.go
bug434.go
bug435.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
bug436.go
bug437.go
bug438.go
bug439.go
bug440_32.go
bug440_64.go
bug441.go
bug442.go
bug443.go
bug444.go
bug445.go
bug446.go
bug447.go
bug448.go
bug449.go
bug450.go
bug451.go
bug452.go
bug453.go
bug454.go
bug455.go
bug456.go
bug457.go
bug458.go
bug459.go test: match gccgo error messages 2013-06-20 08:21:14 +02:00
bug460.go
bug461.go
bug462.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
bug463.go
bug464.go
bug465.go
bug466.go
bug467.go
bug468.go
bug470.go
bug471.go
bug472.go
bug473.go
bug474.go
bug475.go test: add a compilation test that gccgo failed to compile 2013-07-16 15:31:42 -07:00
bug476.go all: fix a few spelling errors in source comments 2013-12-27 08:59:02 -08:00
bug477.go test: add a test that gccgo failed to compile 2013-09-18 15:47:50 -07:00
bug478.go test: add a test that gccgo failed to compile 2013-09-18 16:30:38 -07:00
bug479.go test: add a test that causes gccgo to get a failure at link time 2013-09-19 15:20:39 -07:00
bug480.go test: add some test cases that were miscompiled by gccgo 2013-12-10 10:47:30 -08:00
bug481.go test: add some test cases that were miscompiled by gccgo 2013-12-10 10:47:30 -08:00
bug482.go test: add some test cases that were miscompiled by gccgo 2013-12-10 10:47:30 -08:00
bug483.go cmd/gc: record &x[0] as taking address of x, if x is an array 2014-02-15 20:01:15 -05:00
bug484.go cmd/gc: liveness-related bug fixes 2014-03-27 14:05:57 -04:00
bug485.go test: add test that gccgo compiled incorrectly 2014-05-06 09:01:38 -04:00
bug486.go test: add test for gccgo comment lexing failure 2014-07-08 14:09:35 -07:00
bug487.go test: add some tests for mismatches between call results and uses 2014-07-19 01:12:42 -07:00
bug488.go test: add test for confusion with dot imports 2014-07-20 10:28:51 -07:00
bug489.go test: add test for function type in function literal 2014-08-04 19:50:49 -07:00
bug490.go test: add another test case that gccgo crashed on 2014-08-08 10:43:44 -07:00
bug491.go cmd/gc: fix call order in array literal of slice literal of make chan 2014-09-30 12:48:47 -04:00
bug492.go test: add test case that gccgo failed to link 2014-12-22 23:07:10 +00:00
bug493.go test: add test that gccgo failed to compile 2014-12-17 02:22:57 +00:00
bug494.go test: add bug494: test case miscompiled by gccgo 2014-12-18 02:45:00 +00:00
bug1515.go
gcc61204.go test: add fixed GoSmith bugs reported on the gcc Bugzilla 2014-12-29 23:21:10 +00:00
gcc61244.go test: add fixed GoSmith bugs reported on the gcc Bugzilla 2014-12-29 23:21:10 +00:00
gcc61246.go test: add fixed GoSmith bugs reported on the gcc Bugzilla 2014-12-29 23:21:10 +00:00
gcc61248.go test: add fixed GoSmith bugs reported on the gcc Bugzilla 2014-12-29 23:21:10 +00:00
gcc61253.go test: add fixed GoSmith bugs reported on the gcc Bugzilla 2014-12-29 23:21:10 +00:00
gcc61254.go test: add fixed GoSmith bugs reported on the gcc Bugzilla 2014-12-29 23:21:10 +00:00
gcc61255.go test: add fixed GoSmith bugs reported on the gcc Bugzilla 2014-12-29 23:21:10 +00:00
gcc61258.go test: add fixed GoSmith bugs reported on the gcc Bugzilla 2014-12-29 23:21:10 +00:00
gcc61264.go test: add fixed GoSmith bugs reported on the gcc Bugzilla 2014-12-29 23:21:10 +00:00
gcc61265.go test: add fixed GoSmith bugs reported on the gcc Bugzilla 2014-12-29 23:21:10 +00:00
gcc61273.go test: add fixed GoSmith bugs reported on the gcc Bugzilla 2014-12-29 23:21:10 +00:00
issue887.go
issue1304.go cmd/gc: correct handling of globals, func args, results 2014-05-15 15:34:53 -04:00
issue2615.go
issue3552.go
issue3705.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
issue3783.go test: match gccgo error messages 2013-06-20 08:21:14 +02:00
issue3925.go test: match gccgo error messages 2013-06-20 08:21:14 +02:00
issue4066.go
issue4085a.go test: match gccgo error strings. 2013-06-26 18:05:02 +02:00
issue4085b.go
issue4097.go test: match gccgo error messages 2013-06-20 08:21:14 +02:00
issue4099.go
issue4162.go
issue4167.go
issue4232.go cmd/gc: emit error for out-of-bounds slice of constant string 2014-09-25 13:24:43 -04:00
issue4251.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
issue4252.go
issue4264.go
issue4283.go
issue4313.go
issue4316.go
issue4323.go
issue4326.go
issue4348.go
issue4353.go
issue4359.go
issue4370.go
issue4388.go runtime: use reflect.call during panic instead of newstackcall 2014-09-05 16:51:45 -04:00
issue4396a.go
issue4396b.go
issue4399.go
issue4405.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
issue4429.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
issue4448.go
issue4452.go test: match gccgo error strings. 2013-06-28 23:08:07 +02:00
issue4458.go test: match gccgo error messages 2013-06-20 08:21:14 +02:00
issue4463.go test: match gccgo error strings. 2013-06-28 23:08:07 +02:00
issue4468.go
issue4470.go
issue4495.go
issue4510.go
issue4517a.go
issue4517b.go
issue4517c.go
issue4517d.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
issue4518.go
issue4529.go
issue4545.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
issue4562.go
issue4585.go
issue4590.go
issue4610.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
issue4614.go
issue4618.go runtime: combine small NoScan allocations 2014-01-24 22:35:11 +04:00
issue4620.go
issue4654.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
issue4663.go
issue4667.go runtime: combine small NoScan allocations 2014-01-24 22:35:11 +04:00
issue4734.go
issue4748.go
issue4752.go
issue4776.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
issue4785.go
issue4813.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
issue4847.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
issue4879.go
issue4909a.go
issue4909b.go
issue4932.go
issue4964.go
issue5002.go
issue5056.go
issue5089.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
issue5105.go
issue5125.go
issue5162.go
issue5172.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
issue5231.go
issue5244.go cmd/gc: compute initialization order for top-level blank vars too. 2013-06-11 22:21:51 +02:00
issue5259.go
issue5260.go
issue5291.go cmd/gc: initialize t->width in dgcsym() if required 2013-04-25 18:47:12 +02:00
issue5358.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
issue5373.go cmd/gc: optimize memclr of slices and arrays 2015-01-09 22:35:25 +00:00
issue5470.go cmd/gc: repair make(T) in export data for inlining. 2013-05-16 09:01:43 +02:00
issue5493.go test: disable a couple of precise GC tests for gccgo 2013-12-12 17:13:27 -08:00
issue5515.go cmd/gc: save local var list before inlining 2013-06-11 20:23:21 -07:00
issue5581.go test: match gccgo error messages 2013-12-12 17:18:12 -08:00
issue5607.go cmd/gc: do not corrupt init() with initializers of _ in closures. 2013-06-02 23:54:34 +02:00
issue5609.go test: match gccgo error strings. 2013-06-28 23:08:07 +02:00
issue5614.go cmd/gc: fix missing slice/array types in export data. 2013-06-04 08:18:36 +02:00
issue5698.go cmd/gc: fix computation of equality class of types. 2013-07-02 09:08:43 +02:00
issue5704.go spec: fix spec on conversions to match implementations 2013-06-21 16:11:13 -07:00
issue5753.go cmd/gc: fix issue with method wrappers not having escape analysis run on them. 2013-07-02 17:12:08 +02:00
issue5755.go cmd/gc: fix missing export data for inlining in a few other cases. 2013-06-28 23:29:13 +02:00
issue5793.go cmd/gc: allow append and complex builtins to accept 2-result call expression as first argument. 2014-03-05 14:16:21 -05:00
issue5809.go cmd/6g, cmd/8g: prevent constant propagation of non-constant LEA. 2013-07-05 16:11:22 +02:00
issue5820.go cmd/8g: Make clearfat non-interleaved with pointer calculations. 2013-07-17 11:04:34 +02:00
issue5841.go cmd/gc: avoid passing unevaluated constant expressions to backends. 2013-07-25 09:42:05 -04:00
issue5856.go runtime: use reflect.call during panic instead of newstackcall 2014-09-05 16:51:45 -04:00
issue5910.go cmd/gc: fix inlining of unnamed structs with embedded fields. 2013-08-05 22:09:53 +02:00
issue5957.go cmd/gc: show package name in 'imported and not used' error 2013-09-09 12:21:09 -04:00
issue5963.go runtime: handle runtime.Goexit during init 2013-07-26 13:54:44 -04:00
issue6004.go cmd/gc: diagnose '_ = nil' better 2013-09-09 12:49:39 -04:00
issue6036.go cmd/6g: handle very wide offsets. 2013-09-09 20:36:19 +02:00
issue6055.go runtime: Better test tracebackability of jmpdefer when running a nil defer. 2013-08-09 15:27:45 -07:00
issue6131.go cmd/gc: add missing typecheck for walk-generated constants. 2013-09-06 16:55:30 -04:00
issue6140.go cmd/gc: fix method values whose receiver is an unnamed interface. 2013-08-29 10:00:58 +02:00
issue6247.go cmd/5g: avoid clash between R13 and F3 registers. 2013-08-27 21:09:16 +02:00
issue6269.go cmd/gc: make method names for function scoped types unique 2013-08-29 16:48:44 +02:00
issue6295.go cmd/gc: preserve qualified names of unexported methods in imports. 2014-01-21 22:55:50 -05:00
issue6298.go cmd/gc: fix 'internal error: typename ideal bool' 2013-09-09 12:00:16 -04:00
issue6399.go cmd/gc: fix divide by zero error in compiler 2013-09-16 14:22:37 -04:00
issue6402.go cmd/gc: fix spurious 'use of untyped nil' error 2014-03-27 18:47:00 +01:00
issue6403.go cmd/gc: fix spurious 'const initializer is not a constant' error 2014-03-24 20:36:42 +01:00
issue6405.go cmd/gc: fix spurious 'not enough arguments to return' error 2014-03-14 16:42:42 +01:00
issue6406.go cmd/gc: silence assignment errors to undefined symbols 2014-01-03 21:03:20 +01:00
issue6500.go cmd/gc: reject incorrect use of fallthrough. 2014-02-19 07:55:03 +01:00
issue6513.go cmd/gc: qualified embedded fields with owner package. 2013-10-02 12:27:33 -04:00
issue6572.go cmd/gc: do not typecheck nil types in multiple assignment 2014-01-21 22:44:54 -05:00
issue6671.go cmd/gc: logical operators should produce untyped bool for untyped 2014-12-29 23:36:30 +00:00
issue6703a.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703b.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703c.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703d.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703e.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703f.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703g.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703h.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703i.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703j.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703k.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703l.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703m.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703n.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703o.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703p.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703q.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703r.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703s.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703t.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703u.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703v.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703w.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703x.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703y.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6703z.go cmd/gc: check for initialization cycles in method values 2014-10-14 19:12:10 -07:00
issue6789.go test: add some test cases that were miscompiled by gccgo 2013-12-10 10:47:30 -08:00
issue6847.go cmd/gc: fix spurious type errors in walkselect. 2014-03-13 08:14:05 +01:00
issue6889.go cmd/gc: avoid confusing error message "ovf in mpaddxx" 2014-04-09 08:36:27 +02:00
issue6899.go runtime: check for signed zero in printfloat 2013-12-09 17:51:30 -08:00
issue6899.out runtime: check for signed zero in printfloat 2013-12-09 17:51:30 -08:00
issue6902.go cmd/gc: round floats with a large negative exponent towards zero 2014-03-24 10:10:29 -07:00
issue6964.go cmd/gc: fix comparison order of parameters in mpcmpfltc(a, b) 2013-12-16 16:54:10 -05:00
issue7023.go cmd/gc: mark OGOTO as a statement for formatters. 2014-01-10 01:33:24 +01:00
issue7044.go liblink: fix bad code generated for MOVFD/MOVDF when reg > 7 2014-03-11 14:04:44 -04:00
issue7050.go syscall: fix Write(nil) on NaCl 2014-05-20 11:38:34 -04:00
issue7083.go cmd/gc: return canonical Node* from temp 2014-01-14 10:43:13 -05:00
issue7129.go cmd/gc: increase specificity of errors in function call context 2014-04-11 15:57:30 +02:00
issue7150.go cmd/gc: fix array index out of bounds error message 2014-02-19 11:29:36 -08:00
issue7153.go cmd/gc: suppress array index error caused by a previously reported error 2014-03-29 15:45:40 +01:00
issue7214.go cmd/gc: check duplicate keys in maps with interface{} key type 2014-04-04 16:46:23 +02:00
issue7223.go cmd/gc: diagnose "make([]T, non-integer)" correctly. 2014-02-23 16:31:48 -05:00
issue7272.go cmd/gc: do not lower copy to a value node in go/defer. 2014-02-15 16:39:04 +01:00
issue7310.go cmd/gc: fix internal crash 2014-03-03 19:55:40 -05:00
issue7316.go cmd/gc: alias more variables during register allocation 2014-05-12 17:10:36 -04:00
issue7346.go cmd/gc: use a register to checknil constants. 2014-03-04 08:18:17 +01:00
issue7366.go cmd/gc: fix walkcompare bugs. 2014-02-24 19:51:59 +01:00
issue7405.go cmd/6g, cmd/8g: skip CONVNOP nodes in bgen. 2014-03-20 22:22:37 +01:00
issue7419.go cmd/gc: check exponent overflow and underflow in mparith 2014-03-19 05:48:00 +01:00
issue7525.go cmd/gc: fix error check for self-referential array type. 2014-03-17 20:26:19 -07:00
issue7538a.go cmd/gc: ignore blank (_) labels in label declarations 2014-04-09 08:34:17 +02:00
issue7538b.go cmd/gc: ignore blank (_) labels in label declarations 2014-04-09 08:34:17 +02:00
issue7547.go cmd/gc: compute size of keys & values before making map bucket 2014-04-04 12:58:19 -07:00
issue7550.go runtime: check that new slice cap doesn't overflow 2014-04-03 13:44:44 +11:00
issue7590.go test: add extra test case for issue 7590 2014-03-20 11:46:45 -07:00
issue7648.go cmd/gc: fix spurious "bad negated constant" for complex constants. 2014-04-01 02:55:38 -04:00
issue7675.go cmd/gc: fewer errors for wrong argument count 2014-04-16 22:42:09 -04:00
issue7690.go runtime: fix line number in first stack frame in printed stack trace 2014-10-29 15:14:24 -04:00
issue7742.go cmd/gc: fix typo in ordermapassign 2014-04-11 15:28:37 +02:00
issue7760.go cmd/gc: disallow pointer constants 2014-08-15 11:33:31 -07:00
issue7794.go cmd/gc: fix segfault in isgoconst. 2014-04-16 23:12:06 -04:00
issue7863.go test: expand issue7863 test 2014-05-27 21:53:39 -07:00
issue7867.go cmd/gc: don't give credit for NOPs during register allocation 2014-05-09 09:55:17 -07:00
issue7884.go test: test issue 7884 (already fixed) 2014-05-20 11:42:25 -04:00
issue7944.go cmd/gc: fix liveness vs regopt mismatch for input variables 2014-05-12 17:19:02 -04:00
issue7995.go cmd/gc: correct handling of globals, func args, results 2014-05-15 15:34:53 -04:00
issue7995b.go cmd/gc: correct handling of globals, func args, results 2014-05-15 15:34:53 -04:00
issue7996.go cmd/gc: fix duplicate map key check 2014-05-15 15:34:37 -04:00
issue7997.go cmd/gc: fix two select temporary bugs 2014-05-15 19:16:18 -04:00
issue7998.go cmd/gc: fix two select temporary bugs 2014-05-15 19:16:18 -04:00
issue8004.go runtime: make scan of pointer-in-interface same as scan of pointer 2014-05-15 15:53:36 -04:00
issue8011.go cmd/gc: fix <-<-expr 2014-05-19 15:08:04 -04:00
issue8017.go cmd/gc: don't walk static nodes generated by anylit. 2014-09-15 18:31:47 +02:00
issue8028.go cmd/gc: fix race compilation failure 'non-orig name' 2014-05-27 23:59:27 -04:00
issue8036.go cmd/6g: treat vardef-initialized fat variables as live at calls 2014-05-30 16:41:58 -04:00
issue8039.go cmd/gc: fix defer copy(x, <-c) 2014-05-27 23:59:06 -04:00
issue8047.go runtime: add test for issue 8047. 2014-06-11 20:34:46 -04:00
issue8047b.go runtime: fix defer of nil func 2014-06-12 16:34:36 -04:00
issue8048.go runtime: make continuation pc available to stack walk 2014-05-31 10:10:12 -04:00
issue8060.go cmd/gc: generate type alg after calling dowidth. 2014-09-15 18:24:16 +02:00
issue8073.go cmd/gc: fix conversion of runtime constant 2014-05-27 21:38:19 -04:00
issue8074.go test/fixedbugs: fix typo in comment 2014-06-29 20:34:35 +10:00
issue8076.go cmd/gc: fix infinite loop in nil check removal 2014-05-27 23:58:49 -04:00
issue8079.go test: add test for gccgo-specific issue 8079 2014-10-13 12:33:45 -07:00
issue8132.go runtime: fix correctness test at end of traceback 2014-06-01 13:57:46 -04:00
issue8139.go runtime: fix 1-byte return during x.(T) for 0-byte T 2014-06-02 21:06:30 -04:00
issue8155.go cmd/6g: fix stack zeroing on native client 2014-06-05 16:40:23 -04:00
issue8158.go runtime: fix panic stack during runtime.Goexit during panic 2014-06-06 16:52:14 -04:00
issue8280.go cmd/gc: fix import of package with var func returning _ 2014-09-24 16:53:34 -04:00
issue8311.go cmd/gc: print x++ (not x += 1) in errors about x++ 2014-09-25 13:13:02 -04:00
issue8325.go cmd/6g, cmd/8g: fix, test byte-sized magic multiply 2014-08-11 15:24:36 -04:00
issue8336.go cmd/gc: fix order of channel evaluation of receive channels 2014-08-25 07:05:45 -04:00
issue8347.go test: add test for issue8347 2014-07-18 20:59:55 -04:00
issue8475.go cmd/gc: comma-ok assignments produce untyped bool as 2nd result 2014-08-11 16:11:55 -07:00
issue8501.go cmd/gc: give an error if only one argument is given to complex() 2015-01-02 02:52:56 +00:00
issue8507.go cmd/gc: avoid infinite recursion on invalid recursive type 2014-09-25 13:08:37 -04:00
issue8612.go test: add test that caused gccgo to crash on valid code 2014-08-28 19:51:21 -07:00
issue8620.go runtime: fix slicecopy return value for zero-width elements 2015-01-04 01:59:59 +00:00
issue8761.go cmd/gc: fix call order in array literal of slice literal of make chan 2014-09-30 12:48:47 -04:00
issue8947.go cmd/gc: synthesize zeroed value for non-assignment context 2014-10-24 10:27:39 -04:00
issue8961.go cmd/gc: emit code for extern = <N> 2014-10-20 15:59:10 +01:00
issue9006.go cmd/gc: fix internal compiler error in struct compare 2014-10-28 23:22:46 -04:00
issue9110.go runtime: fix sudog leak 2014-11-16 16:44:45 -05:00
issue9321.go test: shorten test runtime 2015-01-08 04:49:43 +00:00
issue9355.go test: chdir before running go tool, cleanup afterwards. 2015-02-06 05:16:34 +00:00
issue9370.go cmd/gc: evaluate concrete == interface without allocating 2015-02-12 22:23:38 +00:00
issue9432.go cmd/gc: don't recurse infinitely when a recursive type references itself more than once 2015-01-12 02:09:50 +00:00
issue9537.go cmd/gc: treat non-local vars inlined into wrapper as escaping 2015-01-22 03:25:12 +00:00
issue9604.go cmd/5g: make sure we normalize after unary ops on small types 2015-01-15 23:50:01 +00:00
issue9604b.go test: generate tests for arithmetic on narrow types 2015-01-17 21:00:15 +00:00
issue9608.go cmd/gc: eliminate dead code in switch statements 2015-02-06 19:05:47 +00:00
issue9634.go cmd/gc: don't unpack struct arguments to append 2015-01-20 22:55:56 +00:00
issue9691.go cmd/gc: allow map index expressions in for range statements 2015-01-28 15:14:04 +00:00
issue9731.go cmd/gc: typecheck type switch variables 2015-02-03 15:44:06 +00:00
issue9738.go cmd/gc: always treat the output parameters as having been assigned in capturevars. 2015-02-02 14:14:21 +00:00