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
eb8e7cb1
Commit
eb8e7cb1
authored
Nov 01, 2010
by
Nathan Froyd
Committed by
Nathan Froyd
Nov 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree.c (build_vector_from_val): Use useless_type_conversion_p.
From-SVN: r166136
parent
7e3f24b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/tree.c
+2
-2
No files found.
gcc/ChangeLog
View file @
eb8e7cb1
2010
-
11
-
01
Nathan
Froyd
<
froydnj
@codesourcery
.
com
>
*
tree
.
c
(
build_vector_from_val
)
:
Use
useless_type_conversion_p
.
2010
-
11
-
01
Jakub
Jelinek
<
jakub
@redhat
.
com
>
PR
target
/
45250
gcc/tree.c
View file @
eb8e7cb1
...
...
@@ -1376,8 +1376,8 @@ build_vector_from_val (tree vectype, tree sc)
if
(
sc
==
error_mark_node
)
return
sc
;
gcc_assert
(
lang_hooks
.
types_compatible
_p
(
TREE_TYPE
(
sc
),
TREE_TYPE
(
vectype
)));
gcc_assert
(
useless_type_conversion
_p
(
TREE_TYPE
(
sc
),
TREE_TYPE
(
vectype
)));
v
=
VEC_alloc
(
constructor_elt
,
gc
,
nunits
);
for
(
i
=
0
;
i
<
nunits
;
++
i
)
...
...
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