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
2a13575e
Commit
2a13575e
authored
Jun 14, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(format_char_info, case 'm'): Set type to void.
(check_format_info): If type is void, ignore operand. From-SVN: r9954
parent
f7ca2fe7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
gcc/c-common.c
+4
-1
No files found.
gcc/c-common.c
View file @
2a13575e
...
...
@@ -693,7 +693,7 @@ static format_char_info print_char_table[] = {
{
"u"
,
0
,
T_UI
,
T_UI
,
T_UL
,
T_ULL
,
T_ULL
,
"-wp0"
},
/* Two GNU extensions. */
{
"Z"
,
0
,
T_ST
,
NULL
,
NULL
,
NULL
,
NULL
,
"-wp0"
},
{
"m"
,
0
,
T_
UI
,
T_UI
,
T_U
L
,
NULL
,
NULL
,
"-wp"
},
{
"m"
,
0
,
T_
V
,
NULL
,
NUL
L
,
NULL
,
NULL
,
"-wp"
},
{
"feEgG"
,
0
,
T_D
,
NULL
,
NULL
,
NULL
,
T_LD
,
"-wp0 +#"
},
{
"c"
,
0
,
T_I
,
NULL
,
T_W
,
NULL
,
NULL
,
"-w"
},
{
"C"
,
0
,
T_W
,
NULL
,
NULL
,
NULL
,
NULL
,
"-w"
},
...
...
@@ -1194,6 +1194,9 @@ check_format_info (info, params)
/* Finally. . .check type of argument against desired type! */
if
(
info
->
first_arg_num
==
0
)
continue
;
if
(
fci
->
pointer_count
==
0
&&
wanted_type
==
void_type_node
)
/* This specifier takes no argument. */
continue
;
if
(
params
==
0
)
{
warning
(
tfaff
);
...
...
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