Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
f0023cf1
Commit
f0023cf1
authored
Feb 14, 2014
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/gc: fix build for 'default unsigned char' compilers
TBR=iant CC=golang-codereviews
https://golang.org/cl/63680045
parent
6a9b9888
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
plive.c
src/cmd/gc/plive.c
+1
-1
popt.c
src/cmd/gc/popt.c
+1
-1
No files found.
src/cmd/gc/plive.c
View file @
f0023cf1
...
@@ -521,7 +521,7 @@ newcfg(Prog *firstp)
...
@@ -521,7 +521,7 @@ newcfg(Prog *firstp)
// Stop before an unreachable RET, to avoid creating
// Stop before an unreachable RET, to avoid creating
// unreachable control flow nodes.
// unreachable control flow nodes.
if
(
p
->
link
!=
nil
&&
p
->
link
->
as
==
ARET
&&
p
->
link
->
mode
==
-
1
)
if
(
p
->
link
!=
nil
&&
p
->
link
->
as
==
ARET
&&
p
->
link
->
mode
==
1
)
break
;
break
;
// Collect basic blocks with selectgo calls.
// Collect basic blocks with selectgo calls.
...
...
src/cmd/gc/popt.c
View file @
f0023cf1
...
@@ -155,7 +155,7 @@ fixjmp(Prog *firstp)
...
@@ -155,7 +155,7 @@ fixjmp(Prog *firstp)
// this assumption will not hold in the case of an infinite loop
// this assumption will not hold in the case of an infinite loop
// at the end of a function.
// at the end of a function.
// Keep the RET but mark it dead for the liveness analysis.
// Keep the RET but mark it dead for the liveness analysis.
p
->
mode
=
-
1
;
p
->
mode
=
1
;
}
else
{
}
else
{
if
(
debug
[
'R'
]
&&
debug
[
'v'
])
if
(
debug
[
'R'
]
&&
debug
[
'v'
])
print
(
"del %P
\n
"
,
p
);
print
(
"del %P
\n
"
,
p
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment