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
1f53ee05
Commit
1f53ee05
authored
32 years ago
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(init_decl_processing): Declare ffs as builtin.
From-SVN: r3201
parent
b52a4b72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gcc/c-decl.c
+6
-2
No files found.
gcc/c-decl.c
View file @
1f53ee05
...
...
@@ -2744,7 +2744,6 @@ init_decl_processing ()
sizetype
,
endlink
))));
/* ``integer_tpe_node'' misspelling corrected: North-Keys 30 Mar 91 */
builtin_function
(
"__builtin_constant_p"
,
int_ftype_int
,
BUILT_IN_CONSTANT_P
,
NULL_PTR
);
...
...
@@ -2768,6 +2767,9 @@ init_decl_processing ()
sizetype
,
endlink
)),
BUILT_IN_ALLOCA
,
"alloca"
);
builtin_function
(
"__builtin_ffs"
,
int_ftype_int
,
BUILT_IN_FFS
,
NULL_PTR
);
/* Define alloca, ffs as builtins.
Declare _exit just to mark it as volatile. */
if
(
!
flag_no_builtin
&&
!
flag_no_nonansi_builtin
)
{
temp
=
builtin_function
(
"alloca"
,
...
...
@@ -2778,6 +2780,9 @@ init_decl_processing ()
BUILT_IN_ALLOCA
,
NULL_PTR
);
/* Suppress error if redefined as a non-function. */
DECL_BUILT_IN_NONANSI
(
temp
)
=
1
;
temp
=
builtin_function
(
"ffs"
,
int_ftype_int
,
BUILT_IN_FFS
,
NULL_PTR
);
/* Suppress error if redefined as a non-function. */
DECL_BUILT_IN_NONANSI
(
temp
)
=
1
;
temp
=
builtin_function
(
"_exit"
,
void_ftype_any
,
NOT_BUILT_IN
,
NULL_PTR
);
TREE_THIS_VOLATILE
(
temp
)
=
1
;
...
...
@@ -2791,7 +2796,6 @@ init_decl_processing ()
NULL_PTR
);
builtin_function
(
"__builtin_labs"
,
long_ftype_long
,
BUILT_IN_LABS
,
NULL_PTR
);
builtin_function
(
"__builtin_ffs"
,
int_ftype_int
,
BUILT_IN_FFS
,
NULL_PTR
);
builtin_function
(
"__builtin_saveregs"
,
build_function_type
(
ptr_type_node
,
NULL_TREE
),
BUILT_IN_SAVEREGS
,
NULL_PTR
);
...
...
This diff is collapsed.
Click to expand it.
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