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
c67a1c46
Commit
c67a1c46
authored
Sep 21, 2009
by
Jason Merrill
Committed by
Jason Merrill
Sep 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* name-lookup.c (push_class_level_binding): Sanity check.
From-SVN: r151931
parent
4b51caf2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
gcc/cp/ChangeLog
+4
-0
gcc/cp/name-lookup.c
+3
-0
No files found.
gcc/cp/ChangeLog
View file @
c67a1c46
2009-09-21 Jason Merrill <jason@redhat.com>
* name-lookup.c (push_class_level_binding): Sanity check.
2009-09-18 Jason Merrill <jason@redhat.com>
* decl2.c (determine_visibility): Make anonymous types internal.
...
...
gcc/cp/name-lookup.c
View file @
c67a1c46
...
...
@@ -2751,6 +2751,9 @@ push_class_level_binding (tree name, tree x)
/* Check for invalid member names. */
gcc_assert
(
TYPE_BEING_DEFINED
(
current_class_type
));
/* Check that we're pushing into the right binding level. */
gcc_assert
(
current_class_type
==
class_binding_level
->
this_entity
);
/* We could have been passed a tree list if this is an ambiguous
declaration. If so, pull the declaration out because
check_template_shadow will not handle a TREE_LIST. */
...
...
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