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
68bd6dd6
Commit
68bd6dd6
authored
May 21, 2002
by
Andreas Jaeger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cppinit.c (sanity_checks): Avoid printf mismatch warnings.
From-SVN: r53694
parent
35a76aac
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
gcc/ChangeLog
+4
-0
gcc/cppinit.c
+6
-4
No files found.
gcc/ChangeLog
View file @
68bd6dd6
2002-05-21 Andreas Jaeger <aj@suse.de>
* cppinit.c (sanity_checks): Avoid printf mismatch warnings.
2002-05-21 Richard Henderson <rth@redhat.com>
2002-05-21 Richard Henderson <rth@redhat.com>
* reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
* reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
...
...
gcc/cppinit.c
View file @
68bd6dd6
...
@@ -858,8 +858,9 @@ static void sanity_checks (pfile)
...
@@ -858,8 +858,9 @@ static void sanity_checks (pfile)
if
(
CPP_OPTION
(
pfile
,
precision
)
>
BITS_PER_HOST_WIDEST_INT
)
if
(
CPP_OPTION
(
pfile
,
precision
)
>
BITS_PER_HOST_WIDEST_INT
)
cpp_error
(
pfile
,
DL_FATAL
,
cpp_error
(
pfile
,
DL_FATAL
,
"preprocessor arithmetic has maximum precision of %u bits; target requires %u bits"
,
"preprocessor arithmetic has maximum precision of %lu bits; target requires %lu bits"
,
BITS_PER_HOST_WIDEST_INT
,
CPP_OPTION
(
pfile
,
precision
));
(
unsigned
long
)
BITS_PER_HOST_WIDEST_INT
,
(
unsigned
long
)
CPP_OPTION
(
pfile
,
precision
));
if
(
CPP_OPTION
(
pfile
,
precision
)
<
CPP_OPTION
(
pfile
,
int_precision
))
if
(
CPP_OPTION
(
pfile
,
precision
)
<
CPP_OPTION
(
pfile
,
int_precision
))
cpp_error
(
pfile
,
DL_FATAL
,
cpp_error
(
pfile
,
DL_FATAL
,
...
@@ -878,8 +879,9 @@ static void sanity_checks (pfile)
...
@@ -878,8 +879,9 @@ static void sanity_checks (pfile)
if
(
CPP_OPTION
(
pfile
,
wchar_precision
)
>
BITS_PER_CPPCHAR_T
)
if
(
CPP_OPTION
(
pfile
,
wchar_precision
)
>
BITS_PER_CPPCHAR_T
)
cpp_error
(
pfile
,
DL_FATAL
,
cpp_error
(
pfile
,
DL_FATAL
,
"CPP on this host cannot handle wide character constants over %u bits, but the target requires %u bits"
,
"CPP on this host cannot handle wide character constants over %lu bits, but the target requires %lu bits"
,
BITS_PER_CPPCHAR_T
,
CPP_OPTION
(
pfile
,
wchar_precision
));
(
unsigned
long
)
BITS_PER_CPPCHAR_T
,
(
unsigned
long
)
CPP_OPTION
(
pfile
,
wchar_precision
));
}
}
#else
#else
# define sanity_checks(PFILE)
# define sanity_checks(PFILE)
...
...
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