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
7df87825
Commit
7df87825
authored
May 05, 2003
by
Kriang Lerdsuwanakij
Committed by
Kriang Lerdsuwanakij
May 05, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl.c: Fix typos.
From-SVN: r66477
parent
4b41d9eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl.c
+3
-3
No files found.
gcc/cp/ChangeLog
View file @
7df87825
2003
-
05
-
05
Kriang
Lerdsuwanakij
<
lerdsuwa
@
users.sourceforge.net
>
2003
-
05
-
05
Kriang
Lerdsuwanakij
<
lerdsuwa
@
users.sourceforge.net
>
*
decl.c
:
Fix
typos.
2003
-
05
-
05
Kriang
Lerdsuwanakij
<
lerdsuwa
@
users.sourceforge.net
>
PR
c
++/
4494
PR
c
++/
4494
*
decl.c
(
start_function
):
Use
same_type_p
to
check
return
type
*
decl.c
(
start_function
):
Use
same_type_p
to
check
return
type
of
main.
of
main.
...
...
gcc/cp/decl.c
View file @
7df87825
...
@@ -1392,7 +1392,7 @@ poplevel (int keep, int reverse, int functionbody)
...
@@ -1392,7 +1392,7 @@ poplevel (int keep, int reverse, int functionbody)
there only for backward compatibility. */
there only for backward compatibility. */
DECL_DEAD_FOR_LOCAL
(
link
)
=
1
;
DECL_DEAD_FOR_LOCAL
(
link
)
=
1
;
/* Keep track of what should of have happen
n
ed when we
/* Keep track of what should of have happened when we
popped the binding. */
popped the binding. */
if
(
outer_binding
&&
BINDING_VALUE
(
outer_binding
))
if
(
outer_binding
&&
BINDING_VALUE
(
outer_binding
))
DECL_SHADOWED_FOR_VAR
(
link
)
DECL_SHADOWED_FOR_VAR
(
link
)
...
@@ -2950,7 +2950,7 @@ duplicate_decls (tree newdecl, tree olddecl)
...
@@ -2950,7 +2950,7 @@ duplicate_decls (tree newdecl, tree olddecl)
SET_DECL_RTL
(
olddecl
,
DECL_RTL
(
newdecl
));
SET_DECL_RTL
(
olddecl
,
DECL_RTL
(
newdecl
));
}
}
/* Even if the types match, prefer the new declarations type
/* Even if the types match, prefer the new declarations type
for an
it
ipated built-ins, for exception lists, etc... */
for an
tic
ipated built-ins, for exception lists, etc... */
else
if
(
DECL_ANTICIPATED
(
olddecl
))
else
if
(
DECL_ANTICIPATED
(
olddecl
))
TREE_TYPE
(
olddecl
)
=
TREE_TYPE
(
newdecl
);
TREE_TYPE
(
olddecl
)
=
TREE_TYPE
(
newdecl
);
...
@@ -3242,7 +3242,7 @@ duplicate_decls (tree newdecl, tree olddecl)
...
@@ -3242,7 +3242,7 @@ duplicate_decls (tree newdecl, tree olddecl)
&&
TYPE_LANG_SPECIFIC
(
newtype
)
&&
TYPE_LANG_SPECIFIC
(
oldtype
))
&&
TYPE_LANG_SPECIFIC
(
newtype
)
&&
TYPE_LANG_SPECIFIC
(
oldtype
))
CLASSTYPE_FRIEND_CLASSES
(
newtype
)
CLASSTYPE_FRIEND_CLASSES
(
newtype
)
=
CLASSTYPE_FRIEND_CLASSES
(
oldtype
);
=
CLASSTYPE_FRIEND_CLASSES
(
oldtype
);
\
DECL_ORIGINAL_TYPE
(
newdecl
)
=
DECL_ORIGINAL_TYPE
(
olddecl
);
DECL_ORIGINAL_TYPE
(
newdecl
)
=
DECL_ORIGINAL_TYPE
(
olddecl
);
}
}
...
...
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