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
6efd8160
Commit
6efd8160
authored
May 06, 2000
by
Richard Henderson
Committed by
Richard Henderson
May 06, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-typeck.c (build_c_cast): Remove dead code.
From-SVN: r33739
parent
02a749ec
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
gcc/ChangeLog
+4
-0
gcc/c-typeck.c
+0
-5
No files found.
gcc/ChangeLog
View file @
6efd8160
2000
-
05
-
06
Richard
Henderson
<
rth
@cygnus
.
com
>
*
c
-
typeck
.
c
(
build_c_cast
)
:
Remove
dead
code
.
2000
-
05
-
06
Richard
Henderson
<
rth
@cygnus
.
com
>
*
flow
.
c
(
split_edge
)
:
Don
'
t
allocate
global_live_at_start
for
the
new
block
unless
the
old
blocks
had
them
as
well
.
...
...
gcc/c-typeck.c
View file @
6efd8160
...
...
@@ -3702,11 +3702,6 @@ build_c_cast (type, expr)
if
(
TREE_CODE
(
type
)
==
POINTER_TYPE
&&
TREE_CODE
(
otype
)
==
INTEGER_TYPE
&&
TYPE_PRECISION
(
type
)
!=
TYPE_PRECISION
(
otype
)
#if 0
/* Don't warn about converting 0 to pointer,
provided the 0 was explicit--not cast or made by folding. */
&& !(TREE_CODE (value) == INTEGER_CST && integer_zerop (value))
#endif
/* Don't warn about converting any constant. */
&&
!
TREE_CONSTANT
(
value
))
warning
(
"cast to pointer from integer of different size"
);
...
...
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