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
bd5b5c85
Commit
bd5b5c85
authored
Dec 07, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(build_indirect_ref): Don't give warning for dereferencing void * if
evaluation is being skipped. From-SVN: r13235
parent
47ee6837
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
gcc/c-typeck.c
+1
-1
No files found.
gcc/c-typeck.c
View file @
bd5b5c85
...
@@ -1320,7 +1320,7 @@ build_indirect_ref (ptr, errorstring)
...
@@ -1320,7 +1320,7 @@ build_indirect_ref (ptr, errorstring)
error
(
"dereferencing pointer to incomplete type"
);
error
(
"dereferencing pointer to incomplete type"
);
return
error_mark_node
;
return
error_mark_node
;
}
}
if
(
TREE_CODE
(
t
)
==
VOID_TYPE
)
if
(
TREE_CODE
(
t
)
==
VOID_TYPE
&&
skip_evaluation
==
0
)
warning
(
"dereferencing `void *' pointer"
);
warning
(
"dereferencing `void *' pointer"
);
/* We *must* set TREE_READONLY when dereferencing a pointer to const,
/* We *must* set TREE_READONLY when dereferencing a pointer to const,
...
...
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