shithub: scc

Download patch

ref: bc320cfd01aa1f4d6fca750dac27cd13b5f49da1
parent: 61425722b9d96bd86e4c7405379f8cc1250669f0
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Oct 3 09:42:10 EDT 2016

[cc1] Fix cc1 tests after 9761a80

--- a/cc1/tests/test002.c
+++ b/cc1/tests/test002.c
@@ -9,7 +9,7 @@
 G8	I	F	"main
 {
 \
-S2	"S	#NC	#N2
+S2	"S	#N8	#N2
 M5	I	"i	#N0
 M6	P	"next	#N2
 A9	S2	"y
--- a/cc1/tests/test030.c
+++ b/cc1/tests/test030.c
@@ -7,12 +7,12 @@
 output:
 G14	I	F	"f1
 {
-S2	"foo	#N24	#N2
+S2	"foo	#N18	#N2
 M3	I	"i	#N0
 M4	I	"j	#N2
 M5	I	"k	#N4
 M7	P	"p	#N6
-M8	J	"v	#NE
+M8	J	"v	#N8
 A9	S2	"f
 A11	P	"p
 A12	I	"n
--- a/cc1/tests/test040.c
+++ b/cc1/tests/test040.c
@@ -8,10 +8,10 @@
 G9	I	F	"main
 {
 \
-S2	"List	#N1C	#N2
+S2	"List	#NC	#N2
 M4	I	"len	#N0
 M6	P	"head	#N2
-M7	P	"back	#N6
+M7	P	"back	#N4
 A10	S2	"List
 	h	A10	M4	.I
 }
--- a/cc1/tests/test043.c
+++ b/cc1/tests/test043.c
@@ -5,7 +5,7 @@
 description: Test for double typedef (taken from plan9 kernel)
 error:
 output:
-S2	"Clock0link	#NC	#N2
+S2	"Clock0link	#N8	#N2
 M6	P	"clock	#N0
 M8	P	"link	#N2
 G9	S2	"cl0