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
e1217ac7
Commit
e1217ac7
authored
Oct 14, 2014
by
DJ Delorie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missed bit of previous commit.
From-SVN: r216221
parent
78a7c317
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
gcc/c-family/c-cppbuiltin.c
+14
-13
No files found.
gcc/c-family/c-cppbuiltin.c
View file @
e1217ac7
...
...
@@ -891,22 +891,23 @@ c_cpp_builtins (cpp_reader *pfile)
builtin_define_type_max
(
"__PTRDIFF_MAX__"
,
ptrdiff_type_node
);
builtin_define_type_max
(
"__SIZE_MAX__"
,
size_type_node
);
for
(
i
=
0
;
i
<
NUM_INT_N_ENTS
;
i
++
)
if
(
int_n_enabled_p
[
i
])
{
char
buf
[
35
+
20
+
20
];
if
(
c_dialect_cxx
())
for
(
i
=
0
;
i
<
NUM_INT_N_ENTS
;
i
++
)
if
(
int_n_enabled_p
[
i
])
{
char
buf
[
35
+
20
+
20
];
/* These are used to configure the C++ library. */
/* These are used to configure the C++ library. */
if
(
!
flag_iso
||
int_n_data
[
i
].
bitsize
==
POINTER_SIZE
)
{
sprintf
(
buf
,
"__GLIBCXX_TYPE_INT_N_%d=__int%d"
,
i
,
int_n_data
[
i
].
bitsize
);
cpp_define
(
parse_in
,
buf
);
if
(
!
flag_iso
||
int_n_data
[
i
].
bitsize
==
POINTER_SIZE
)
{
sprintf
(
buf
,
"__GLIBCXX_TYPE_INT_N_%d=__int%d"
,
i
,
int_n_data
[
i
].
bitsize
);
cpp_define
(
parse_in
,
buf
);
sprintf
(
buf
,
"__GLIBCXX_BITSIZE_INT_N_%d=%d"
,
i
,
int_n_data
[
i
].
bitsize
);
cpp_define
(
parse_in
,
buf
);
}
}
sprintf
(
buf
,
"__GLIBCXX_BITSIZE_INT_N_%d=%d"
,
i
,
int_n_data
[
i
].
bitsize
);
cpp_define
(
parse_in
,
buf
);
}
}
/* stdint.h and the testsuite need to know these. */
builtin_define_stdint_macros
();
...
...
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