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
72f5a12b
Commit
72f5a12b
authored
Apr 25, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(finish_decl): Redo last change.
From-SVN: r7156
parent
094ecbb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
gcc/c-decl.c
+8
-8
No files found.
gcc/c-decl.c
View file @
72f5a12b
...
@@ -3412,13 +3412,9 @@ finish_decl (decl, init, asmspec_tree)
...
@@ -3412,13 +3412,9 @@ finish_decl (decl, init, asmspec_tree)
int
temporary
=
allocation_temporary_p
();
int
temporary
=
allocation_temporary_p
();
char
*
asmspec
=
0
;
char
*
asmspec
=
0
;
/* If a name was specified, get the string. Then reset DECL_RTL
/* If a name was specified, get the string. */
so that we will remake it with the new name. */
if
(
asmspec_tree
)
if
(
asmspec_tree
)
{
asmspec
=
TREE_STRING_POINTER
(
asmspec_tree
);
asmspec
=
TREE_STRING_POINTER
(
asmspec_tree
);
DECL_RTL
(
decl
)
=
0
;
}
/* If `start_decl' didn't like having an initialization, ignore it now. */
/* If `start_decl' didn't like having an initialization, ignore it now. */
...
@@ -3539,9 +3535,13 @@ finish_decl (decl, init, asmspec_tree)
...
@@ -3539,9 +3535,13 @@ finish_decl (decl, init, asmspec_tree)
}
}
/* If this is a function and an assembler name is specified, it isn't
/* If this is a function and an assembler name is specified, it isn't
builtin any more. */
builtin any more. Also reset DECL_RTL so we can give it its new
name. */
if
(
TREE_CODE
(
decl
)
==
FUNCTION_DECL
&&
asmspec
)
if
(
TREE_CODE
(
decl
)
==
FUNCTION_DECL
&&
asmspec
)
DECL_BUILT_IN
(
decl
)
=
0
;
{
DECL_BUILT_IN
(
decl
)
=
0
;
DECL_RTL
(
decl
)
=
0
;
}
/* Output the assembler code and/or RTL code for variables and functions,
/* Output the assembler code and/or RTL code for variables and functions,
unless the type is an undefined structure or union.
unless the type is an undefined structure or union.
...
...
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