1
0
mirror of https://github.com/golang/go synced 2024-11-23 08:40:08 -07:00
go/test/fixedbugs
Matthew Dempsky 5736eb0013 cmd/compile: support inlining of type switches
This CL adds support for inlining type switches, including exporting
and importing them.

Type switches are represented mostly the same as expression switches.
However, if the type switch guard includes a short variable
declaration, then there are two differences: (1) there's an ONONAME
(in the OTYPESW's Left) to represent the overall pseudo declaration;
and (2) there's an ONAME (in each OCASE's Rlist) to represent the
per-case variables.

For simplicity, this CL simply writes out each variable separately
using iimport/iiexport's normal Vargen mechanism for disambiguating
identically named variables within a function. This could be improved
somewhat, but inlinable type switches are probably too uncommon to
merit the complexity.

While here, remove "case OCASE" from typecheck1. We only type check
"case" clauses as part of a "select" or "switch" statement, never as
standalone statements.

Fixes #37837

Change-Id: I8f42f6c9afdd821d6202af4a6bf1dbcbba0ef424
Reviewed-on: https://go-review.googlesource.com/c/go/+/266203
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Trust: Matthew Dempsky <mdempsky@google.com>
2020-11-06 20:49:11 +00:00
..
bug083.dir
bug088.dir
bug106.dir
bug133.dir
bug160.dir
bug191.dir
bug222.dir
bug248.dir
bug282.dir
bug302.dir
bug306.dir
bug313.dir
bug322.dir
bug324.dir
bug335.dir
bug345.dir
bug367.dir
bug369.dir
bug377.dir
bug382.dir
bug392.dir
bug396.dir
bug404.dir
bug407.dir
bug414.dir
bug415.dir
bug424.dir
bug437.dir
bug448.dir
bug460.dir
bug465.dir
bug466.dir
bug467.dir
bug468.dir
bug472.dir
bug478.dir
bug479.dir
bug480.dir
bug488.dir
bug492.dir
bug504.dir
bug506.dir
bug507.dir test: add test that gccgo fails to compile 2020-02-22 04:31:41 +00:00
gcc67968.dir
issue3552.dir
issue4252.dir
issue4326.dir
issue4370.dir
issue4510.dir
issue4590.dir
issue4879.dir
issue4932.dir
issue4964.dir
issue5105.dir
issue5125.dir
issue5259.dir
issue5260.dir
issue5291.dir
issue5470.dir
issue5614.dir
issue5755.dir
issue5910.dir
issue5957.dir
issue6295.dir
issue6513.dir
issue6789.dir
issue7023.dir
issue7648.dir
issue7995b.dir
issue8060.dir
issue8280.dir
issue9355.dir
issue9537.dir
issue9608.dir
issue10066.dir
issue10219.dir
issue10700.dir
issue11053.dir
issue12677.dir
issue13777.dir
issue14164.dir
issue14331.dir
issue15071.dir test/fixedbugs: fix some tests will not be run 2019-05-23 01:39:41 +00:00
issue15470.dir
issue15514.dir
issue15548.dir
issue15572.dir
issue15609.dir
issue15646.dir
issue15838.dir
issue15920.dir
issue16133.dir
issue16317.dir
issue16616.dir
issue18419.dir
issue18895.dir
issue18911.dir
issue19028.dir
issue19261.dir
issue19467.dir
issue19507.dir
issue19548.dir
issue19699.dir
issue19764.dir
issue20682.dir
issue21120.dir
issue22877.dir
issue22941.dir
issue22962.dir
issue23179.dir
issue23311.dir
issue24693.dir
issue24761.dir
issue24801.dir
issue25055.dir
issue25984.dir
issue26341.dir
issue27836.dir
issue29610.dir
issue29612.dir test: make runindir tests pass regardless of whether module mode is in use 2020-03-25 14:19:25 +00:00
issue29919.dir
issue30659.dir
issue30862.dir
issue30907.dir
issue30908.dir
issue31053.dir cmd/compile: improve error when setting unexported fields 2020-05-08 20:44:01 +00:00
issue31252.dir
issue31636.dir runtime: revert init order changes 2019-05-22 11:07:00 +00:00
issue31637.dir
issue31959.dir
issue32595.dir cmd/compile: don't mark argument array as noalg 2019-06-25 21:30:39 +00:00
issue32778.dir test: add testcase for gccgo compile failure 2019-07-02 16:34:55 +00:00
issue32901.dir test: add a test for gccgo bug #32901 2019-07-03 14:12:22 +00:00
issue32922.dir test: add new test case for gccgo compiler bug 2019-07-08 13:20:23 +00:00
issue33013.dir test: new testcase for gccgo compiler bug 2019-07-10 18:26:53 +00:00
issue33020.dir test: new testcase for gccgo bug 2019-07-18 11:34:23 +00:00
issue33020a.dir test: new testcase for gollvm bug 2019-08-29 15:21:31 +00:00
issue33158.dir test: new testcase for gccgo bug 2019-07-18 17:24:59 +00:00
issue33219.dir test: new testcase for gccgo compiler failure 2019-07-23 12:39:03 +00:00
issue33739.dir test: add test that failed with gccgo 2019-08-28 18:35:32 +00:00
issue33866.dir test: add test that failed with gccgo 2019-09-06 12:11:17 +00:00
issue34503.dir test: add testcase for gccgo compiler buglet 2019-09-25 18:10:57 +00:00
issue34577.dir test: revise testcase for new gccgo compiler bug 2019-10-14 16:13:27 +00:00
issue35586.dir test: new test for gollvm compiler crash bug 2019-11-18 21:19:53 +00:00
issue35739.dir test: add test that fails with gofrontend 2020-10-13 22:50:26 +00:00
issue36085.dir test: add a test for gccgo compiler bug of missing type descriptor 2019-12-11 19:48:39 +00:00
issue37513.dir runtime: print instruction bytes when reporting a SIGILL 2020-03-02 18:46:06 +00:00
issue37837.dir cmd/compile: support inlining of type switches 2020-11-06 20:49:11 +00:00
issue40252.dir test: add test case that caused gccgo undefined symbol reference 2020-08-15 00:23:28 +00:00
issue42284.dir cmd/compile: fix recognition of unnamed return variables 2020-11-01 01:06:56 +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
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 cmd/compile/internal/syntax: better scanner error messages 2020-03-05 00:40:38 +00:00
bug170.go
bug171.go
bug172.go
bug173.go
bug174.go
bug175.go
bug176.go
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
bug192.go
bug193.go
bug194.go
bug195.go cmd/compile: report type loop for invalid recursive types 2020-09-29 22:49:58 +00:00
bug196.go
bug197.go
bug198.go
bug199.go
bug200.go
bug201.go
bug202.go
bug203.go
bug204.go
bug205.go
bug206.go
bug206.out
bug207.go
bug208.go
bug209.go
bug212.go
bug213.go
bug214.go
bug215.go
bug216.go
bug217.go
bug218.go
bug219.go
bug221.go
bug222.go
bug223.go
bug224.go
bug225.go
bug227.go
bug228.go
bug229.go cmd/compile: report error for unexported name only once 2020-08-25 16:06:36 +00:00
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
bug249.go
bug250.go
bug251.go cmd/compile: allow embedding overlapping interfaces 2019-08-26 20:21:21 +00:00
bug252.go
bug253.go
bug254.go
bug255.go
bug256.go
bug257.go
bug258.go
bug259.go
bug260.go
bug261.go
bug262.go
bug263.go
bug264.go
bug265.go
bug266.go
bug267.go
bug269.go
bug271.go
bug272.go
bug273.go
bug274.go
bug275.go
bug276.go
bug277.go
bug278.go
bug279.go
bug280.go
bug281.go
bug282.go
bug283.go
bug284.go
bug285.go
bug286.go
bug287.go
bug288.go
bug289.go
bug290.go
bug291.go
bug292.go
bug293.go
bug294.go
bug295.go
bug296.go
bug297.go
bug298.go
bug299.go
bug300.go
bug301.go
bug302.go test: avoid writing temporary files to GOROOT 2019-11-18 14:40:07 +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
bug346.go
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: avoid writing temporary files to GOROOT 2019-11-18 14:40:07 +00:00
bug370.go
bug371.go
bug372.go
bug373.go cmd/compile/internal/gc: reword "declared and not used" error message 2019-10-28 23:34:13 +00:00
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
bug385_64.go
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
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
bug426.go
bug427.go
bug428.go
bug429_run.go cmd/link: enable internal linking by default on darwin/arm64 2020-10-28 14:25:56 +00:00
bug429.go
bug430.go
bug431.go
bug432.go
bug433.go
bug434.go
bug435.go
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
bug460.go
bug461.go
bug462.go
bug463.go
bug464.go
bug465.go
bug466.go
bug467.go
bug468.go
bug470.go
bug471.go
bug472.go
bug473.go
bug474.go
bug475.go
bug476.go
bug477.go
bug478.go
bug479.go
bug480.go
bug481.go
bug482.go
bug483.go
bug484.go
bug485.go
bug486.go
bug487.go
bug488.go
bug489.go
bug490.go
bug491.go
bug492.go
bug493.go
bug494.go
bug495.go
bug496.go
bug497.go
bug498.go
bug499.go
bug500.go
bug501.go
bug502.go
bug503.go
bug504.go
bug505.go
bug506.go
bug507.go test: add test that gccgo fails to compile 2020-02-22 04:31:41 +00:00
bug508.go test: add test case that gccgo failed to compile 2020-04-10 18:42:07 +00:00
bug509.go test: add a test case that gccgo fails to compile 2020-08-15 01:42:57 +00:00
bug1515.go
bug13343.go
bug19403.go
gcc61204.go
gcc61244.go
gcc61246.go
gcc61248.go
gcc61253.go
gcc61254.go
gcc61255.go
gcc61258.go
gcc61264.go
gcc61265.go
gcc61273.go
gcc65755.go
gcc67968.go
gcc78763.go
gcc80226.go
gcc89321.go
issue887.go
issue1304.go
issue2615.go
issue3552.go
issue3705.go
issue3783.go
issue3925.go
issue4066.go
issue4085a.go
issue4085b.go cmd/compile: support more length types for slice extension optimization 2019-09-17 17:18:17 +00:00
issue4097.go
issue4099.go
issue4162.go
issue4167.go
issue4215.go
issue4232.go
issue4251.go
issue4252.go
issue4264.go
issue4283.go
issue4313.go
issue4316.go
issue4323.go
issue4326.go
issue4348.go cmd/internal/obj: reject too large symbols 2020-10-20 18:51:03 +00:00
issue4353.go
issue4359.go
issue4365.go
issue4370.go
issue4396a.go
issue4396b.go
issue4399.go
issue4405.go
issue4429.go
issue4448.go
issue4452.go
issue4458.go
issue4463.go
issue4468.go
issue4470.go
issue4495.go
issue4510.go
issue4517a.go
issue4517b.go
issue4517c.go
issue4517d.go
issue4518.go
issue4529.go
issue4545.go
issue4562.go
issue4585.go
issue4590.go
issue4610.go
issue4614.go
issue4618.go
issue4620.go
issue4654.go
issue4663.go
issue4667.go
issue4734.go
issue4748.go
issue4752.go
issue4776.go
issue4785.go
issue4813.go
issue4847.go
issue4879.go
issue4909a.go
issue4909b.go
issue4932.go
issue4964.go
issue5002.go
issue5056.go
issue5089.go
issue5105.go
issue5125.go
issue5162.go
issue5172.go cmd/compile: emit error message for broken type 2019-08-29 19:08:00 +00:00
issue5231.go
issue5244.go
issue5259.go
issue5260.go
issue5291.go
issue5358.go
issue5373.go
issue5470.go
issue5493.go
issue5515.go
issue5581.go
issue5607.go
issue5609.go
issue5614.go
issue5698.go
issue5704.go
issue5753.go
issue5755.go
issue5793.go
issue5809.go
issue5820.go
issue5841.go
issue5856.go
issue5910.go
issue5957.go
issue5963.go
issue6004.go
issue6036.go
issue6055.go
issue6131.go
issue6140.go
issue6247.go
issue6269.go
issue6295.go
issue6298.go
issue6399.go
issue6402.go
issue6403.go
issue6405.go
issue6406.go
issue6500.go
issue6513.go
issue6572.go
issue6671.go
issue6703a.go
issue6703b.go
issue6703c.go
issue6703d.go
issue6703e.go
issue6703f.go
issue6703g.go
issue6703h.go
issue6703i.go
issue6703j.go
issue6703k.go
issue6703l.go
issue6703m.go
issue6703n.go
issue6703o.go
issue6703p.go
issue6703q.go
issue6703r.go
issue6703s.go
issue6703t.go
issue6703u.go
issue6703v.go
issue6703w.go
issue6703x.go
issue6703y.go
issue6703z.go
issue6750.go cmd/compile: make error message involving variadic calls clearer 2020-09-18 07:54:47 +00:00
issue6772.go
issue6789.go
issue6847.go
issue6866.go
issue6889.go
issue6899.go
issue6899.out
issue6902.go
issue6964.go
issue6977.go cmd/compile: allow embedding overlapping interfaces 2019-08-26 20:21:21 +00:00
issue7023.go
issue7044.go
issue7050.go
issue7083.go
issue7129.go
issue7150.go
issue7153.go cmd/compile: make duplicate index error distinguish arrays and slices 2019-11-01 01:51:26 +00:00
issue7214.go
issue7223.go
issue7272.go
issue7310.go cmd/compile: report more precise errors about untyped constants 2019-09-09 22:12:15 +00:00
issue7316.go
issue7346.go
issue7366.go
issue7405.go
issue7419.go
issue7525.go
issue7525b.go
issue7525c.go
issue7525d.go
issue7525e.go
issue7538a.go
issue7538b.go
issue7547.go
issue7550.go
issue7590.go
issue7648.go
issue7675.go
issue7690.go
issue7740.go
issue7742.go
issue7746.go
issue7760.go
issue7794.go
issue7863.go
issue7867.go
issue7884.go
issue7921.go cmd/compile: use clearer error message for stuct literal 2020-09-12 08:31:49 +00:00
issue7944.go
issue7995.go
issue7995b.go
issue7996.go
issue7997.go
issue7998.go
issue8004.go
issue8011.go
issue8017.go
issue8028.go
issue8036.go
issue8039.go
issue8042.go
issue8047.go
issue8047b.go runtime: ensure that Goexit cannot be aborted by a recursive panic/recover 2019-11-04 16:32:38 +00:00
issue8048.go
issue8060.go
issue8073.go
issue8074.go
issue8076.go
issue8079.go
issue8132.go
issue8139.go
issue8154.go
issue8155.go
issue8158.go
issue8183.go
issue8280.go
issue8311.go
issue8325.go
issue8336.go
issue8347.go
issue8385.go
issue8438.go cmd/compile: rewrite untyped constant conversion logic 2019-09-06 23:15:48 +00:00
issue8440.go
issue8475.go
issue8501.go
issue8507.go
issue8606.go cmd/compile: fix ordering problems in struct equality 2020-06-15 18:03:08 +00:00
issue8606b.go cmd/compile: clean up equality generation 2020-08-27 23:25:58 +00:00
issue8612.go
issue8613.go
issue8620.go
issue8745.go
issue8761.go
issue8836.go
issue8947.go
issue8961.go
issue9006.go
issue9017.go
issue9036.go
issue9076.go
issue9083.go
issue9110.go
issue9321.go
issue9355.go test: remove nacl checking condition 2020-08-23 05:24:15 +00:00
issue9370.go
issue9432.go
issue9521.go test, test/fixedbugs, crypto/x509, go/internal/gccgoimporter: fix typos 2020-03-29 17:12:56 +00:00
issue9537.go
issue9604.go
issue9604b.go
issue9608.go
issue9634.go
issue9691.go
issue9731.go
issue9738.go
issue9862_run.go
issue9862.go
issue10047.go
issue10066.go
issue10135.go
issue10219.go
issue10253.go
issue10284.go
issue10320.go
issue10332.go
issue10353.go
issue10407.go
issue10441.go
issue10486.go
issue10607.go test: adjust tests for riscv64 2020-01-25 16:30:26 +00:00
issue10607a.go
issue10654.go
issue10700.go
issue10925.go
issue10958.go
issue10975.go
issue10977.go
issue11053.go
issue11053.out
issue11256.go
issue11286.go
issue11326.go
issue11326b.go
issue11354.go
issue11359.go
issue11361.go
issue11362.go
issue11369.go
issue11370.go
issue11371.go
issue11590.go
issue11610.go
issue11614.go
issue11656.go
issue11674.go
issue11699.go
issue11737.go
issue11750.go
issue11771.go
issue11790.go
issue11945.go
issue11987.go
issue12006.go cmd/compile: use clearer error message for stuct literal 2020-09-12 08:31:49 +00:00
issue12108.go
issue12133.go
issue12226.go
issue12347.go
issue12411.go
issue12413.go
issue12525.go
issue12536.go
issue12577.go
issue12588.go cmd/compile: trim function name prefix from escape diagnostics 2019-09-16 15:30:51 +00:00
issue12621.go
issue12677.go
issue12686.go
issue12944.go
issue13160.go
issue13162.go
issue13169.go
issue13171.go
issue13248.go
issue13261.go
issue13262.go
issue13263.go
issue13265.go
issue13266.go
issue13268.go test: remove nacl checking condition 2020-08-23 05:24:15 +00:00
issue13273.go
issue13274.go
issue13319.go
issue13337.go
issue13365.go cmd/compile: make duplicate index error distinguish arrays and slices 2019-11-01 01:51:26 +00:00
issue13415.go
issue13471.go
issue13480.go
issue13485.go
issue13539.go
issue13559.go
issue13587.go
issue13684.go
issue13777.go
issue13779.go
issue13799.go cmd/compile: use clearer error message for stuct literal 2020-09-12 08:31:49 +00:00
issue13821.go
issue13821b.go
issue14006.go
issue14010.go
issue14136.go
issue14164.go
issue14321.go
issue14331.go
issue14405.go
issue14520.go
issue14540.go
issue14553.go
issue14591.go
issue14636.go all: remove darwin/arm build-tags and files 2020-04-08 18:35:43 +00:00
issue14646.go
issue14651.go
issue14652.go
issue14725.go
issue14729.go
issue14988.go
issue14999.go cmd/compile: remove period from "not allowed in runtime" errors 2019-10-14 19:32:08 +00:00
issue15002.go
issue15013.go
issue15039.go
issue15042.go
issue15055.go
issue15071.go test/fixedbugs: fix some tests will not be run 2019-05-23 01:39:41 +00:00
issue15084.go
issue15091.go
issue15141.go
issue15175.go
issue15252.go
issue15277.go
issue15281.go all: add empty line between copyright header and package clause 2020-08-17 09:45:44 +00:00
issue15303.go
issue15311.go
issue15329.go
issue15439.go
issue15470.go
issue15514.go
issue15528.go
issue15548.go
issue15550.go
issue15572.go
issue15585.go
issue15602.go
issue15604.go
issue15609.go test: skip a test on failing test on nacl/386 2019-05-23 20:48:20 +00:00
issue15611.go cmd/compile/internal/syntax: better scanner error messages 2020-03-05 00:40:38 +00:00
issue15646.go
issue15722.go
issue15733.go
issue15747.go
issue15747b.go
issue15838.go
issue15895.go
issue15898.go
issue15902.go
issue15920.go
issue15926.go
issue15961.go
issue15975.go
issue15988.go
issue15992.go test: fix issue 15992 test wrong function call 2020-03-11 06:06:20 +00:00
issue15992.out
issue16008.go
issue16016.go
issue16037_run.go
issue16095.go
issue16130.go
issue16133.go
issue16193.go
issue16249.go
issue16306.go
issue16317.go
issue16331.go
issue16369.go
issue16428.go
issue16439.go
issue16515.go
issue16616.go
issue16733.go
issue16741.go
issue16760.go
issue16804.go
issue16870.go
issue16948.go
issue16949.go
issue16985.go
issue17005.go
issue17038.go
issue17039.go
issue17111.go
issue17194.go
issue17270.go
issue17318.go cmd/compile: trim function name prefix from escape diagnostics 2019-09-16 15:30:51 +00:00
issue17328.go
issue17381.go
issue17449.go
issue17551.go
issue17588.go
issue17596.go
issue17631.go
issue17640.go
issue17645.go cmd/compile: use clearer error message for stuct literal 2020-09-12 08:31:49 +00:00
issue17710.go
issue17752.go
issue17758.go cmd/compile: don't bother to declare closure inside redeclared func 2020-08-19 02:25:13 +00:00
issue17918.go
issue18089.go
issue18092.go
issue18149.go
issue18231.go
issue18331.go
issue18392.go
issue18393.go
issue18410.go
issue18419.go
issue18459.go
issue18595.go
issue18636.go
issue18640.go
issue18655.go
issue18661.go
issue18725.go
issue18747.go
issue18808.go
issue18882.go
issue18895.go
issue18906.go
issue18911.go
issue18915.go cmd/compile/internal/syntax: better error when an assignment is used in value context 2020-02-21 22:57:52 +00:00
issue18994.go
issue19012.go
issue19028.go
issue19040.go
issue19056.go
issue19078.go
issue19084.go
issue19113.go
issue19137.go
issue19168.go
issue19182.go
issue19201.go
issue19217.go
issue19246.go
issue19261.go
issue19275.go
issue19323.go
issue19359.go
issue19467.go
issue19482.go
issue19507.go
issue19515.go
issue19548.go
issue19555.go
issue19610.go
issue19632.go
issue19658.go
issue19667.go
issue19671.go
issue19678.go
issue19679.go
issue19696.go
issue19699.go
issue19699b.go
issue19705.go
issue19710.go
issue19743.go
issue19764.go
issue19783.go
issue19799.go
issue19880.go
issue19911.go
issue19947.go
issue19977.go
issue20029.go
issue20097.go
issue20145.go
issue20162.go
issue20174.go
issue20185.go cmd/compile: report more precise errors about untyped constants 2019-09-09 22:12:15 +00:00
issue20227.go
issue20232.go
issue20233.go
issue20245.go
issue20250.go
issue20298.go
issue20333.go
issue20335.go
issue20415.go
issue20529.go
issue20530.go
issue20602.go
issue20682.go
issue20739.go
issue20749.go
issue20780.go
issue20789.go
issue20811.go
issue20812.go
issue20813.go
issue20923.go
issue21048.go
issue21120.go
issue21221.go
issue21253.go
issue21256.go
issue21273.go
issue21317.go test: remove nacl checking condition 2020-08-23 05:24:15 +00:00
issue21576.go cmd/link: enable internal linking by default on darwin/arm64 2020-10-28 14:25:56 +00:00
issue21655.go
issue21687.go
issue21709.go cmd/compile: use clearer error message for stuct literal 2020-09-12 08:31:49 +00:00
issue21770.go
issue21808.go
issue21808.out
issue21879.go
issue21879.out
issue21882.go
issue21887.go
issue21887.out
issue21934.go cmd/compile: lookup methods of base type for named pointer type 2019-10-04 18:34:18 +00:00
issue21963.go
issue21979.go cmd/compile: report more precise errors about untyped constants 2019-09-09 22:12:15 +00:00
issue21988.go
issue22063.go
issue22076.go
issue22083.go
issue22164.go
issue22198.go
issue22200.go
issue22200b.go
issue22305.go
issue22326.go cmd/compile: fix package initialization ordering 2019-05-29 20:29:04 +00:00
issue22326.out cmd/compile: fix package initialization ordering 2019-05-29 20:29:04 +00:00
issue22327.go
issue22344.go cmd/compile: allow iota inside function in a ConstSpec 2019-09-12 06:46:57 +00:00
issue22351.go
issue22389.go
issue22429.go
issue22458.go
issue22581.go
issue22605.go
issue22660.go test: remove nacl checking condition 2020-08-23 05:24:15 +00:00
issue22662.go
issue22662b.go test: remove nacl checking condition 2020-08-23 05:24:15 +00:00
issue22683.go
issue22683.out
issue22781.go
issue22794.go
issue22822.go
issue22877.go
issue22881.go
issue22904.go cmd/compile: report type loop for invalid recursive types 2020-09-29 22:49:58 +00:00
issue22921.go cmd/compile: report error for unexported name only once 2020-08-25 16:06:36 +00:00
issue22941.go
issue22962.go
issue23093.go
issue23094.go
issue23116.go cmd/compile/internal/gc: reword "declared and not used" error message 2019-10-28 23:34:13 +00:00
issue23179.go
issue23188.go
issue23298.go
issue23305.go
issue23311.go
issue23414.go
issue23489.go
issue23504.go
issue23521.go
issue23522.go
issue23545.go
issue23546.go
issue23586.go
issue23587.go
issue23609.go
issue23664.go
issue23719.go
issue23732.go cmd/compile: use clearer error message for stuct literal 2020-09-12 08:31:49 +00:00
issue23734.go
issue23780.go
issue23781.go
issue23812.go
issue23823.go cmd/compile: report type loop for invalid recursive types 2020-09-29 22:49:58 +00:00
issue23837.go
issue23912.go
issue24120.go
issue24159.go
issue24173.go
issue24187.go
issue24339.go all: fix typos 2019-09-08 17:28:20 +00:00
issue24419.go
issue24449.go
issue24470.go
issue24488.go
issue24491a.go cmd/compile: fix defer/go calls to variadic unsafe-uintptr functions 2020-10-17 21:30:53 +00:00
issue24491b.go test: fix flaky test for issue24491 2020-09-13 07:54:42 +00:00
issue24503.go
issue24547.go
issue24651a.go cmd/compile: output cost while inlining function with Debug['m'] > 1 2020-02-26 14:44:24 +00:00
issue24651b.go cmd/compile: output cost while inlining function with Debug['m'] > 1 2020-02-26 14:44:24 +00:00
issue24693.go
issue24693.out
issue24760.go
issue24761.go
issue24763.go
issue24799.go
issue24801.go
issue24817.go
issue24937.go
issue24939.go
issue25006.go
issue25055.go
issue25101.go
issue25322.go
issue25322.out
issue25507.go
issue25516.go
issue25727.go cmd/compile: improve error when setting unexported fields 2020-05-08 20:44:01 +00:00
issue25741.go
issue25776.go
issue25897a.go runtime: get map of args of unstarted goroutines like we do for defers 2019-06-03 18:50:30 +00:00
issue25897b.go runtime: get map of args of unstarted goroutines like we do for defers 2019-06-03 18:50:30 +00:00
issue25958.go
issue25966.go
issue25984.go
issue25993.go
issue26024.go
issue26043.go
issue26094.go
issue26097.go
issue26105.go
issue26116.go
issue26120.go
issue26153.go
issue26163.go
issue26248.go
issue26335.go
issue26340.go
issue26341.go
issue26407.go
issue26411.go
issue26416.go
issue26426.go
issue26438.go
issue26495.go
issue26616.go
issue26855.go cmd/compile: use clearer error message for stuct literal 2020-09-12 08:31:49 +00:00
issue27143.go
issue27201.go
issue27232.go
issue27267.go
issue27278.go
issue27289.go
issue27356.go
issue27518a.go
issue27518b.go
issue27557.go cmd/compile: more precise analysis of method values 2020-04-21 20:49:34 +00:00
issue27595.go
issue27695.go
issue27695b.go
issue27695c.go
issue27718.go test/fixedbugs: add more test cases to issue #27718 2019-08-28 02:29:42 +00:00
issue27732a.go test: remove -newescape from regress tests 2019-08-28 19:27:20 +00:00
issue27829.go
issue27836.go
issue27938.go
issue27961.go
issue28055.go
issue28058.go
issue28078.go
issue28079a.go
issue28079b.go
issue28079c.go
issue28085.go
issue28268.go
issue28390.go
issue28390.out
issue28430.go
issue28445.go
issue28450.go
issue28601.go
issue28616.go
issue28688.go
issue28748.go
issue28797.go
issue28926.go
issue29013a.go
issue29013b.go
issue29190.go
issue29215.go
issue29218.go cmd/compile: process blocks containing only dead values in fuseIf 2019-05-28 17:13:46 +00:00
issue29220.go
issue29264.go
issue29304.go
issue29312.go cmd/compile: give every really deep type a unique name 2020-01-08 18:43:55 +00:00
issue29329.go
issue29350.go
issue29362.go
issue29362b.go
issue29389.go
issue29402.go
issue29504.go
issue29562.go
issue29610.go
issue29612.go test/fixedbugs: fix some tests will not be run 2019-05-23 01:39:41 +00:00
issue29735.go
issue29855.go
issue29870.go
issue29870b.go cmd/compile/internal/gc: reword "declared and not used" error message 2019-10-28 23:34:13 +00:00
issue29919.go
issue29943.go
issue30041.go
issue30061.go
issue30085.go
issue30087.go
issue30116.go
issue30116.out
issue30116u.go
issue30116u.out
issue30243.go
issue30430.go
issue30476.go
issue30566a.go
issue30566b.go
issue30606.go
issue30606b.go
issue30659.go
issue30679.go
issue30709.go
issue30709.out
issue30722.go
issue30862.go
issue30898.go cmd/compile: use clearer error message for stuct literal 2020-09-12 08:31:49 +00:00
issue30907.go
issue30908.go
issue30956.go
issue30956.out
issue30977.go
issue31010.go
issue31053.go cmd/compile: improve error when setting unexported fields 2020-05-08 20:44:01 +00:00
issue31060.go
issue31252.go
issue31412a.go
issue31412b.go
issue31419.go
issue31546.go
issue31573.go cmd/compile: use clearer error message for stuct literal 2020-09-12 08:31:49 +00:00
issue31636.go runtime: revert init order changes 2019-05-22 11:07:00 +00:00
issue31636.out runtime: revert init order changes 2019-05-22 11:07:00 +00:00
issue31637.go
issue31747.go cmd/compile: better error message for language version errors 2019-10-03 04:48:44 +00:00
issue31777.go
issue31782.go
issue31782.out
issue31915.go
issue31959.go
issue31959.out
issue31987.go
issue32133.go cmd/compile/internal/syntax: better scanner error messages 2020-03-05 00:40:38 +00:00
issue32175.go cmd/compile: fix capture-by-reference of return parameters 2019-05-22 18:43:09 +00:00
issue32175.out cmd/compile: fix capture-by-reference of return parameters 2019-05-22 18:43:09 +00:00
issue32187.go cmd/compile: ensure interface-to-concrete comparison panics when it should 2019-08-28 19:45:00 +00:00
issue32288.go cmd/compile: don't move nil checks across a VarDef 2019-05-31 21:52:17 +00:00
issue32347.go test: add a test for gccgo bug #32347 2019-05-31 19:57:27 +00:00
issue32454.go cmd/compile: optimize more pointer comparisons 2019-08-29 19:35:18 +00:00
issue32477.go cmd/link: fix deferreturn detector 2019-06-07 18:51:04 +00:00
issue32560.go cmd/compile: fix range analysis of small signed integers 2019-06-12 18:03:46 +00:00
issue32595.go cmd/compile: don't mark argument array as noalg 2019-06-25 21:30:39 +00:00
issue32680.go cmd/compile: add necessary operand to mergePoint in rewrite rules 2019-06-20 16:56:47 +00:00
issue32680.out cmd/compile: add necessary operand to mergePoint in rewrite rules 2019-06-20 16:56:47 +00:00
issue32680b.go test: add another test for issue 32680 2019-07-05 12:11:36 +00:00
issue32723.go cmd/compile: fix internal error on complex comparison 2019-08-29 18:24:31 +00:00
issue32778.go test: add testcase for gccgo compile failure 2019-07-02 16:34:55 +00:00
issue32901.go test: add a test for gccgo bug #32901 2019-07-03 14:12:22 +00:00
issue32922.go test: add new test case for gccgo compiler bug 2019-07-08 13:20:23 +00:00
issue32959.go cmd/compile: fix unsafeValue handles OLSH/ORSH wrong 2019-07-09 01:49:44 +00:00
issue33013.go test: new testcase for gccgo compiler bug 2019-07-10 18:26:53 +00:00
issue33020.go test: new testcase for gccgo bug 2019-07-18 11:34:23 +00:00
issue33020a.go test: new testcase for gollvm bug 2019-08-29 15:21:31 +00:00
issue33062.go test: add a test for gccgo bug #33062. 2019-07-11 22:30:42 +00:00
issue33158.go test: new testcase for gccgo bug 2019-07-18 17:24:59 +00:00
issue33219.go test: new testcase for gccgo compiler failure 2019-07-23 12:39:03 +00:00
issue33275_run.go internal/fmtsort: don't out-of-bounds panic if there's a race condition 2019-08-30 05:41:23 +00:00
issue33275.go internal/fmtsort: don't out-of-bounds panic if there's a race condition 2019-08-30 05:41:23 +00:00
issue33308.go cmd/compile: add test for fixed ICE on untyped conversion 2020-07-20 18:18:56 +00:00
issue33355.go cmd/compile: don't eliminate all registers when restricting to desired ones 2019-08-01 02:15:18 +00:00
issue33386.go cmd/compile/internal/syntax: better error recovery after missing expression 2019-08-27 15:46:41 +00:00
issue33438.go cmd/compile: fix crash on write barrier insertion 2019-08-02 19:35:37 +00:00
issue33460.go cmd/compile: fix "previous" position info for duplicate switch cases 2019-08-27 19:53:05 +00:00
issue33555.go cmd/link: increase the function call limit in stkcheck 2019-08-09 20:22:03 +00:00
issue33724.go cmd/compile: preserve statements in late nilcheckelim optimization 2019-10-15 16:43:44 +00:00
issue33739.go test: add test that failed with gccgo 2019-08-28 18:35:32 +00:00
issue33866.go test: add test that failed with gccgo 2019-09-06 12:11:17 +00:00
issue33903.go cmd/compile: handle infinite loops in shortcircuit pass 2019-08-29 17:41:49 +00:00
issue34123.go runtime: fix line number for faulting instructions 2019-11-08 21:05:17 +00:00
issue34329.go cmd/compile: require -lang=go1.14 for overlapping interfaces 2019-09-16 19:43:54 +00:00
issue34395.go cmd/link: produce valid binaries with large data section on wasm 2019-10-07 18:09:29 +00:00
issue34503.go test: add testcase for gccgo compiler buglet 2019-09-25 18:10:57 +00:00
issue34520.go test: add testcase for Issue 34520 2019-10-04 15:04:57 +00:00
issue34577.go test: new testcase for gccgo compiler problem 2019-10-09 17:26:20 +00:00
issue34723.go cmd/compile: improve write barrier removal 2019-10-07 17:19:13 +00:00
issue34966.go cmd/compile: fix -d=checkptr for named unsafe.Pointer types 2019-10-17 21:10:22 +00:00
issue34968.go cmd/compile: disable checkptr for //go:cgo_unsafe_args functions 2019-10-17 22:27:31 +00:00
issue35027.go cmd/compile: recognize reflect.{Slice,String}Header for -d=checkptr 2019-10-21 20:51:06 +00:00
issue35073.go cmd/compile: don't inline reflect.Value.UnsafeAddr/Pointer if enable checkptr 2020-04-01 06:12:05 +00:00
issue35157.go test: add test for fixed internal compiler error 2019-10-26 08:29:23 +00:00
issue35291.go cmd/compile: make duplicate index error distinguish arrays and slices 2019-11-01 01:51:26 +00:00
issue35518.go test: add another test case for #35518 2019-11-12 21:02:24 +00:00
issue35576.go cmd/compile: allow print/println(f()) where f() is multi-value 2020-02-22 03:34:22 +00:00
issue35576.out cmd/compile: allow print/println(f()) where f() is multi-value 2020-02-22 03:34:22 +00:00
issue35586.go test: new test for gollvm compiler crash bug 2019-11-18 21:19:53 +00:00
issue35652.go cmd/compile: try harder to not use an empty src.XPos for a bogus line 2019-11-22 03:06:22 +00:00
issue35739.go test: add test that fails with gofrontend 2020-10-13 22:50:26 +00:00
issue36085.go test: add a test for gccgo compiler bug of missing type descriptor 2019-12-11 19:48:39 +00:00
issue36259.go cmd/compile: avoid memmove -> SSA move rewrite when size is negative 2020-02-24 20:23:14 +00:00
issue36437.go cmd/compile: omit file:pos for non-existent errors 2020-05-08 20:28:57 +00:00
issue36516.go test: disable test for #36516 when cgo is not enabled 2020-01-19 20:36:10 +00:00
issue36705.go runtime/cgo: fix unsetenv wrapper 2020-02-24 21:32:48 +00:00
issue36723.go cmd/compile: on PPC64, fold offset into some loads/stores only when offset is 4-aligned 2020-01-27 16:13:58 +00:00
issue37246.go cmd/compile: add test for issue 37246 2020-05-14 15:18:29 +00:00
issue37513.go runtime: print instruction bytes when reporting a SIGILL 2020-03-02 18:46:06 +00:00
issue37716.go runtime: make typehash match compiler generated hashes exactly 2020-03-10 16:26:59 +00:00
issue37753.go cmd/compile: use only bit patterns in isNonNegative 2020-03-09 20:19:25 +00:00
issue37837.go cmd/compile: support inlining of type switches 2020-11-06 20:49:11 +00:00
issue37975.go cmd/compile: make isSmallMakeSlice checks slice cap only 2020-03-31 21:51:51 +00:00
issue38093.go runtime: fix race condition between timer and event handler 2020-05-31 18:35:04 +00:00
issue38117.go cmd/compile: fix constant conversion involving complex types 2020-03-31 20:59:14 +00:00
issue38125.go test: add test that gccgo failed to compile 2020-08-28 23:43:22 +00:00
issue38356.go cmd/compile: fix incorrect block for s390x Select1 op 2020-04-14 19:01:47 +00:00
issue38359.go cmd/compile: prevent constant folding of +/- when result is NaN 2020-04-10 19:32:41 +00:00
issue38496.go test: add test for nil check / bounds check compiler confusion 2020-04-17 04:26:54 +00:00
issue38690.go cmd/compile: do not emit code for discardable blank fields 2020-05-06 04:34:54 +00:00
issue38745.go cmd/compile: don't report not enough args error if call is undefined 2020-09-12 08:50:45 +00:00
issue38746.go cmd/compile: restrict bit test rewrite rules 2020-05-05 15:41:37 +00:00
issue38905.go cmd/compile: another fix initializing blank fields in struct literal 2020-08-15 03:09:21 +00:00
issue38916.go cmd/compile: fix tuple selector bug in CSE pass 2020-05-14 08:07:52 +00:00
issue39292.go cmd/compile: use clearer error message for stuct literal 2020-09-12 08:31:49 +00:00
issue39459.go cmd/compile: remove check that Zero's arg has the correct base type 2020-06-25 15:59:48 +00:00
issue39472.go cmd/compile: always tighten and de-duplicate tuple selectors 2020-06-10 14:55:29 +00:00
issue39505.go cmd/compile: Install testcases for flag constant Ops 2020-08-28 16:40:32 +00:00
issue39505b.go cmd/compile: Install testcases for flag constant Ops 2020-08-28 16:40:32 +00:00
issue39541.go reflect: zero stack slots before writing to them with write barriers 2020-06-19 02:11:35 +00:00
issue39651.go cmd/compile: mark s390x int <-> float conversions as clobbering flags 2020-06-18 16:36:16 +00:00
issue40152.go test: add test for conversion of untyped bool to interface 2020-08-15 01:43:18 +00:00
issue40252.go test: add test case that caused gccgo undefined symbol reference 2020-08-15 00:23:28 +00:00
issue40367.go cmd/compile: don't addLocalInductiveFacts if there is no direct edge from if block to phi block 2020-07-30 17:23:11 +00:00
issue40629.go cmd/compile: fix live variable computation for deferreturn 2020-08-14 21:49:36 +00:00
issue40746.go cmd/compile: correct type of CvtBoolToUint8 values 2020-08-13 22:59:31 +00:00
issue40917.go cmd/compile: fix checkptr handling of &^ 2020-08-20 17:48:29 +00:00
issue40954.go cmd/cgo: use go:notinheap for anonymous structs 2020-09-16 17:26:46 +00:00
issue41239.go runtime: use old capacity to decide on append growth regime 2020-09-25 03:59:54 +00:00
issue41247.go cmd/compile: use clearer error message for stuct literal 2020-09-12 08:31:49 +00:00
issue41440.go cmd/compile: make error message involving variadic calls clearer 2020-09-18 07:54:47 +00:00
issue41500.go cmd/compile: clearer error when non-bool used as "||" and "&&" operand 2020-09-22 04:13:13 +00:00
issue41575.go cmd/compile: report type loop for invalid recursive types 2020-09-29 22:49:58 +00:00
issue41635.go cmd/compile: change mustHeapAlloc to return a reason why 2020-10-03 13:02:20 +00:00
issue41680.go cmd/compile: fix type checking of "make" arguments 2020-09-28 20:54:13 +00:00
issue41736.go cmd/compile: correct leaf type when "selecting" singleton register-sized struct 2020-10-06 15:37:42 +00:00
issue41780.go cmd/compile: avoid applying ARM CMP->CMN rewrite in unsigned context 2020-10-06 01:14:39 +00:00
issue41872.go cmd/compile: fix incorrect comparison folding 2020-10-08 20:35:54 +00:00
issue42032.go cmd/compile: fix storeType to handle pointers to go:notinheap types 2020-10-27 21:28:53 +00:00
issue42058a.go cmd/compile: use type position for error message in align.go 2020-10-20 02:05:01 +00:00
issue42058b.go cmd/compile: use type position for error message in align.go 2020-10-20 02:05:01 +00:00
issue42075.go cmd/compile: fix ICE in reporting of invalid recursive types 2020-10-19 21:30:43 +00:00
issue42076.go cmd/compile, runtime: store pointers to go:notinheap types indirectly 2020-10-27 21:29:13 +00:00
issue42284.go cmd/compile: fix reassignVisitor 2020-10-30 19:30:44 +00:00