Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
c36cc670
Commit
c36cc670
authored
Dec 13, 2011
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compiler: Fix multiple conversions to different named slices.
From-SVN: r182293
parent
0f8fa9b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcc/go/gofrontend/expressions.cc
+2
-2
No files found.
gcc/go/gofrontend/expressions.cc
View file @
c36cc670
...
...
@@ -3669,7 +3669,7 @@ Type_conversion_expression::do_get_tree(Translate_context* context)
if
(
e
->
integer_type
()
->
is_unsigned
()
&&
e
->
integer_type
()
->
bits
()
==
8
)
{
static
tree
string_to_byte_array_fndecl
;
tree
string_to_byte_array_fndecl
=
NULL_TREE
;
ret
=
Gogo
::
call_builtin
(
&
string_to_byte_array_fndecl
,
this
->
location
(),
"__go_string_to_byte_array"
,
...
...
@@ -3681,7 +3681,7 @@ Type_conversion_expression::do_get_tree(Translate_context* context)
else
{
go_assert
(
e
==
Type
::
lookup_integer_type
(
"int"
));
static
tree
string_to_int_array_fndecl
;
tree
string_to_int_array_fndecl
=
NULL_TREE
;
ret
=
Gogo
::
call_builtin
(
&
string_to_int_array_fndecl
,
this
->
location
(),
"__go_string_to_int_array"
,
...
...
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