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
b9704fc5
Commit
b9704fc5
authored
Feb 18, 2007
by
Kazu Hirata
Committed by
Kazu Hirata
Feb 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl.c, tree.c: Fix comment typos.
From-SVN: r122081
parent
ea2c620c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl.c
+2
-2
gcc/cp/tree.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
b9704fc5
2007
-
02
-
18
Kazu
Hirata
<
kazu
@
codesourcery.com
>
*
decl.c
,
tree.c
:
Fix
comment
typos.
2007
-
02
-
15
Andrew
Pinski
<
andrew_pinski
@
playstation.sony.com
>
PR
C
++/
30158
...
...
gcc/cp/decl.c
View file @
b9704fc5
...
...
@@ -1065,7 +1065,7 @@ warn_extern_redeclared_static (tree newdecl, tree olddecl)
/* NEW_DECL is a redeclaration of OLD_DECL; both are functions or
function templates. If their exception specifications do not
match, issue a
n a
diagnostic. */
match, issue a diagnostic. */
static
void
check_redeclaration_exception_specification
(
tree
new_decl
,
...
...
@@ -4729,7 +4729,7 @@ check_initializer (tree decl, tree init, int flags, tree *cleanup)
error
(
"elements of array %q#D have incomplete type"
,
decl
);
return
NULL_TREE
;
}
/* It is not valid to initialize a
n a
VLA. */
/* It is not valid to initialize a VLA. */
if
(
init
&&
((
COMPLETE_TYPE_P
(
type
)
&&
!
TREE_CONSTANT
(
TYPE_SIZE
(
type
)))
||
!
TREE_CONSTANT
(
TYPE_SIZE
(
element_type
))))
...
...
gcc/cp/tree.c
View file @
b9704fc5
...
...
@@ -1033,7 +1033,7 @@ build_qualified_name (tree type, tree scope, tree name, bool template_p)
function. If "f" is a function or function template, "f", "c->f",
"c.f", "C::f", and "f<int>" will all be considered possibly
overloaded functions. Returns 2 if the function is actually
overloaded, i.e., if it is impossible to know the t
he t
ype of the
overloaded, i.e., if it is impossible to know the type of the
function without performing overload resolution. */
int
...
...
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