go/test/fixedbugs
Jamie Gennis fff732ea2c 6g,8g: make constant propagation inlining-friendly.
This changes makes constant propagation compare 'from' values using node
pointers rather than symbol names when checking to see whether a set
operation is redundant. When a function is inlined multiple times in a
calling function its arguments will share symbol names even though the values
are different. Prior to this fix the bug409 test would hit a case with 6g
where an LEAQ instruction was incorrectly eliminated from the second inlined
function call. 8g appears to have had the same bug, but the test did not fail
there.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5646044
2012-02-08 10:25:13 -05:00
..
bug083.dir
bug088.dir
bug106.dir
bug133.dir
bug160.dir
bug191.dir
bug222.dir test: Add the usual Copyright notice. 2012-01-24 14:48:15 -05:00
bug248.dir test: Add the usual Copyright notice. 2012-01-24 14:48:15 -05:00
bug282.dir
bug302.dir
bug306.dir
bug313.dir
bug322.dir gc: relax assignability of method receivers 2011-05-24 19:48:19 -04:00
bug324.dir
bug335.dir gc: fix import width bug 2011-04-25 12:08:48 -04:00
bug345.dir test: match gccgo error messages for bug345 2012-01-17 18:00:34 -08:00
bug367.dir test: Add the usual Copyright notice. 2012-01-24 14:48:15 -05:00
bug369.dir 5g, 6g, 8g: registerize variables again 2011-10-03 17:46:36 -04:00
bug377.dir test: Add the usual Copyright notice. 2012-01-24 14:48:15 -05:00
bug382.dir gc: fix use of stackallocated AST node in generation of static initialisation code. 2011-12-13 09:09:10 +01:00
bug392.dir gc: don't print implicit type on struct literal in export 2012-02-06 12:19:59 +01:00
bug396.dir gc: fieldnames in structliterals in exported inlines should not be qualified if they're embedded builtin types. 2012-01-18 17:51:28 +01:00
bug404.dir test: add import test that caused an incorrect gccgo error 2012-02-02 11:04:09 -08:00
bug407.dir cmd/gc: another special (%hhS) case for method names. 2012-02-06 16:38:59 +01: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 test: explicitly use variables to avoid gccgo "not used" error 2012-01-22 11:50:45 -08:00
bug015.go
bug016.go
bug017.go
bug020.go
bug021.go
bug022.go
bug023.go
bug024.go
bug026.go
bug027.go test: change several tests to not print 2012-01-18 14:31:31 -08:00
bug028.go
bug030.go
bug031.go
bug035.go
bug036.go
bug037.go
bug038.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 test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
bug064.go
bug065.go
bug066.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
bug067.go test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
bug068.go
bug069.go
bug070.go test: change several tests to not print 2012-01-18 14:31:31 -08:00
bug071.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
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 test: silence/coalesce some tests 2011-09-26 19:35:21 -04:00
bug094.go
bug096.go
bug097.go
bug098.go
bug099.go
bug101.go
bug102.go
bug103.go
bug104.go
bug106.go
bug107.go test: make bug107 os.Error-proof 2011-10-31 17:50:38 -04:00
bug108.go test: explicitly use variables to avoid gccgo "not used" error 2012-01-22 11:50:45 -08:00
bug109.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
bug110.go
bug111.go
bug112.go
bug113.go test: silence/coalesce some tests 2011-09-26 19:35:21 -04:00
bug114.go
bug115.go
bug116.go
bug117.go
bug118.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
bug119.go
bug120.go use new strconv API 2011-12-05 15:48:46 -05:00
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 respect goto restrictions 2011-06-17 06:07:13 -04:00
bug141.go gc: detect type switch variable not used cases. 2011-11-04 17:03:50 +01:00
bug142.go
bug143.go
bug144.go
bug145.go
bug146.go
bug147.go
bug148.go test: silence/coalesce some tests 2011-09-26 19:35:21 -04:00
bug149.go
bug150.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
bug151.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
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
bug174.go
bug175.go test: explicitly use variables to avoid gccgo "not used" error 2012-01-22 11:50:45 -08:00
bug176.go
bug177.go fix tree for reflect rename 2011-04-25 13:39:36 -04:00
bug178.go respect goto restrictions 2011-06-17 06:07:13 -04:00
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 test: match gccgo error messages 2012-01-26 23:06:47 -08:00
bug196.go
bug197.go
bug198.go
bug199.go
bug200.go gc: detect type switch variable not used cases. 2011-11-04 17:03:50 +01:00
bug201.go
bug202.go
bug203.go
bug204.go cgo, goyacc, go/build, html, http, path, path/filepath, testing/quick, test: use rune 2011-10-25 22:20:02 -07:00
bug205.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
bug206.go
bug207.go
bug208.go
bug209.go
bug211.go
bug212.go
bug213.go gc: detect type switch variable not used cases. 2011-11-04 17:03:50 +01:00
bug214.go
bug215.go
bug216.go
bug217.go
bug218.go
bug219.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
bug221.go
bug222.go
bug223.go
bug224.go
bug225.go
bug227.go
bug228.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
bug229.go testing: allow benchmarks to print and fail 2011-12-20 09:51:39 -08:00
bug230.go
bug231.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
bug232.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
bug233.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
bug234.go
bug235.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
bug236.go
bug237.go
bug238.go gc: implement goto restriction 2011-06-17 15:25:05 -04:00
bug239.go
bug240.go
bug241.go
bug242.go gc: remove m[k] = x, false 2011-11-11 16:48:25 -05:00
bug243.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
bug244.go
bug245.go
bug246.go
bug247.go
bug248.go
bug249.go
bug250.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
bug251.go test: match gccgo error messages 2012-01-26 23:06:47 -08:00
bug252.go
bug253.go
bug254.go
bug255.go
bug256.go
bug257.go Add a []byte argument to hash.Hash to allow an allocation to be saved. 2011-12-01 12:35:37 -05:00
bug258.go
bug259.go
bug260.go test: Add the usual Copyright notice. 2012-01-24 14:48:15 -05:00
bug261.go
bug262.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
bug263.go
bug264.go
bug265.go
bug266.go
bug267.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
bug269.go
bug271.go
bug272.go
bug273.go gc: zero-width struct, zero-length array fixes 2011-07-27 16:47:45 -04:00
bug274.go gc: line number + type checking nits 2011-07-28 12:31:16 -04:00
bug275.go
bug276.go
bug277.go
bug278.go
bug279.go
bug280.go
bug281.go
bug282.go
bug283.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
bug284.go
bug285.go gc: remove func, map compare 2011-11-13 22:58:08 -05:00
bug286.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
bug287.go
bug288.go
bug289.go
bug290.go
bug291.go
bug292.go
bug293.go
bug294.go
bug295.go
bug296.go
bug297.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
bug298.go gc: line number + type checking nits 2011-07-28 12:31:16 -04:00
bug299.go
bug300.go
bug301.go
bug302.go build: rename $GOROOT/bin/go-tool to $GOROOT/bin/tool. 2012-02-02 23:32:41 -05:00
bug303.go
bug304.go
bug305.go
bug306.go
bug307.go
bug308.go
bug309.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
bug311.go
bug312.go
bug313.go
bug314.go
bug315.go
bug316.go
bug317.go
bug318.go
bug319.go
bug320.go
bug321.go
bug322.go gc: relax assignability of method receivers 2011-05-24 19:48:19 -04:00
bug323.go
bug324.go
bug325.go
bug326.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
bug327.go
bug328.go test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
bug328.out test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
bug329.go
bug330.go test: match gccgo error messages for bug330.go. 2011-09-16 18:28:57 -07:00
bug331.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
bug332.go
bug333.go gc: fix conversion of user-defined string type to []byte 2011-04-23 10:55:32 -04:00
bug334.go gc: allow complex types to be receiver types 2011-04-25 12:02:54 -04:00
bug335.go gc: fix import width bug 2011-04-25 12:08:48 -04:00
bug336.go gc: correctly handle fields of pointer type to recursive forward references 2011-04-28 00:13:49 -04:00
bug337.go test: match gccgo error message for bug337.go 2011-09-20 09:31:07 -07:00
bug338.go gc: fix unsafe.Sizeof 2011-05-10 17:00:15 -04:00
bug339.go gc: fix unsafe.Sizeof 2011-05-10 17:00:15 -04:00
bug340.go gc: Better typechecks and errors in switches. 2011-11-09 10:58:53 +01:00
bug341.go 8g: fix conversion from float to uint64 2011-05-16 22:14:56 -04:00
bug342.go gc: check parameter declarations in interface fields 2011-05-31 13:41:32 -04:00
bug343.go gc: fix m[x], _ = y.(T) 2011-05-31 15:52:04 -04:00
bug344.go test: match gccgo error messages for goto.go and bug344.go 2011-09-20 14:45:54 -07:00
bug345.go gc: avoid package name ambiguity in error messages 2011-06-27 18:44:30 -04:00
bug346.go gc: fix closure bug 2011-07-14 18:13:39 +02:00
bug347.go gc: fix select line number 2011-07-26 00:52:17 -04:00
bug348.go gc, runtime: fix range+panic line number bugs 2011-07-26 00:52:46 -04:00
bug349.go test: match gccgo error messages for bug349.go 2011-09-20 14:47:48 -07:00
bug350.go test: match gccgo error messages 2011-09-23 21:23:40 -07:00
bug351.go test: match gccgo error messages 2011-09-23 21:23:40 -07:00
bug352.go gc: zero-width struct, zero-length array fixes 2011-07-27 16:47:45 -04:00
bug353.go test: match gccgo error messages 2011-09-20 16:47:17 -07:00
bug354.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
bug355.go gc: top-level closure bug 2011-07-27 19:31:11 -04:00
bug356.go 5g, 6g, 8g: shift, opt fixes 2011-07-28 18:22:12 -04:00
bug357.go test: match gccgo error messages 2011-09-20 16:47:17 -07:00
bug358.go renaming_1: hand-edited files for go 1 renaming 2011-11-08 15:38:47 -08:00
bug361.go gc: another width test 2011-07-28 12:32:43 -04:00
bug362.go test: match gccgo error messages 2011-09-20 16:47:17 -07:00
bug363.go test: explicitly use variables to avoid gccgo "not used" error 2012-01-22 11:50:45 -08:00
bug364.go test: fix bug364 to actually run 2012-01-17 18:00:11 -08:00
bug365.go test: error-related fixes 2011-10-27 19:41:39 -07:00
bug366.go gc: fix div bug 2011-08-30 08:47:28 -04:00
bug367.go gc: 0 expected bugs 2011-12-09 14:58:28 -05:00
bug368.go 5g: fix -f() 2011-09-29 12:09:46 -04:00
bug369.go Fix build, disabling flaky registerization test. 2011-10-03 17:25:55 -07:00
bug370.go runtime: fix spurious deadlock reporting 2011-10-06 18:10:14 +03:00
bug371.go gc: helpful message instead of internal error on method call on pointer to pointer. 2011-11-02 17:18:53 +01:00
bug372.go gc: Don't pollute the xmethod list with non-methods. 2011-11-03 17:51:15 +01:00
bug373.go gc: detect type switch variable not used cases. 2011-11-04 17:03:50 +01:00
bug374.go test: match gccgo error messages 2012-01-26 23:06:47 -08:00
bug375.go gc: Better typechecks and errors in switches. 2011-11-09 10:58:53 +01:00
bug376.go gc: better error for non-calling use of unsafe builtins. 2011-11-09 18:30:54 +01:00
bug377.go gofmt: do not stop test.sh after 1 error 2011-11-16 18:44:21 -05:00
bug378.go gc: fix copying of types 2011-11-28 11:52:16 -05:00
bug379.go gc: keep pointer to original node in constant rewrites. 2011-12-07 16:18:50 -05:00
bug380.go gc: fix spurious typecheck loop in &composite literal 2011-12-07 15:48:55 -05:00
bug381.go gc: use original constant expression in error messages. 2012-01-29 10:35:11 +01:00
bug382.go test: Add the usual Copyright notice. 2012-01-24 14:48:15 -05:00
bug383.go test: match gccgo error messages 2012-01-26 23:06:47 -08:00
bug384.go gc: suppress non-root cause message for bad receivers. 2011-12-14 08:21:37 +01:00
bug385_32.go test: fix bug headers 2012-02-03 15:22:19 -05:00
bug385_64.go test: fix bug headers 2012-02-03 15:22:19 -05:00
bug386.go test: match gccgo error messages 2012-01-26 23:06:47 -08:00
bug387.go gc: add forgotten typecheck in a lonely corner of sinit 2011-12-14 15:54:10 +01:00
bug388.go test: match gccgo error messages 2012-01-26 23:06:47 -08:00
bug389.go test: match gccgo error messages 2012-01-26 23:06:47 -08:00
bug390.go test: match gccgo error messages 2012-01-26 23:06:47 -08:00
bug391.go gc: remove now redundant typecheck of ->ninit on switches. 2012-01-09 21:42:24 +01:00
bug392.go gc: fix inlining bug 2012-01-11 13:21:06 -08:00
bug393.go test: don't use package main for files without a main function 2012-02-03 11:43:24 -08:00
bug394.go test: match gccgo error messages 2012-01-26 23:06:47 -08:00
bug396.go gc: fieldnames in structliterals in exported inlines should not be qualified if they're embedded builtin types. 2012-01-18 17:51:28 +01:00
bug397.go test: match gccgo error messages 2012-01-26 23:06:47 -08:00
bug398.go gc: fix recursion loop in interface comparison 2012-01-23 09:19:02 -05:00
bug399.go gc: missed typecheck in subscripting a const string. 2012-01-23 16:57:12 +01:00
bug401.go gc: fix order of evaluation 2012-01-25 17:53:50 -05:00
bug402.go test: float to integer test case 2012-01-30 21:39:38 -08:00
bug403.go test: add test which crashed gccgo compiler 2012-01-31 16:19:25 -08:00
bug404.go test: add import test that caused an incorrect gccgo error 2012-02-02 11:04:09 -08:00
bug405.go test: fix copyright year in new test case 2012-02-03 17:36:48 -08:00
bug406.go cmd/gc: fix codegen reordering for expressions involving && and || 2012-02-06 15:41:01 +01:00
bug407.go cmd/gc: another special (%hhS) case for method names. 2012-02-06 16:38:59 +01:00
bug409.go 6g,8g: make constant propagation inlining-friendly. 2012-02-08 10:25:13 -05:00
bug409.out 6g,8g: make constant propagation inlining-friendly. 2012-02-08 10:25:13 -05:00
bug1515.go