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
d1d879b1
Commit
d1d879b1
authored
Mar 22, 2011
by
Eric Botcazou
Committed by
Eric Botcazou
Mar 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-ada-spec.c (dump_ada_template): Skip non-class instances.
From-SVN: r171283
parent
f2f81d57
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/c-family/ChangeLog
+4
-0
gcc/c-family/c-ada-spec.c
+3
-3
No files found.
gcc/c-family/ChangeLog
View file @
d1d879b1
2011
-
03
-
22
Eric
Botcazou
<
ebotcazou
@adacore
.
com
>
*
c
-
ada
-
spec
.
c
(
dump_ada_template
)
:
Skip
non
-
class
instances
.
2011
-
03
-
17
Kai
Tietz
2011
-
03
-
17
Kai
Tietz
PR
target
/
12171
PR
target
/
12171
...
...
gcc/c-family/c-ada-spec.c
View file @
d1d879b1
...
@@ -1681,8 +1681,8 @@ dump_template_types (pretty_printer *buffer, tree types,
...
@@ -1681,8 +1681,8 @@ dump_template_types (pretty_printer *buffer, tree types,
}
}
}
}
/* Dump in BUFFER the contents of all
instantiations associated with a given
/* Dump in BUFFER the contents of all
class instantiations associated with
template T. CPP_CHECK is used to perform C++ queries on nodes.
a given
template T. CPP_CHECK is used to perform C++ queries on nodes.
SPC is the indentation level. */
SPC is the indentation level. */
static
int
static
int
...
@@ -1701,7 +1701,7 @@ dump_ada_template (pretty_printer *buffer, tree t,
...
@@ -1701,7 +1701,7 @@ dump_ada_template (pretty_printer *buffer, tree t,
if
(
TREE_VEC_LENGTH
(
types
)
==
0
)
if
(
TREE_VEC_LENGTH
(
types
)
==
0
)
break
;
break
;
if
(
!
TYPE_METHODS
(
instance
))
if
(
!
TYPE_
P
(
instance
)
||
!
TYPE_
METHODS
(
instance
))
break
;
break
;
num_inst
++
;
num_inst
++
;
...
...
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