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
39b751ce
Commit
39b751ce
authored
Oct 19, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(check_format_info): Make test for null pointer more general.
From-SVN: r10479
parent
7bd7a756
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
gcc/c-common.c
+1
-1
No files found.
gcc/c-common.c
View file @
39b751ce
...
...
@@ -874,7 +874,7 @@ check_format_info (info, params)
/* We can only check the format if it's a string constant. */
while
(
TREE_CODE
(
format_tree
)
==
NOP_EXPR
)
format_tree
=
TREE_OPERAND
(
format_tree
,
0
);
/* strip coercion */
if
(
format_tree
==
null_pointer_node
)
if
(
integer_zerop
(
format_tree
)
)
{
warning
(
"null format string"
);
return
;
...
...
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