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
dd36d4e1
Commit
dd36d4e1
authored
Nov 05, 2005
by
Kazu Hirata
Committed by
Kazu Hirata
Nov 05, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl2.c, init.c, typeck.c: Fix comment typos.
From-SVN: r106533
parent
c83eecad
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl2.c
+1
-1
gcc/cp/init.c
+1
-1
gcc/cp/typeck.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
dd36d4e1
2005-11-05 Kazu Hirata <kazu@codesourcery.com>
* decl2.c, init.c, typeck.c: Fix comment typos.
2005-11-04 Richard Guenther <rguenther@suse.de>
PR c++/22487
...
...
gcc/cp/decl2.c
View file @
dd36d4e1
...
...
@@ -2320,7 +2320,7 @@ get_priority_info (int priority)
((!DECL_HAS_INIT_PRIORITY_P (decl) || DECL_INIT_PRIORITY (decl) == 0) \
? DEFAULT_INIT_PRIORITY : DECL_INIT_PRIORITY (decl))
/* Wether a DECL needs a guard to protect it against multiple
/* W
h
ether a DECL needs a guard to protect it against multiple
initialization. */
#define NEEDS_GUARD_P(decl) (TREE_PUBLIC (decl) && (DECL_COMMON (decl) \
...
...
gcc/cp/init.c
View file @
dd36d4e1
...
...
@@ -1604,7 +1604,7 @@ constant_value_1 (tree decl, bool integral_p)
:
(
!
TREE_CONSTANT
(
init
)
/* Do not return an aggregate constant (of which
string literals are a special case), as we do not
want to make inadvert
a
nt copies of such entities,
want to make inadvert
e
nt copies of such entities,
and we must be sure that their addresses are the
same everywhere. */
||
TREE_CODE
(
init
)
==
CONSTRUCTOR
...
...
gcc/cp/typeck.c
View file @
dd36d4e1
...
...
@@ -1858,7 +1858,7 @@ check_template_keyword (tree decl)
DR 228 removed the restriction that the template be a member
template.
DR 96, if accepted would add the further restriction that explcit
DR 96, if accepted would add the further restriction that expl
i
cit
template arguments must be provided if the template keyword is
used, but, as of 2005-10-16, that DR is still in "drafting". If
this DR is accepted, then the semantic checks here can be
...
...
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