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
e8c24600
Commit
e8c24600
authored
Sep 19, 2013
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compiler: Fix inconsistent check for structs using memcmp for ==.
Test is bug479. From-SVN: r202751
parent
8928eff3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
5 deletions
+1
-5
gcc/go/gofrontend/expressions.cc
+0
-2
gcc/go/gofrontend/types.cc
+1
-3
No files found.
gcc/go/gofrontend/expressions.cc
View file @
e8c24600
...
@@ -7752,8 +7752,6 @@ Builtin_call_expression::do_numeric_constant_value(Numeric_constant* nc) const
...
@@ -7752,8 +7752,6 @@ Builtin_call_expression::do_numeric_constant_value(Numeric_constant* nc) const
return
false
;
return
false
;
if
(
arg_type
->
is_abstract
())
if
(
arg_type
->
is_abstract
())
return
false
;
return
false
;
if
(
arg_type
->
named_type
()
!=
NULL
)
arg_type
->
named_type
()
->
convert
(
this
->
gogo_
);
unsigned
int
ret
;
unsigned
int
ret
;
if
(
this
->
code_
==
BUILTIN_SIZEOF
)
if
(
this
->
code_
==
BUILTIN_SIZEOF
)
...
...
gcc/go/gofrontend/types.cc
View file @
e8c24600
...
@@ -2288,9 +2288,7 @@ Type::is_backend_type_size_known(Gogo* gogo)
...
@@ -2288,9 +2288,7 @@ Type::is_backend_type_size_known(Gogo* gogo)
}
}
case
TYPE_NAMED
:
case
TYPE_NAMED
:
// Begin converting this type to the backend representation.
this
->
named_type
()
->
convert
(
gogo
);
// This will create a placeholder if necessary.
this
->
get_backend
(
gogo
);
return
this
->
named_type
()
->
is_named_backend_type_size_known
();
return
this
->
named_type
()
->
is_named_backend_type_size_known
();
case
TYPE_FORWARD
:
case
TYPE_FORWARD
:
...
...
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